diff --git a/README.md b/README.md index e813ebd..3852feb 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libSDL_ttf +This library allows you to use TrueType fonts to render text in SDL +applications. + diff --git a/libSDL_ttf.spec b/libSDL_ttf.spec new file mode 100644 index 0000000..421c35d --- /dev/null +++ b/libSDL_ttf.spec @@ -0,0 +1,88 @@ +Name: libSDL_ttf +Version: 2.0.11 +Release: 1mamba +Summary: Simple DirectMedia Layer - Sample TrueType Font Library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.libsdl.org/projects/SDL_ttf/ +Source: http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-%{version}.tar.gz +License: LGPL + +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libfreetype-devel >= 2.1.9 +BuildRequires: libSDL-devel >= 1.2.13 +BuildRequires: libz-devel +## AUTOBUILDREQ-END + +BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot + +%description +This library allows you to use TrueType fonts to render text in SDL +applications. + +%package devel +Summary: Libraries, includes and more to develop SDL applications +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +This library allows you to use TrueType fonts to render text in SDL +applications. + +%prep +%setup -q -n SDL_ttf-%{version} + +%build +%configure \ + --prefix=%{_prefix} + +%make %{_smp_mflags} + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall DESTDIR=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%{_libdir}/*.so.* +%doc CHANGES COPYING README + +%files devel +%defattr(-,root,root) +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_includedir}/SDL/*.h +%{_libdir}/pkgconfig/SDL_ttf.pc + +%changelog +* Mon Jan 23 2012 Automatic Build System 2.0.11-1mamba +- automatic version update by autodist + +* Sun Aug 22 2010 Automatic Build System 2.0.10-2mamba +- automatic rebuild by autodist + +* Tue Jul 27 2010 Automatic Build System 2.0.10-1mamba +- automatic update by autodist + +* Wed Jul 09 2008 gil 2.0.9-1mamba +- update to 2.0.9 + +* Wed Oct 25 2006 Silvan Calarco 2.0.8-1qilnx +- update to version 2.0.8 by autospec + +* Mon Nov 29 2004 Silvan Calarco 2.0.6-3qilnx +- fixed a RPM changelog error + +* Thu Nov 11 2004 Davide Madrisan 2.0.6-2qilnx +- rebuild and moved to devel official QiLinux repository + +* Wed Sep 07 2004 Matteo Bernasconi 2.0.6-1qilnx +- first build +