OBS User unknown 2009-05-28 21:49:05 +00:00 committed by Git OBS Bridge
parent 51762b5c4e
commit 4c8ee2e760
3 changed files with 50 additions and 20 deletions

View File

@ -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 Sun Jul 13 22:44:32 CEST 2008 - crrodriguez@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package SDL_ttf (Version 2.0.9) # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -19,13 +19,13 @@
Name: SDL_ttf 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/ Url: http://www.libsdl.org/projects/SDL_ttf/
License: LGPL v2.1 or later License: LGPL v2.1 or later
Group: Development/Libraries/X11 Group: System/Libraries
Version: 2.0.9 Version: 2.0.9
Release: 133 Release: 151
Summary: Simple DirectMedia Layer--Truetype Library Summary: Simple DirectMedia Layer - Truetype Library
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -39,13 +39,33 @@ Authors:
-------- --------
Sam Lantinga <slouken@libsdl.org> 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 License: LGPL v2.1 or later
Requires: %{name} = %{version} SDL-devel Requires: %{name} = %{version} SDL-devel
Summary: Simple DirectMedia Layer--Truetype Library Summary: Simple DirectMedia Layer - Truetype Library
Group: Development/Libraries/X11 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 This is a sample library that allows you to use TrueType fonts in your
SDL applications. SDL applications.
@ -59,29 +79,33 @@ Authors:
%setup -q %setup -q
%build %build
%configure --with-pic --disable-static %configure \
--with-pic \
--disable-static
%{__make} %{?jobs:-j %jobs} %{__make} %{?jobs:-j %jobs}
%install %install
make DESTDIR=$RPM_BUILD_ROOT install make DESTDIR=$RPM_BUILD_ROOT install
rm -f %{buildroot}%{_libdir}/*.la 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) %defattr(-,root,root)
%doc CHANGES COPYING README %doc CHANGES COPYING README
%{_libdir}/libSDL_ttf-2.0.so.* %{_libdir}/lib*.so.*
%files devel %files -n libSDL_ttf-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/SDL/SDL_ttf.h %{_includedir}/SDL/SDL_ttf.h
%{_libdir}/libSDL_ttf.so %{_libdir}/lib*.so
%changelog %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 - remove unusable static libraries
- SDL_ttf-devel requires SDL-devel - SDL_ttf-devel requires SDL-devel
* Sun Dec 16 2007 sndirsch@suse.de * Sun Dec 16 2007 sndirsch@suse.de

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libSDL_ttf-2_0-0