rpms/SoQt/devel SoQt.spec,1.23,1.24

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Tue Feb 20 09:39:31 UTC 2007


Author: corsepiu

Update of /cvs/extras/rpms/SoQt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28769

Modified Files:
	SoQt.spec 
Log Message:
* Tue Feb 20 2007 Ralf Corsépius <rc040203 at freenet.de> - 1.4.1-5
- Install soqt-default.cfg into %{_prefix}/%{_lib}



Index: SoQt.spec
===================================================================
RCS file: /cvs/extras/rpms/SoQt/devel/SoQt.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- SoQt.spec	19 Feb 2007 13:05:27 -0000	1.23
+++ SoQt.spec	20 Feb 2007 09:38:59 -0000	1.24
@@ -4,7 +4,7 @@
 Summary: High-level 3D visualization library
 Name: SoQt
 Version: 1.4.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 
 License: GPL
 Group: System Environment/Libraries
@@ -68,11 +68,17 @@
 # Strip the default libdir
 sed -i -e "s,-L%{_libdir} ,," soqt-default.cfg
 
+# soqt-config is arch dependent
+sed -i -e "s,/share/Coin/conf/,/%{_lib}/Coin2/conf/,g" soqt-config
+
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 rm -f ${RPM_BUILD_ROOT}%{_libdir}/libSoQt.*a
 
+install -d -m 755 ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/Coin2
+mv ${RPM_BUILD_ROOT}%{_datadir}/Coin/conf ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/Coin2
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -95,10 +101,13 @@
 %doc %{coin_htmldir}/*
 %{coin_includedir}/*
 %{_libdir}/libSoQt.so
-
+%{_libdir}/Coin2
 %{_mandir}/man?/*.?.gz
 
 %changelog
+* Tue Feb 20 2007 Ralf Corsépius <rc040203 at freenet.de> - 1.4.1-5
+- Install soqt-default.cfg into %%{_prefix}/%%{_lib}
+
 * Mon Feb 19 2007 Ralf Corsépius <rc040203 at freenet.de> - 1.4.1-4
 - Filter errant -L%%_libdir from soqt-config.cfg.
 - Remove *.la.




More information about the fedora-extras-commits mailing list