SPECS: aqsis.spec - Fixed configuration handling and paths - cleanup

beorn beorn at pld-linux.org
Sat Mar 17 12:30:27 CET 2007


Author: beorn                        Date: Sat Mar 17 11:30:27 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Fixed configuration handling and paths
- cleanup

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

---- Diffs:

================================================================
Index: SPECS/aqsis.spec
diff -u SPECS/aqsis.spec:1.16 SPECS/aqsis.spec:1.17
--- SPECS/aqsis.spec:1.16	Sat Mar 17 11:56:53 2007
+++ SPECS/aqsis.spec	Sat Mar 17 12:30:19 2007
@@ -2,8 +2,6 @@
 # TODO:
 # - Check that everything works as expected.
 # - Remove duplications in %files section.
-# - Proper configuration files handling by SPEC.
-# - Fix paths in configuration file.
 Summary:	Aqsis Rendering System
 Summary(pl.UTF-8):	System Renderujący Aqsis
 Name:		aqsis
@@ -83,7 +81,7 @@
 	install_prefix=$RPM_BUILD_ROOT%{_prefix} \
 	sysconfdir=$RPM_BUILD_ROOT/etc/%{name} \
 	install
-#rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/lib*.la
+sed -e "s:$RPM_BUILD_ROOT::g" -i $RPM_BUILD_ROOT/etc/%{name}/aqsisrc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -94,7 +92,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ReleaseNotes README
-/etc/%{name}
+%dir /etc/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/%{name}/*
 %attr(755,root,root) %{_bindir}/*
 %attr(755,root,root) %{_libdir}/lib*.so*
 %dir %{_libdir}/%{name}
@@ -106,8 +105,6 @@
 
 %files devel
 %defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/lib*.so
-#%{_libdir}/lib*.la
 %{_includedir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -116,6 +113,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17  2007/03/17 11:30:19  beorn
+- Fixed configuration handling and paths
+- cleanup
+
 Revision 1.16  2007/03/17 10:56:53  beorn
 - Fixed build
 - Fixed paths setting
================================================================

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



More information about the pld-cvs-commit mailing list