packages: RakNet/RakNet.spec - ldconfig, but seems SONAME is lost - packagi...

glen glen at pld-linux.org
Wed May 12 15:34:25 CEST 2010


Author: glen                         Date: Wed May 12 13:34:25 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- ldconfig, but seems SONAME is lost
- packaging on lib64 systems are broken

---- Files affected:
packages/RakNet:
   RakNet.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/RakNet/RakNet.spec
diff -u packages/RakNet/RakNet.spec:1.2 packages/RakNet/RakNet.spec:1.3
--- packages/RakNet/RakNet.spec:1.2	Wed May 12 15:30:11 2010
+++ packages/RakNet/RakNet.spec	Wed May 12 15:34:19 2010
@@ -1,13 +1,15 @@
 # $Revision$, $Date$
 # NOTE
 # - RakNet 3.x is available, but it is not under GPL License
+# - lib64 fix
+# - SONAME lost?
 #
 %define		ver	%(echo %{version} | tr . _)
 Summary:	Networking engine for game programmers
 Summary(pl.UTF-8):	Silnik sieciowy dla programistów gier
 Name:		RakNet
 Version:	2.0
-Release:	1
+Release:	0.1
 License:	GPL v2
 Group:		Libraries
 Source0:	http://www.sumwars.org/data/Raknet%{ver}.tar.gz
@@ -52,21 +54,25 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%{_includedir}/raknet
 %attr(755,root,root) %{_libdir}/libraknet.so.*.*.*
+#%attr(755,root,root) %ghost %{_libdir}/libraknet.so.2
 %attr(755,root,root) %{_libdir}/librakvoice.so.*.*.*
+#%attr(755,root,root) %ghost %{_libdir}/librakvoice.so.2
 
 %files devel
 %defattr(644,root,root,755)
+%{_includedir}/raknet
 %{_libdir}/libraknet.so
 %{_libdir}/librakvoice.so
 %{_pkgconfigdir}/RakNet.pc
@@ -77,6 +83,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2010/05/12 13:34:19  glen
+- ldconfig, but seems SONAME is lost
+- packaging on lib64 systems are broken
+
 Revision 1.2  2010/05/12 13:30:11  glen
 - undos fun
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/RakNet/RakNet.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list