+# TODO:
+# - /home/services/httpd ? Is it right place?
+# - support for webapps
Summary: WWW server logfile analysis program
Summary(pl.UTF-8): Analizator logów serwera WWW
Name: analog
Version: 6.0
-Release: 2.1
+Release: 7
License: GPL v2
Group: Networking/Utilities
#Source0Download: http://www.analog.cx/download.html
$RPM_BUILD_ROOT%{_mandir}/man1
install analog $RPM_BUILD_ROOT%{_bindir}
-install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
+install analog.cfg $RPM_BUILD_ROOT/etc/%{name}.cfg
install lang/* $RPM_BUILD_ROOT%{_appdir}/lang
install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
install images/* $RPM_BUILD_ROOT%{_appdir}/icons
%files
%defattr(644,root,root,755)
%doc docs/* lang/* examples how-to
-%attr(755,root,root) %dir %{_appdir}/lang
%attr(755,root,root) %dir %{_appdir}
%attr(775,root,http) %dir %{_var}/lib/%{name}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.cfg
+%dir %{_sysconfdir}
+%config(noreplace) %verify(not md5 mtime size) /etc/%{name}.cfg
%attr(755,root,root) %{_bindir}/analog
+%dir %{_appdir}/lang
%{_appdir}/lang/*.*
+%dir %{_appdir}/icons
%{_appdir}/icons/*.gif
%{_appdir}/icons/*.png
+%dir %{_appdir}/html
%attr(755,root,root) %dir %{_appdir}/html/usage
%verify(not md5 mtime size) %{_appdir}/html/usage/analog.html
%{_mandir}/man1/*.1*
%files form
%defattr(644,root,root,755)
%config(noreplace) %verify(not md5 mtime size) %{_appdir}/html/usage/anlgform.html
+%dir %{_appdir}/cgi-bin
%attr(755,root,root) %{_appdir}/cgi-bin/anlgform.pl