forked from pool/SDL_ttf
This commit is contained in:
parent
51762b5c4e
commit
4c8ee2e760
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 20 17:17:46 CEST 2009 - prusnak@suse.cz
|
||||
|
||||
- follow Shared Library Policy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 13 22:44:32 CEST 2008 - crrodriguez@suse.de
|
||||
|
||||
|
58
SDL_ttf.spec
58
SDL_ttf.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package SDL_ttf (Version 2.0.9)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,13 +19,13 @@
|
||||
|
||||
|
||||
Name: SDL_ttf
|
||||
BuildRequires: SDL-devel freetype2-devel gcc-c++ xorg-x11-Mesa-devel xorg-x11-devel
|
||||
BuildRequires: freetype2-devel libSDL-devel xorg-x11-devel
|
||||
Url: http://www.libsdl.org/projects/SDL_ttf/
|
||||
License: LGPL v2.1 or later
|
||||
Group: Development/Libraries/X11
|
||||
Group: System/Libraries
|
||||
Version: 2.0.9
|
||||
Release: 133
|
||||
Summary: Simple DirectMedia Layer--Truetype Library
|
||||
Release: 151
|
||||
Summary: Simple DirectMedia Layer - Truetype Library
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -39,13 +39,33 @@ Authors:
|
||||
--------
|
||||
Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
%package devel
|
||||
%package -n libSDL_ttf-2_0-0
|
||||
Summary: Simple DirectMedia Layer - Truetype Library
|
||||
Group: System/Libraries
|
||||
License: LGPL v2.1 or later
|
||||
Provides: SDL_ttf = %{version}
|
||||
Obsoletes: SDL_ttf < %{version}
|
||||
|
||||
%description -n libSDL_ttf-2_0-0
|
||||
This is a sample library that allows you to use TrueType fonts in your
|
||||
SDL applications.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Sam Lantinga <slouken@libsdl.org>
|
||||
|
||||
%package -n libSDL_ttf-devel
|
||||
License: LGPL v2.1 or later
|
||||
Requires: %{name} = %{version} SDL-devel
|
||||
Summary: Simple DirectMedia Layer--Truetype Library
|
||||
Group: Development/Libraries/X11
|
||||
Summary: Simple DirectMedia Layer - Truetype Library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libSDL_ttf-2_0-0 = %{version} libSDL-devel
|
||||
Provides: SDL_ttf-devel = %{version}
|
||||
Obsoletes: SDL_ttf-devel < %{version}
|
||||
|
||||
%description devel
|
||||
%description -n libSDL_ttf-devel
|
||||
This is a sample library that allows you to use TrueType fonts in your
|
||||
SDL applications.
|
||||
|
||||
@ -59,29 +79,33 @@ Authors:
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --with-pic --disable-static
|
||||
%configure \
|
||||
--with-pic \
|
||||
--disable-static
|
||||
%{__make} %{?jobs:-j %jobs}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libSDL_ttf-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libSDL_ttf-2_0-0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libSDL_ttf-2_0-0
|
||||
%defattr(-,root,root)
|
||||
%doc CHANGES COPYING README
|
||||
%{_libdir}/libSDL_ttf-2.0.so.*
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
%files -n libSDL_ttf-devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/SDL/SDL_ttf.h
|
||||
%{_libdir}/libSDL_ttf.so
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%changelog
|
||||
* Mon Jul 14 2008 crrodriguez@suse.de
|
||||
* Wed May 20 2009 prusnak@suse.cz
|
||||
- follow Shared Library Policy
|
||||
* Sun Jul 13 2008 crrodriguez@suse.de
|
||||
- remove unusable static libraries
|
||||
- SDL_ttf-devel requires SDL-devel
|
||||
* Sun Dec 16 2007 sndirsch@suse.de
|
||||
|
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libSDL_ttf-2_0-0
|
Loading…
Reference in New Issue
Block a user