SPECS: nero.spec - *.so moved to %{_libdir} - thx glen; rm TODO

charles charles at pld-linux.org
Fri Dec 9 01:49:34 CET 2005


Author: charles                      Date: Fri Dec  9 00:49:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- *.so moved to %{_libdir} - thx glen; rm TODO

---- Files affected:
SPECS:
   nero.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/nero.spec
diff -u SPECS/nero.spec:1.5 SPECS/nero.spec:1.6
--- SPECS/nero.spec:1.5	Thu Dec  8 11:22:36 2005
+++ SPECS/nero.spec	Fri Dec  9 01:49:28 2005
@@ -1,8 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# - FHS fix: move libraries in %{_datadir} to %{_libdir}
-#	but currently nero requires %{_datadir}/nero/*.so
-#   symlink for nero
 #
 # Conditional build:
 %bcond_with	reqs		# force optional Requires
@@ -10,7 +6,7 @@
 Summary:	NeroLINUX CD/DVD burning
 Name:		nero
 Version:	2.0.0.4
-Release:	0.1
+Release:	0.2
 License:	Commercial see EULA
 Group:		X11/Applications
 Source0:	ftp://ftp1.mirror.nero.com/nerolinux-%{version}-x86.rpm
@@ -57,6 +53,13 @@
 # displayed at first startup
 install usr/share/nero/docs/EULA $RPM_BUILD_ROOT%{_datadir}/%{name}/docs
 
+# FHS compliance (*.so moved to %{_libdir})
+cd $RPM_BUILD_ROOT%{_datadir}/%{name}
+for i in *.so ; do
+	mv -f $i $RPM_BUILD_ROOT%{_libdir}
+	ln -s %{_libdir}/$i $i
+done
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -66,7 +69,7 @@
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/*.so
 %dir %{_datadir}/%{name}
-%attr(755,root,root) %{_datadir}/%{name}/*.so
+%{_datadir}/%{name}/*.so
 %{_datadir}/%{name}/docs
 %{_datadir}/%{name}/sounds
 %{_datadir}/%{name}/CDROM.CFG
@@ -81,6 +84,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2005/12/09 00:49:28  charles
+- *.so moved to %{_libdir} - thx glen; rm TODO
+
 Revision 1.5  2005/12/08 10:22:36  glen
 - updated TODO
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nero.spec?r1=1.5&r2=1.6&f=u




More information about the pld-cvs-commit mailing list