SPECS: mysqlard.spec - pl
qboosh
qboosh at pld-linux.org
Sat Oct 7 15:40:48 CEST 2006
Author: qboosh Date: Sat Oct 7 13:40:48 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl
---- Files affected:
SPECS:
mysqlard.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/mysqlard.spec
diff -u SPECS/mysqlard.spec:1.5 SPECS/mysqlard.spec:1.6
--- SPECS/mysqlard.spec:1.5 Wed Oct 4 17:26:45 2006
+++ SPECS/mysqlard.spec Sat Oct 7 15:40:43 2006
@@ -1,7 +1,9 @@
# $Revision$, $Date$
# TODO:
+# - preun
# - webapps framework: lighttpd
Summary: MySQL performance logging daemon
+Summary(pl): Demon logujący wydajność MySQL-a
Name: mysqlard
Version: 1.0.0
Release: 1.5
@@ -15,11 +17,13 @@
Source4: %{name}.hourly
Patch0: %{name}-use_mysqlar_user.patch
URL: http://gert.sos.be/
-Requires: rrdtool
BuildRequires: autoconf
BuildRequires: automake
Buildrequires: mysql-devel
Buildrequires: rrdtool-devel
+Requires(post): /sbin/chkconfig
+Requires: rc-scripts
+Requires: rrdtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sysconfdir /etc/%{name}
@@ -31,21 +35,25 @@
%description
mysqlard daemon collects MySQL(TM) performance data in a Round Robin
-Database. The package also contains example graphing and php scripts.
+Database. The package also contains example graphing and PHP scripts.
+
+%description -l pl
+Demon mysqlard zbiera dane o wydajności MySQL-a w bazie danych RRD.
+Pakiet zawiera także proste skrypty do wykresów i PHP.
%package php
Summary: PHP interface for %{name}
-Summary(pl): Interfejs PHP dla %{name}
+Summary(pl): Interfejs PHP dla mysqlarda
Group: Applications/System
Requires: %{name} = %{version}-%{release}
-Requires: php-mysql
-Requires: webapps
+Requires: php-mysql
+Requires: webapps
%description php
PHP interface for %{name}.
%description php -l pl
-Interfejs PHP dla %{name}.
+Interfejs PHP dla mysqlarda.
%prep
%setup -q
@@ -66,7 +74,7 @@
DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%{_pkglibdir}/*.cnf $RPM_BUILD_ROOT%{_sysconfdir}
-ln -s %{_sysconfdir}/init.d/mysqlard $RPM_BUILD_ROOT%{_sbindir}/rcmysqlard
+ln -s /etc/rc.d/init.d/mysqlard $RPM_BUILD_ROOT%{_sbindir}/rcmysqlard
mv $RPM_BUILD_ROOT%{_pkglibdir}/mysqlar.daily $RPM_BUILD_ROOT%{_sbindir}
mv $RPM_BUILD_ROOT%{_pkglibdir}/mysqlar.weekly $RPM_BUILD_ROOT%{_sbindir}
@@ -94,6 +102,13 @@
rm -f $RPM_BUILD_ROOT%{_appdir}/*.spec
rm -f $RPM_BUILD_ROOT%{_pkglibdir}/*.server
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+/sbin/chkconfig --add %{name}
+%service %{name} restart
+
%triggerin php -- apache1 < 1.3.37-3, apache1-base
%webapp_register apache %{_webapp}
@@ -106,13 +121,6 @@
%triggerun php -- apache < 2.2.0, apache-base
%webapp_unregister httpd %{_webapp}
-%post
-/sbin/chkconfig --add %{name}
-%service %{name} restart
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
@@ -144,6 +152,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2006/10/07 13:40:43 qboosh
+- pl
+
Revision 1.5 2006/10/04 15:26:45 blues
- add hourly cron job to have graphs every hour
@@ -158,4 +169,3 @@
Revision 1.1 2006/09/29 13:03:57 blues
- initial release, not tested
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/mysqlard.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list