rpms/SIMVoleon/devel SIMVoleon.spec,1.8,1.9
Ralf Corsépius (corsepiu)
fedora-extras-commits at redhat.com
Tue Feb 20 09:55:23 UTC 2007
Author: corsepiu
Update of /cvs/extras/rpms/SIMVoleon/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29063
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/devel/SIMVoleon.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SIMVoleon.spec 19 Feb 2007 15:27:52 -0000 1.8
+++ SIMVoleon.spec 20 Feb 2007 09:54:51 -0000 1.9
@@ -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: 5%{?dist}
+Release: 6%{?dist}
License: GPL
Group: System Environment/Libraries
@@ -70,11 +70,17 @@
# 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
@@ -95,10 +101,13 @@
%{coin_includedir}/*
%{_libdir}/libSimVoleon*.so
%{_datadir}/aclocal/simvoleon.m4
-%{_datadir}/Coin/conf
+%{_libdir}/Coin2
%doc %{coin_htmldir}/*
%changelog
+* 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.
More information about the scm-commits
mailing list