From 9a2f880e27471eae2f90cdac56d443ec834b4769 Mon Sep 17 00:00:00 2001 From: Brian Pepple Date: Sep 27 2005 21:55:24 +0000 Subject: - General spec formatting cleanup. - Add dist tag. --- diff --git a/SDL_net.spec b/SDL_net.spec index 2dbed94..977d266 100644 --- a/SDL_net.spec +++ b/SDL_net.spec @@ -1,26 +1,31 @@ -Summary: SDL portable network library -Name: SDL_net -Version: 1.2.5 -Release: 6 -Source0: %{name}-%{version}.tar.gz -URL: http://www.libsdl.org/projects/SDL_net/ -License: LGPL -Group: System Environment/Libraries -BuildRoot: /var/tmp/%{name}-buildroot -Requires: SDL >= 1.2.4-1 -BuildRequires: SDL-devel >= 1.2.4-1 -BuildRequires: automake autoconf libtool -Patch: SDL_net-ppc64.patch -Patch1: SDL_net-137525.patch +Name: SDL_net +Version: 1.2.5 +Release: 7%{?dist} +Summary: SDL portable network library + +Group: System Environment/Libraries +License: LGPL +URL: http://www.libsdl.org/projects/SDL_net/ +Source0: http://www.libsdl.org/projects/%{name}/release/%{name}-%{version}.tar.gz +Patch0: %{name}-ppc64.patch +Patch1: %{name}-137525.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: SDL-devel >= 1.2.4-1 +BuildRequires: automake autoconf libtool +Requires: SDL >= 1.2.4-1 + %description This is a portable network library for use with SDL. + %package devel -Summary: Libraries and includes to develop SDL networked applications. -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} -Requires: SDL-devel >= 1.2.4-1 +Summary: Libraries and includes to develop SDL networked applications. +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: SDL-devel >= 1.2.4-1 + %description devel This is a portable network library for use with SDL. @@ -28,9 +33,10 @@ This is a portable network library for use with SDL. This is the libraries and include files you can use to develop SDL networked applications. + %prep %setup -q -%patch -p1 +%patch0 -p1 %patch1 touch NEWS AUTHORS ChangeLog # Quiet automake @@ -40,35 +46,47 @@ aclocal automake --add-missing autoconf + %build %configure --prefix=%{_prefix} make %{?_smp_mflags} + %install rm -rf $RPM_BUILD_ROOT %makeinstall rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + %clean rm -rf $RPM_BUILD_ROOT + %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig + %files %defattr(-,root,root) %doc README CHANGES COPYING %{_libdir}/lib*.so.* + %files devel %defattr(-,root,root) %{_libdir}/lib*.a %{_libdir}/lib*.so %{_includedir}/SDL/ + %changelog +* Tue Sep 27 2005 Brian Pepple - 1.2.5-7 +- General spec formatting cleanup. +- Add dist tag. + * Thu Jun 9 2005 Ville Skyttä - 1.2.5-6 - Add SDL-devel dependency to -devel, remove duplicate docs. - Remove trailing semicolon from "extern C" block in SDL_net.h (#137525, Kees).