]> err.no Git - sope/commitdiff
use %{sope_version} known to .rpmmacros instead
authorfrank <frank@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 16 Nov 2004 15:54:26 +0000 (15:54 +0000)
committerfrank <frank@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 16 Nov 2004 15:54:26 +0000 (15:54 +0000)
of hardcoded value in specfile

git-svn-id: http://svn.opengroupware.org/SOPE/trunk@373 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

maintenance/sope.spec

index c0c67c4cfba24f762cc7df32d3338a4aaff6154f..02295ce28eda267334b728141a6df597ffca2726 100644 (file)
@@ -215,11 +215,11 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 # ****************************** files ********************************
 %files xml
 %defattr(-,root,root,-)
-%{prefix}/lib/libDOM*.so.4.5*
-%{prefix}/lib/libSaxObjC*.so.4.5*
-%{prefix}/lib/libXmlRpc*.so.4.5*
-%{prefix}/lib/sope-4.5/saxdrivers/libxmlSAXDriver.sax
-%{prefix}/lib/sope-4.5/saxdrivers/STXSaxDriver.sax
+%{prefix}/lib/libDOM*.so.%{sope_version}*
+%{prefix}/lib/libSaxObjC*.so.%{sope_version}*
+%{prefix}/lib/libXmlRpc*.so.%{sope_version}*
+%{prefix}/lib/sope-%{sope_version}/saxdrivers/libxmlSAXDriver.sax
+%{prefix}/lib/sope-%{sope_version}/saxdrivers/STXSaxDriver.sax
 
 %files xml-tools
 %defattr(-,root,root,-)
@@ -238,9 +238,9 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 
 %files core
 %defattr(-,root,root,-)
-%{prefix}/lib/libEOControl*.so.4.5*
-%{prefix}/lib/libNGExtensions*.so.4.5*
-%{prefix}/lib/libNGStreams*.so.4.5*
+%{prefix}/lib/libEOControl*.so.%{sope_version}*
+%{prefix}/lib/libNGExtensions*.so.%{sope_version}*
+%{prefix}/lib/libNGStreams*.so.%{sope_version}*
 
 %files core-devel
 %defattr(-,root,root,-)
@@ -253,7 +253,7 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 
 %files mime
 %defattr(-,root,root,-)
-%{prefix}/lib/libNGMime*.so.4.5*
+%{prefix}/lib/libNGMime*.so.%{sope_version}*
 
 %files mime-devel
 %defattr(-,root,root,-)
@@ -264,19 +264,19 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 
 %files appserver
 %defattr(-,root,root,-)
-%{prefix}/lib/libNGObjWeb*.so.4.5*
-%{prefix}/lib/libNGXmlRpc*.so.4.5*
-%{prefix}/lib/libSoOFS*.so.4.5*
-%{prefix}/lib/libWEExtensions*.so.4.5*
-%{prefix}/lib/libWOExtensions*.so.4.5*
-%{prefix}/lib/libWOXML*.so.4.5*
-%{prefix}/share/sope-4.5/ngobjweb/DAVPropMap.plist
-%{prefix}/share/sope-4.5/ngobjweb/Defaults.plist
-%{prefix}/share/sope-4.5/ngobjweb/Languages.plist
-%{prefix}/lib/sope-4.5/products/SoCore.sxp
-%{prefix}/lib/sope-4.5/products/SoOFS.sxp
-%{prefix}/lib/sope-4.5/wox-builders/WEExtensions.wox
-%{prefix}/lib/sope-4.5/wox-builders/WOExtensions.wox
+%{prefix}/lib/libNGObjWeb*.so.%{sope_version}*
+%{prefix}/lib/libNGXmlRpc*.so.%{sope_version}*
+%{prefix}/lib/libSoOFS*.so.%{sope_version}*
+%{prefix}/lib/libWEExtensions*.so.%{sope_version}*
+%{prefix}/lib/libWOExtensions*.so.%{sope_version}*
+%{prefix}/lib/libWOXML*.so.%{sope_version}*
+%{prefix}/share/sope-%{sope_version}/ngobjweb/DAVPropMap.plist
+%{prefix}/share/sope-%{sope_version}/ngobjweb/Defaults.plist
+%{prefix}/share/sope-%{sope_version}/ngobjweb/Languages.plist
+%{prefix}/lib/sope-%{sope_version}/products/SoCore.sxp
+%{prefix}/lib/sope-%{sope_version}/products/SoOFS.sxp
+%{prefix}/lib/sope-%{sope_version}/wox-builders/WEExtensions.wox
+%{prefix}/lib/sope-%{sope_version}/wox-builders/WOExtensions.wox
 
 %files appserver-tools
 %defattr(-,root,root,-)
@@ -305,7 +305,7 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 
 %files ldap
 %defattr(-,root,root,-)
-%{prefix}/lib/libNGLdap*.so.4.5*
+%{prefix}/lib/libNGLdap*.so.%{sope_version}*
 
 %files ldap-tools
 %defattr(-,root,root,-)
@@ -320,9 +320,9 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 
 %files ical
 %defattr(-,root,root,-)
-%{prefix}/lib/libNGiCal*.so.4.5*
-%{prefix}/share/sope-4.5/saxmappings/NGiCal.xmap
-%{prefix}/lib/sope-4.5/saxdrivers/versitSaxDriver.sax
+%{prefix}/lib/libNGiCal*.so.%{sope_version}*
+%{prefix}/share/sope-%{sope_version}/saxmappings/NGiCal.xmap
+%{prefix}/lib/sope-%{sope_version}/saxdrivers/versitSaxDriver.sax
 
 %files ical-devel
 %defattr(-,root,root,-)
@@ -333,11 +333,11 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 %defattr(-,root,root,-)
 %{prefix}/bin/connect-EOAdaptor
 %{prefix}/bin/load-EOAdaptor
-%{prefix}/lib/libGDLAccess*.so.1.1*
+%{prefix}/lib/libGDLAccess*.so.%{sope_version}*
 
 %files gdl1-postgresql
 %defattr(-,root,root,-)
-%{prefix}/lib/sope-4.5/dbadaptors/PostgreSQL.gdladaptor
+%{prefix}/lib/sope-%{sope_version}/dbadaptors/PostgreSQL.gdladaptor
 
 %files gdl1-devel
 %defattr(-,root,root,-)
@@ -346,6 +346,9 @@ rm -f ${RPM_BUILD_ROOT}%{prefix}/bin/testqp
 
 # ********************************* changelog *************************
 %changelog
+* Tue Nov 16 2004 Frank Reppin <frank@opengroupware.org>
+- s^4.5^%{sope_version}^g everywhere bc .rpmmacros knows
+  the current version we build for
 * Sat Nov 06 2004 Helge Hess <helge.hess@opengroupware.org>
 - updated to 4.5 version
 * Wed Sep 09 2004 Frank Reppin <frank@opengroupware.org>