rpms/SDL_net/FC-4 SDL_net.spec,1.3,1.4
Brian Pepple (bpepple)
fedora-extras-commits at redhat.com
Tue Sep 27 21:57:41 UTC 2005
Author: bpepple
Update of /cvs/extras/rpms/SDL_net/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6308
Modified Files:
SDL_net.spec
Log Message:
* Tue Sep 27 2005 Brian Pepple <bdpepple at ameritech.net> - 1.2.5-6
- General spec formatting cleanup.
- Add dist tag.
Index: SDL_net.spec
===================================================================
RCS file: /cvs/extras/rpms/SDL_net/FC-4/SDL_net.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- SDL_net.spec 9 Jun 2005 20:49:08 -0000 1.3
+++ SDL_net.spec 27 Sep 2005 21:57:39 -0000 1.4
@@ -1,26 +1,31 @@
-Summary: SDL portable network library
-Name: SDL_net
-Version: 1.2.5
-Release: 5
-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: 6%{?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 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 @@
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 <bdpepple at ameritech.net> - 1.2.5-6
+- General spec formatting cleanup.
+- Add dist tag.
+
* Thu Jun 9 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.2.5-5
- Add SDL-devel dependency to -devel, remove duplicate docs.
- Remove trailing semicolon from "extern C" block in SDL_net.h (#137525, Kees).
More information about the fedora-extras-commits
mailing list