1
0
forked from pool/SDL_Pango
SDL_Pango/SDL_Pango.spec

88 lines
1.9 KiB
RPMSpec

#
# spec file for package SDL_Pango (Version 0.1.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: SDL_Pango
BuildRequires: SDL-devel fontconfig-devel freetype2-devel pango-devel pkgconfig
Url: http://sdlpango.sourceforge.net/
License: LGPL v2.1 or later
Group: System/Libraries
AutoReqProv: on
Version: 0.1.2
Release: 108
Summary: Programming Pango via SDL
Source: %{name}-%{version}.tar.gz
Patch: %{name}-0.1.2-API-adds.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Pango is the text rendering engine of GNOME 2.x. SDL_Pango connects the
engine to SDL.
Authors:
--------
NAKAMURA Ken'ichi
%package devel
Summary: Include Files and Libraries mandatory for Development.
Group: System/Libraries
Requires: %{name} = %{version}
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
NAKAMURA Ken'ichi
%prep
%setup -q
%patch
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%_libdir
make 2>&1 | grep -v 767
%install
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
/usr/%{_lib}/libSDL_Pango.so.1
/usr/%{_lib}/libSDL_Pango.so.1.1.0
%files devel
%defattr(-,root,root)
/usr/include/SDL_Pango.h
/usr/%{_lib}/pkgconfig/SDL_Pango.pc
/usr/%{_lib}/libSDL_Pango.a
/usr/%{_lib}/libSDL_Pango.la
/usr/%{_lib}/libSDL_Pango.so
%changelog
* Thu Dec 27 2007 - crrodriguez@suse.de
- fix library-without-ldconfig-* errors
* Sun Oct 29 2006 - sndirsch@suse.de
- created package