packages: enet/enet.spec - updated to 1.3.0 - shared library libenet.so is ...

lisu lisu at pld-linux.org
Sun Jun 13 00:06:03 CEST 2010


Author: lisu                         Date: Sat Jun 12 22:06:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 1.3.0
- shared library libenet.so is now generated automatically
- package more files

---- Files affected:
packages/enet:
   enet.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/enet/enet.spec
diff -u packages/enet/enet.spec:1.4 packages/enet/enet.spec:1.5
--- packages/enet/enet.spec:1.4	Tue Nov 17 11:37:43 2009
+++ packages/enet/enet.spec	Sun Jun 13 00:05:57 2010
@@ -2,12 +2,12 @@
 Summary:	Portable UDP networking library
 Summary(pl.UTF-8):	Przenośna biblioteka dla UDP
 Name:		enet
-Version:	1.2.1
+Version:	1.3.0
 Release:	1
 License:	MIT
 Group:		Libraries
 Source0:	http://enet.bespin.org/download/%{name}-%{version}.tar.gz
-# Source0-md5:	6a6749b94219316a3628f59318b31d45
+# Source0-md5:	9ed8020e2c1fa320fe17dbeaa2dedaba
 URL:		http://enet.bespin.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -50,7 +50,7 @@
 Statyczna biblioteka enet.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %build
 %{__aclocal}
@@ -59,9 +59,6 @@
 %configure
 %{__make}
 
-# generate shared library by hand (not implemented in Makefile)
-%{__cc} %{rpmldflags} %{rpmcflags} -shared *.o -o libenet.so
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}
@@ -69,8 +66,6 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install libenet.so $RPM_BUILD_ROOT%{_libdir}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -80,12 +75,16 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog docs *.txt
-%attr(755,root,root) %{_libdir}/libenet.so
+%attr(755,root,root) %{_libdir}/libenet.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libenet.so.1
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libenet.so
 %dir %{_includedir}/enet/
 %{_includedir}/enet/*.h
+%{_libdir}/libenet.la
+%{_pkgconfigdir}/libenet.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -97,6 +96,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2010/06/12 22:05:57  lisu
+- updated to 1.3.0
+- shared library libenet.so is now generated automatically
+- package more files
+
 Revision 1.4  2009/11/17 10:37:43  lisu
 - updated to 1.2.1
 - pl
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/enet/enet.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list