SPECS: munin.spec - pl, missing dirs

qboosh qboosh at pld-linux.org
Thu Oct 6 07:52:46 CEST 2005


Author: qboosh                       Date: Thu Oct  6 05:52:46 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, missing dirs

---- Files affected:
SPECS:
   munin.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/munin.spec
diff -u SPECS/munin.spec:1.6 SPECS/munin.spec:1.7
--- SPECS/munin.spec:1.6	Wed Oct  5 21:18:34 2005
+++ SPECS/munin.spec	Thu Oct  6 07:52:41 2005
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 %include	/usr/lib/rpm/macros.perl
-Summary:	Munin is the Linpro RRD data agent
+Summary:	Munin - the Linpro RRD data agent
+Summary(pl):	Munin - agent danych RRD Linpro
 Name:		munin
 Version:	1.3.2
 Release:	0.1
@@ -23,19 +24,28 @@
 nodes, and processes the data using RRDtool and presents it on web
 pages.
 
+%description -l pl
+Munin, znany poprzednio jako serwer RRD Linpro, odpytuje wiele węzłów
+i przetwarza dane przy użyciu RRDtoola, a następnie prezentuje je na
+stronach WWW.
+
 %package node
 Summary:	Linpro RRD data agent
+Summary(pl):	Agent danych RRD Linpro
 Group:		Daemons
-Requires:	perl-Net-Server
 #Requires:	perl-Config-General
+Requires:	perl-Net-Server
 Requires:	procps >= 2.0.7
 Requires:	sysstat
-BuildArch:	noarch
 
 %description node
 The Munin node package returns statistical data on the request of a
 Munin server.
 
+%description node -l pl
+Pakiet Munin dla węzła zwraca dane statystyczne na żądanie serwera
+Munin.
+
 %prep
 %setup -q
 
@@ -45,9 +55,9 @@
 # Skip the PDFs.
 perl -pi -e 's,htmldoc munin,cat munin, or s,html(2text|doc),# $&,' Makefile
 perl -pi -e 's,\$\(INSTALL.+\.(pdf|txt) \$\(DOCDIR,# $&,' Makefile
-%{__make} 	clean
-%{__make} 	CONFIG=dists/redhat/Makefile.config \
-	build
+%{__make} clean
+%{__make} build \
+	CONFIG=dists/redhat/Makefile.config
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,11 +68,11 @@
 install -d $RPM_BUILD_ROOT/var/www/html/munin
 
 ## Node
-%{__make} 	CONFIG=dists/redhat/Makefile.config \
+%{__make} install \
+	CONFIG=dists/redhat/Makefile.config \
 	DOCDIR=$RPM_BUILD_ROOT%{_docdir}/munin \
 	MANDIR=$RPM_BUILD_ROOT%{_mandir} \
-	DESTDIR=$RPM_BUILD_ROOT \
-    	install
+	DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/munin-node
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.d/munin
@@ -128,6 +138,7 @@
 %doc README.api README.plugins ChangeLog
 # %{_docdir}/munin/README.config
 %attr(755,root,root) %{_sbindir}/munin-cron
+%dir %{_datadir}/munin
 %{_datadir}/munin/munin-graph
 %{_datadir}/munin/munin-html
 %{_datadir}/munin/munin-limits
@@ -145,14 +156,16 @@
 %dir %{_sysconfdir}/munin/templates
 %{_sysconfdir}/munin/templates/*
 /etc/cron.d/munin
-%config(noreplace) %{_sysconfdir}/munin/munin.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/munin/munin.conf
 
-%attr(-, munin, root) %dir /var/lib/munin
-%attr(-, munin, root) %dir /var/log/munin
-%attr(-, munin, root) %dir /var/www/html/munin
-%attr(-, munin, root) %dir /var/www/html/munin/cgi/cgi
-%attr(-, munin, root) /var/www/html/munin/style.css
-%attr(-, munin, root) %config /var/www/html/munin/.htaccess
+# XXX: don't use %attr(-,...)
+%attr(-,munin,root) %dir /var/lib/munin
+%attr(-,munin,root) %dir /var/log/munin
+# XXX: FHS
+%attr(-,munin,root) %dir /var/www/html/munin
+%attr(-,munin,root) %dir /var/www/html/munin/cgi/cgi
+%attr(-,munin,root) /var/www/html/munin/style.css
+%attr(-,munin,root) %config /var/www/html/munin/.htaccess
 
 %{_mandir}/man8/munin-graph*
 %{_mandir}/man8/munin-update*
@@ -174,12 +187,14 @@
 %attr(755,root,root) %{_sbindir}/munin-node
 %attr(755,root,root) %{_sbindir}/munin-node-configure
 %attr(755,root,root) %{_sbindir}/munin-node-configure-snmp
-%attr(-, munin, root) %dir /var/log/munin
+# XXX: don't use %attr(-,...)
+%attr(-,munin,root) %dir /var/log/munin
 %dir %{_datadir}/munin
 
-%dir %attr(770, munin, munin) /var/lib/munin
-%dir %attr(770, munin, munin) /var/lib/munin/plugin-state
+%dir %attr(770,munin,munin) /var/lib/munin
+%dir %attr(770,munin,munin) /var/lib/munin/plugin-state
 
+%dir %{_datadir}/munin/plugins
 %{_datadir}/munin/plugins/*
 
 %{_mandir}/man5/munin-node*
@@ -192,6 +207,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2005/10/06 05:52:41  qboosh
+- pl, missing dirs
+
 Revision 1.6  2005/10/05 19:18:34  glen
 - typo; adapterized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/munin.spec?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list