rpms/SIMVoleon/FC-6 SIMVoleon.spec,1.6,1.7

Ralf Corsépius (corsepiu) fedora-extras-commits at redhat.com
Wed Feb 21 06:59:57 UTC 2007


Author: corsepiu

Update of /cvs/extras/rpms/SIMVoleon/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27058

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



Index: SIMVoleon.spec
===================================================================
RCS file: /cvs/extras/rpms/SIMVoleon/FC-6/SIMVoleon.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- SIMVoleon.spec	5 Sep 2006 09:54:31 -0000	1.6
+++ SIMVoleon.spec	21 Feb 2007 06:59:25 -0000	1.7
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2004, 2005, 2006 Ralf Corsepius, Ulm, Germany.
+# Copyright (c) 2004, 2005, 2006, 2007 Ralf Corsepius, Ulm, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
@@ -13,7 +13,7 @@
 Summary: Volume rendering library for Coin
 Name: SIMVoleon
 Version: %{rpmvers}
-Release: 4%{?dist}
+Release: 6%{?dist}
 
 License: GPL
 Group: System Environment/Libraries
@@ -67,9 +67,19 @@
 	htmldir=%{coin_htmldir}/SIMVoleon
 make %{?_smp_mflags}
 
+# Strip the default libdir
+sed -i -e "s,\-L%{_libdir}\",\"," simvoleon-default.cfg
+
+# simvoleon-config is arch dependent
+sed -i -e "s,/share/Coin/conf/,/%{_lib}/Coin2/conf/,g" bin/simvoleon-config
+
 %install
    rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
+rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
+
+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
@@ -89,14 +99,20 @@
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{coin_includedir}/*
-%{_libdir}/libSimVoleon.*a
 %{_libdir}/libSimVoleon*.so
 %{_datadir}/aclocal/simvoleon.m4
-%{_datadir}/Coin/conf
+%{_libdir}/Coin2
 %doc %{coin_htmldir}/*
 
 %changelog
-* Tue Sep 05 2006 Ralf Corsépius <rc040203 at freenet.de> - %{rpmvers}-4
+* Tue Feb 20 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.0.1-6
+- Install simvoleon-default.cfg into %%{_prefix}/%%{_lib}
+
+* Mon Feb 19 2007 Ralf Corsépius <rc040203 at freenet.de> - 2.0.1-5
+- Filter errant -L%%_libdir from soqt-config.cfg.
+- Remove *.la.
+
+* Tue Sep 05 2006 Ralf Corsépius <rc040203 at freenet.de> - 2.0.1-4
 - Mass rebuild.
 
 * Tue Feb 28  2006 Ralf Corsépius <rc040203 at freenet.de> - 2.0.1-3




More information about the fedora-extras-commits mailing list