]> git.pld-linux.org Git - packages/awffull.git/blobdiff - awffull.spec
- reverse condition - "-q" was overwriting "-Q" if set both
[packages/awffull.git] / awffull.spec
index 13c4cb5251cdc51dc5bd86dc6c6b54c60d0f62f3..f9b721995d29afc68400952e192c769c4f4bcada 100644 (file)
@@ -1,12 +1,19 @@
+# TODO:
+# - convertion tool: webalizer -> awffull 
+#
 Summary:       Web server log analysis program
+Summary(pl):   Program do analizy logów serwera WWW
 Name:          awffull
-Version:       3.4.1
-Release:       0.1
-License:       GPL
+Version:       3.5.1
+Release:       2
+License:       GPL v2
 Group:         Applications/Networking
-URL:           http://www.stedee.id.au/awffull
 Source0:       http://www.stedee.id.au/files/%{name}-%{version}.tar.gz
-# Source0-md5: 9b1ff7694d62f42dcf44832a7e163ce5
+# Source0-md5: 065903e2f710969e77164da71df56ffb
+Source1:       %{name}.sysconfig
+Source2:       %{name}.cron
+Source3:       %{name}.crontab
+URL:           http://www.stedee.id.au/awffull/
 BuildRequires: gd-devel
 BuildRequires: pcre-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -16,6 +23,12 @@ AWFFull is a Web server log analysis program, forked from Webalizer.
 It adds a number of new features and improvements, such as extended
 frontpage history, resizable graphs, and a few more pie charts.
 
+%description -l pl
+AWFFull to program do analizy logów serwer WWW wywodz±cy siê z
+Webalizera. Dodaje wiele nowych mo¿liwo¶ci i ulepszeñ, takich jak
+rozszerzona historia strony g³ównej, skalowalne wykresy i nieco wiêcej
+wykresów ko³owych.
+
 %prep
 %setup -q
 
@@ -25,14 +38,26 @@ frontpage history, resizable graphs, and a few more pie charts.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{%{name},sysconfig,cron.d},%{_sbindir}}
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+install sample.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf
+install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/%{name}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/%{name}.cron
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.d/%{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog COPYING INSTALL README TODO
-%attr(755,root,root) %{_bindir}/awffull
-%doc %{_mandir}/man1/awffull*
+%doc ChangeLog *README* TODO
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/cron.d/%{name}
+%config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
+%attr(2755,root,stats) %dir %{_sysconfdir}/%{name}
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_sbindir}/%{name}.cron
+%{_mandir}/man1/awffull*
This page took 0.081693 seconds and 4 git commands to generate.