diff --git a/SDL_ttf.changes b/SDL_ttf.changes index 41e19d8..85f4efc 100644 --- a/SDL_ttf.changes +++ b/SDL_ttf.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de + +- Some metadata spruce-up: add current URLs, softer wildcarding + in the files list, more robust make install call + ------------------------------------------------------------------- Tue Aug 13 11:31:29 UTC 2013 - prusnak@opensuse.org diff --git a/SDL_ttf.spec b/SDL_ttf.spec index a47be61..1dbd022 100644 --- a/SDL_ttf.spec +++ b/SDL_ttf.spec @@ -17,40 +17,42 @@ Name: SDL_ttf -BuildRequires: freetype2-devel -BuildRequires: libSDL-devel -Url: http://www.libsdl.org/projects/SDL_ttf/ +%define lname libSDL_ttf-2_0-0 +#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0. Version: 2.0.11 Release: 0 Summary: Simple DirectMedia Layer - Truetype Library License: Zlib -Group: System/Libraries +Group: Development/Libraries/X11 +Url: http://libsdl.org/projects/SDL_ttf/release-1.2.html + # removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180] Source: %{name}-%{version}-repack.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: freetype2-devel +BuildRequires: libSDL-devel +BuildRequires: pkgconfig %description This is a sample library that allows you to use TrueType fonts in your SDL applications. -%package -n libSDL_ttf-2_0-0 +%package -n %lname Summary: Simple DirectMedia Layer - Truetype Library Group: System/Libraries Provides: SDL_ttf = %{version} Obsoletes: SDL_ttf <= %{version} -%description -n libSDL_ttf-2_0-0 +%description -n %lname This is a sample library that allows you to use TrueType fonts in your SDL applications. %package -n libSDL_ttf-devel -Requires: %{name} = %{version} -Requires: SDL-devel Summary: Simple DirectMedia Layer - Truetype Library -Group: Development/Libraries/C and C++ +Group: Development/Libraries/X11 +Requires: %lname = %{version} Requires: libSDL-devel -Requires: libSDL_ttf-2_0-0 = %{version} Provides: SDL_ttf-devel = %{version} Obsoletes: SDL_ttf-devel <= %{version} @@ -71,19 +73,19 @@ make %{?_smp_mflags} make DESTDIR=$RPM_BUILD_ROOT install rm -f %{buildroot}%{_libdir}/*.la -%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files -n libSDL_ttf-2_0-0 +%files -n %lname %defattr(-,root,root) %doc CHANGES COPYING README -%{_libdir}/lib*.so.* +%{_libdir}/libSDL_ttf-2*.so.* %files -n libSDL_ttf-devel %defattr(-,root,root) -%{_includedir}/SDL/SDL_ttf.h -%{_libdir}/lib*.so +%{_includedir}/SDL/ +%{_libdir}/libSDL_ttf.so %{_libdir}/pkgconfig/SDL_ttf.pc %changelog