Author: wolvverine                   Date: Thu Mar  3 00:17:50 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.99b2 version
- change some directory
- FHS
- please test it

---- Files affected:
SPECS:
   bigsister.spec (1.27 -> 1.28) 

---- Diffs:

================================================================
Index: SPECS/bigsister.spec
diff -u SPECS/bigsister.spec:1.27 SPECS/bigsister.spec:1.28
--- SPECS/bigsister.spec:1.27   Wed Mar  2 13:32:23 2005
+++ SPECS/bigsister.spec        Thu Mar  3 01:17:45 2005
@@ -1,14 +1,18 @@
 # $Revision$, $Date$
+#TODO
+# - package bigsister --> bigsister-agent
+#/TODO
+
 %include       /usr/lib/rpm/macros.perl
 Summary:       The Big Sister Network and System Monitor
 Summary(pl):   Wielka Siostra - monitor sieci i systemów
 Name:          bigsister
-Version:       0.98c8
-Release:       0.4
+Version:       0.99b2
+Release:       0.1
 License:       GPL
 Group:         Networking
 Source0:       http://dl.sourceforge.net/%{name}/big-sister-%{version}.tar.gz
-# Source0-md5: 44b1dfed1f4ce8029fec2ffe16002c68
+# Source0-md5: ef4bc0ccb9a8f91e13f40eaa198a37ca        
 Source1:       %{name}.init
 Source2:       %{name}.sysconfig
 Patch1:                %{name}-memory.patch
@@ -140,20 +144,6 @@
 
 %{__make} install-server install-client install-reporting install-modules 
install-doc \
        DESTDIR=$RPM_BUILD_ROOT
-#TODO
-# - change path (FHS) in makefile or configure (patch)
-# - add package bigsister-agent
-#/TODO
-mv -f  $RPM_BUILD_ROOT%{_var}/lib/bigsister/www \
-       $RPM_BUILD_ROOT%{_usr}/share/bigsister/www
-ln -sf %{_usr}/share/bigsister/www \
-       $RPM_BUILD_ROOT%{_var}/lib/bigsister/www
-
-
-mv -f  $RPM_BUILD_ROOT%{_usr}/share/bigsister/etc \
-       $RPM_BUILD_ROOT%{_sysconfdir}/bigsister/adm
-ln -sf %{_sysconfdir}/bigsister/adm \
-       $RPM_BUILD_ROOT%{_usr}/share/bigsister/etc
 
 mv -f  $RPM_BUILD_ROOT%{_sbindir}/* \
        $RPM_BUILD_ROOT%{_bindir}
@@ -168,7 +158,7 @@
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
 
 %clean
-rm -rf $RPM_BUILD_ROOT
+#rm -rf $RPM_BUILD_ROOT
 
 %pre
 if [ -n "`/usr/bin/getgid bs`" ]; then
@@ -185,7 +175,7 @@
                exit 1
        fi
 else
-       /usr/sbin/useradd -u 77 -d %{_usr}/share/bigsister/www \
+       /usr/sbin/useradd -u 77 -d %{_var}/lib/bigsister/www \
        -s /bin/false -c "Big Sister" -g bs bs 1>&2
 fi
 
@@ -234,12 +224,12 @@
 %attr(750,root,bs) %{_sysconfdir}/rc.d/init.d/bigsister
 %{_mandir}/man*/*
 %attr(750,root,bs) %dir %{_sysconfdir}/bigsister
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/resources
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/resources
 %attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/uxmon-net
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/OV
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/syslog
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/eventlog
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/tests.cfg
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/OV
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/syslog
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/eventlog
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/tests.cfg
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/sysconfig/bigsister
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/resources
 %dir %{_usr}/share/bigsister/bin
@@ -285,7 +275,6 @@
 %{_usr}/share/bigsister/uxmon/Requester/s[oy]*
 %attr(755,root,root) %{_usr}/share/bigsister/uxmon/uxmon
 %{_usr}/share/bigsister/uxmon/uxmon-rules.pl
-%{_usr}/share/bigsister/www
 
 %files server
 %defattr(644,root,root,755)
@@ -296,25 +285,25 @@
 %attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/permissions
 %attr(750,root,bs) %dir %{_sysconfdir}/bigsister/reporting
 %{_sysconfdir}/bigsister/reporting/*
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/bsmon.cfg
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/graphtemplates
-%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_sysconfdir}/bigsister/adm/keys
-%attr(750,root,bs) %dir %{_sysconfdir}/bigsister/adm/graphdef
-%{_sysconfdir}/bigsister/adm/graphdef/*
-%attr(750,root,bs) %dir %{_sysconfdir}/bigsister/adm/moduleinfo
-%{_sysconfdir}/bigsister/adm/moduleinfo/*
-%attr(750,root,bs) %dir %{_sysconfdir}/bigsister/adm/testdef
-%{_sysconfdir}/bigsister/adm/testdef/*
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/bsmon.cfg
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/graphtemplates
+%attr(660,root,bs) %config(noreplace) %verify(not size mtime md5) 
%{_usr}/share/bigsister/etc/keys
+%attr(750,root,bs) %dir %{_usr}/share/bigsister/etc/graphdef
+%{_usr}/share/bigsister/etc/graphdef/*
+%attr(750,root,bs) %dir %{_usr}/share/bigsister/etc/moduleinfo
+%{_usr}/share/bigsister/etc/moduleinfo/*
+%attr(750,root,bs) %dir %{_usr}/share/bigsister/etc/testdef
+%{_usr}/share/bigsister/etc/testdef/*
 %attr(755,root,root) %{_usr}/share/bigsister/cgi/bs*
-%attr(775,root,bs) %dir %{_usr}/share/bigsister/www/html
-%attr(775,root,bs) %dir %{_usr}/share/bigsister/www/logs
-%attr(775,root,bs) %dir %{_usr}/share/bigsister/www/logs/history
-%attr(775,root,bs) %dir %{_usr}/share/bigsister/www/help
-%attr(775,root,bs) %dir %{_usr}/share/bigsister/www/help/images
-%{_usr}/share/bigsister/www/skins
-%{_usr}/share/bigsister/www/help/*.html
-%{_usr}/share/bigsister/www/help/*.jpg
-%{_usr}/share/bigsister/www/help/images/*png
+%attr(775,root,bs) %dir %{_var}/lib/bigsister/www/html
+%attr(775,root,bs) %dir %{_var}/lib/bigsister/www/logs
+%attr(775,root,bs) %dir %{_var}/lib/bigsister/www/logs/history
+%attr(775,root,bs) %dir %{_var}/lib/bigsister/www/help
+%attr(775,root,bs) %dir %{_var}/lib/bigsister/www/help/images
+%{_var}/lib/bigsister/www/skins
+%{_var}/lib/bigsister/www/help/*.html
+%{_var}/lib/bigsister/www/help/*.jpg
+%{_var}/lib/bigsister/www/help/images/*png
 %dir %{_usr}/share/bigsister/bin/Statusmon
 %{_usr}/share/bigsister/bin/Statusmon/[BDGHRSTght]*.pm
 %{_usr}/share/bigsister/bin/Statusmon/bs_evgen.pm
@@ -322,6 +311,10 @@
 %{_usr}/share/bigsister/bin/bbdisp.pm
 %{_usr}/share/bigsister/bin/bscgi.pm
 %{_usr}/share/bigsister/bin/display_map.pm
+#te dwa tutaj powinny byc???
+%{_usr}/share/bigsister/bin/BER.pm
+%{_usr}/share/bigsister/bin/IPCFile.pm
+#
 %attr(755,root,root) %{_usr}/share/bigsister/bin/bbd
 %attr(755,root,root) %{_usr}/share/bigsister/bin/bsmon
 %attr(755,root,root) %{_usr}/share/bigsister/bin/log_mail
@@ -351,9 +344,9 @@
 
 %files snmp
 %defattr(644,root,root,755)
-%{_sysconfdir}/bigsister/adm/mibs.txt
-%{_sysconfdir}/bigsister/adm/perf*
-%{_sysconfdir}/bigsister/adm/snmp_trap
+%{_usr}/share/bigsister/etc/mibs.txt
+%{_usr}/share/bigsister/etc/perf*
+%{_usr}/share/bigsister/etc/snmp_trap
 %attr(755,root,root) %{_usr}/share/bigsister/bin/bstrapd
 %{_usr}/share/bigsister/bin/snmp.pm
 %{_usr}/share/bigsister/uxmon/Config/_snmp
@@ -385,6 +378,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.28  2005/03/03 00:17:45  wolvverine
+- up to 0.99b2 version
+- change some directory
+- FHS
+- please test it
+
 Revision 1.27  2005/03/02 12:32:23  wolvverine
 - add TODO
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/bigsister.spec?r1=1.27&r2=1.28&f=u


_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to