84 lines
2.5 KiB
RPMSpec
84 lines
2.5 KiB
RPMSpec
|
Name: libSDL_Pango
|
||
|
Version: 0.1.2
|
||
|
Release: 4mamba
|
||
|
Summary: Rendering of internationalized text for SDL (Simple DirectMedia Layer)
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Tiziana Ferro <tiziana.ferro@email.it>
|
||
|
URL: http://sdlpango.sourceforge.net/
|
||
|
#Source: http://downloads.sourceforge.net/sdlpango/SDL_Pango-%{version}.tar.gz
|
||
|
Source0: http://dl.sf.net/sdlpango/SDL_Pango-%{version}.tar.gz
|
||
|
Patch0: SDL_Pango-0.1.2-API-adds.patch
|
||
|
License: LGPL
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libfontconfig-devel
|
||
|
BuildRequires: libfreetype-devel
|
||
|
BuildRequires: libglib-devel
|
||
|
BuildRequires: libpango-devel
|
||
|
BuildRequires: libSDL-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%description
|
||
|
Pango is the text rendering engine of GNOME 2. SDL_Pango connects that engine to SDL, the Simple DirectMedia Layer.
|
||
|
|
||
|
%package devel
|
||
|
Summary: Header files, libraries and development documentation for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains the header files, static libraries and development documentation for %{name}. If you like to develop programs using %{name}, you will need to install %{name}-devel
|
||
|
This package contains static libraries and header files need for development.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n SDL_Pango-%{version}
|
||
|
%patch0 -p0 -b .API-adds
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
rm -f %{buildroot}%{_libdir}/*.a
|
||
|
rm -f %{buildroot}%{_libdir}/*.la
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libSDL_Pango.so.*
|
||
|
%doc AUTHORS COPYING
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%{_includedir}/SDL_Pango.h
|
||
|
%{_libdir}/libSDL_Pango.so
|
||
|
%{_libdir}/pkgconfig/SDL_Pango.pc
|
||
|
%doc docs/html/*
|
||
|
%doc ChangeLog NEWS README
|
||
|
|
||
|
%changelog
|
||
|
* Tue Dec 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-4mamba
|
||
|
- added patches to fix API tu build recent SDL (https://github.com/PerlGameDev/SDL/issues/241)
|
||
|
|
||
|
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 0.1.2-3mamba
|
||
|
- automatic rebuild by autodist
|
||
|
|
||
|
* Tue Oct 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-2mamba
|
||
|
- specfile renamed to match package name (was libSDL_pango)
|
||
|
- fixed group
|
||
|
|
||
|
* Tue Aug 14 2007 Tiziana Ferro <tiziana.ferro@email.it> 0.1.2-1mamba
|
||
|
- package created by autospec
|