Author: wolvverine                   Date: Fri Oct  9 15:28:28 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- conf

---- Files affected:
packages/ocs-inventory-ng-client:
   ocs-inventory-ng-client.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/ocs-inventory-ng-client/ocs-inventory-ng-client.spec
diff -u packages/ocs-inventory-ng-client/ocs-inventory-ng-client.spec:1.4 
packages/ocs-inventory-ng-client/ocs-inventory-ng-client.spec:1.5
--- packages/ocs-inventory-ng-client/ocs-inventory-ng-client.spec:1.4   Fri Oct 
 9 16:48:04 2009
+++ packages/ocs-inventory-ng-client/ocs-inventory-ng-client.spec       Fri Oct 
 9 17:28:22 2009
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+#TODO:
+# - init script or cron, choice in %{_sysconfdir}/sysconfig/ocsinventory-agent 
(example in debian)
 
 Summary:       OCS-ng Inventory agent for PLD systems
 Summary(pl.UTF-8):     Agent OCS-ng Inventory dla systemów PLD
@@ -9,10 +11,10 @@
 Group:         Networking/Daemons
 Source0:       
http://dl.sourceforge.net/ocsinventory/OCSNG_UNIX_AGENT-%{version}.tar.gz
 # Source0-md5: 749501586e0c634680c13000b3b2851e
-Source1:       %{name}.conf
-Source2:       %{name}.adm
+Source1:        %{name}.logrotate
+Source2:       %{name}.conf
 Source3:       %{name}.cron
-Source4:       %{name}.logrotate
+Source4:        %{name}.sysconfig
 URL:           http://www.ocsinventory-ng.org/
 BuildRequires: perl-devel >= 1:5.6
 BuildRequires: perl-ExtUtils-MakeMaker
@@ -53,9 +55,10 @@
        DESTDIR=$RPM_BUILD_ROOT
 
 ln -s /usr/sbin/ocsinventory-client.pl $RPM_BUILD_ROOT/bin/ocsinv
-install %SOURCE4 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ocsinventory-agent
-install %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/ocsinventory-agent/ocsinv.conf
-install %SOURCE3 $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/ocsinventory-agent
+install %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ocsinventory-agent
+install %SOURCE2 
$RPM_BUILD_ROOT%{_sysconfdir}/ocsinventory-agent/ocsinventory-agent
+install %SOURCE3 $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/ocsinventory-agent
+install %SOURCE4 $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/ocsinventory-agent
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,10 +69,11 @@
 #Ocsinventory/README
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
/etc/logrotate.d/ocsinventory-agent
 %dir %{_sysconfdir}/ocsinventory-agent
-%{_sysconfdir}/ocsinventory-agent/ocsinv.conf
-%{_sysconfdir}/cron.d/ocsinventory-agent
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/ocsinventory-agent/ocsinventory-agent
+%attr(750,root,root) %config(noreplace) %verify(not md5 mtime size)  
%{_sysconfdir}/cron.daily/ocsinventory-agent
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) 
%{_sysconfdir}/sysconfig/ocsinventory-agent
+#%{_sysconfdir}/init.d/ocsinventory-agent
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) /bin/ocsinv
 %{_datadir}/%{name}/
 %dir %{perl_vendorlib}/Ocsinventory
 %{perl_vendorlib}/Ocsinventory/*.pm
@@ -87,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2009/10/09 15:28:22  wolvverine
+- conf
+
 Revision 1.4  2009/10/09 14:48:04  wolvverine
 - correct R, NFY
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ocs-inventory-ng-client/ocs-inventory-ng-client.spec?r1=1.4&r2=1.5&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to