Accepting request 195360 from home:jengelh:branches:games
- Some metadata spruce-up: add current URLs, softer wildcarding in the files list, more robust make install call OBS-URL: https://build.opensuse.org/request/show/195360 OBS-URL: https://build.opensuse.org/package/show/games/SDL_ttf?expand=0&rev=18
This commit is contained in:
parent
f58b1bbf89
commit
520c365573
@ -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
|
Tue Aug 13 11:31:29 UTC 2013 - prusnak@opensuse.org
|
||||||
|
|
||||||
|
34
SDL_ttf.spec
34
SDL_ttf.spec
@ -17,40 +17,42 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: SDL_ttf
|
Name: SDL_ttf
|
||||||
BuildRequires: freetype2-devel
|
%define lname libSDL_ttf-2_0-0
|
||||||
BuildRequires: libSDL-devel
|
#Note: thankfully no overlap with SDL2, which is libSDL2_ttf-2_0-0.
|
||||||
Url: http://www.libsdl.org/projects/SDL_ttf/
|
|
||||||
Version: 2.0.11
|
Version: 2.0.11
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Simple DirectMedia Layer - Truetype Library
|
Summary: Simple DirectMedia Layer - Truetype Library
|
||||||
License: Zlib
|
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]
|
# removed VisualC dir, Watcom-Win32.zip, Xcode and Xcode-iOS dirs from upstream tarball [bnc#508180]
|
||||||
Source: %{name}-%{version}-repack.tar.bz2
|
Source: %{name}-%{version}-repack.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: freetype2-devel
|
||||||
|
BuildRequires: libSDL-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a sample library that allows you to use TrueType fonts in your
|
This is a sample library that allows you to use TrueType fonts in your
|
||||||
SDL applications.
|
SDL applications.
|
||||||
|
|
||||||
%package -n libSDL_ttf-2_0-0
|
%package -n %lname
|
||||||
Summary: Simple DirectMedia Layer - Truetype Library
|
Summary: Simple DirectMedia Layer - Truetype Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_ttf = %{version}
|
Provides: SDL_ttf = %{version}
|
||||||
Obsoletes: 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
|
This is a sample library that allows you to use TrueType fonts in your
|
||||||
SDL applications.
|
SDL applications.
|
||||||
|
|
||||||
%package -n libSDL_ttf-devel
|
%package -n libSDL_ttf-devel
|
||||||
Requires: %{name} = %{version}
|
|
||||||
Requires: SDL-devel
|
|
||||||
Summary: Simple DirectMedia Layer - Truetype Library
|
Summary: Simple DirectMedia Layer - Truetype Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/X11
|
||||||
|
Requires: %lname = %{version}
|
||||||
Requires: libSDL-devel
|
Requires: libSDL-devel
|
||||||
Requires: libSDL_ttf-2_0-0 = %{version}
|
|
||||||
Provides: SDL_ttf-devel = %{version}
|
Provides: SDL_ttf-devel = %{version}
|
||||||
Obsoletes: SDL_ttf-devel <= %{version}
|
Obsoletes: SDL_ttf-devel <= %{version}
|
||||||
|
|
||||||
@ -71,19 +73,19 @@ make %{?_smp_mflags}
|
|||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
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)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES COPYING README
|
%doc CHANGES COPYING README
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/libSDL_ttf-2*.so.*
|
||||||
|
|
||||||
%files -n libSDL_ttf-devel
|
%files -n libSDL_ttf-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/SDL/SDL_ttf.h
|
%{_includedir}/SDL/
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/libSDL_ttf.so
|
||||||
%{_libdir}/pkgconfig/SDL_ttf.pc
|
%{_libdir}/pkgconfig/SDL_ttf.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user