SPECS: aqsis.spec - Better way for passing paths to scons

beorn beorn at pld-linux.org
Sat Mar 17 13:17:56 CET 2007


Author: beorn                        Date: Sat Mar 17 12:17:56 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Better way for passing paths to scons

---- Files affected:
SPECS:
   aqsis.spec (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SPECS/aqsis.spec
diff -u SPECS/aqsis.spec:1.17 SPECS/aqsis.spec:1.18
--- SPECS/aqsis.spec:1.17	Sat Mar 17 12:30:19 2007
+++ SPECS/aqsis.spec	Sat Mar 17 13:17:50 2007
@@ -6,7 +6,7 @@
 Summary(pl.UTF-8):	System Renderujący Aqsis
 Name:		aqsis
 Version:	1.2.0
-Release:	0.2
+Release:	0.3
 License:	GPL v2 / LGPL v2.1
 Group:		Applications/Graphics
 Source0:	http://dl.sourceforge.net/aqsis/%{name}-%{version}.tar.gz
@@ -67,12 +67,6 @@
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{/etc/%{name},%{name},%{_bindir},%{_libdir},%{_datadir}/%{name}}
 
-# @LIBDIR@, @SHAREDIR@ and @CONFDIR@ comes from the aqsis-scons-paths patch
-sed -e 's:@LIBDIR@:%{_libdir}:g' -i SConstruct
-sed -e 's:@SHAREDIR@:%{_datadir}/%{name}:g' \
-    -e 's:@CONFDIR@:/etc/%{name}:g' \
-    -i platform/default/SConscript
-
 export CXX='%{__cxx}'
 export CXXFLAGS='%{rpmcflags}'
 export CC='%{__cc}'
@@ -80,6 +74,9 @@
 %scons \
 	install_prefix=$RPM_BUILD_ROOT%{_prefix} \
 	sysconfdir=$RPM_BUILD_ROOT/etc/%{name} \
+	pld_pluginsdir=%{_libdir}/%{name}/plugins \
+	pld_shadersdir=%{_datadir}/%{name}/shaders \
+	pld_configdir=/etc/%{name} \
 	install
 sed -e "s:$RPM_BUILD_ROOT::g" -i $RPM_BUILD_ROOT/etc/%{name}/aqsisrc
 
@@ -113,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.18  2007/03/17 12:17:50  beorn
+- Better way for passing paths to scons
+
 Revision 1.17  2007/03/17 11:30:19  beorn
 - Fixed configuration handling and paths
 - cleanup
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/aqsis.spec?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list