-Group(de): Netzwerkwesen/Werkzeuge
-Group(es): Red/Utilitarios
-Group(pl): Sieciowe/Narzêdzia
-Group(pt_BR): Rede/Utilitários
-Source0: ftp://ftp.nhl.nl/pub/unix/analog/%{name}-%{version}.tar.gz
+#Source0Download: http://www.analog.cx/download.html
+Source0: http://www.analog.cx/%{name}-%{version}.tar.gz
+# Source0-md5: 743d03a16eb8c8488205ae63cdb671cd
%package form
Summary: Form interface to analog
Summary(pl): Interfejs w postaci formularza do analoga
Group: Networking/Utilities
%package form
Summary: Form interface to analog
Summary(pl): Interfejs w postaci formularza do analoga
Group: Networking/Utilities
-Group(de): Netzwerkwesen/Werkzeuge
-Group(es): Red/Utilitarios
-Group(pl): Sieciowe/Narzêdzia
-Group(pt_BR): Rede/Utilitários
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
%description form
Form interface to the analog httpd log analysis program. You should
regenerate the form file to customize it for your server by running
%description form
Form interface to the analog httpd log analysis program. You should
regenerate the form file to customize it for your server by running
Interfejs w postaci formularza do programu analog. Powiniene¶
wygenerowaæ nowy plik formularza po ustawieniu odpowiednich opcji w
/etc/analog.cfg poprzez wykonanie polecenia: 'analog -form
Interfejs w postaci formularza do programu analog. Powiniene¶
wygenerowaæ nowy plik formularza po ustawieniu odpowiednich opcji w
/etc/analog.cfg poprzez wykonanie polecenia: 'analog -form
$RPM_BUILD_ROOT{%{_var}/lib/%{name},%{_datadir}/%{name}/lang} \
$RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
$RPM_BUILD_ROOT{%{_var}/lib/%{name},%{_datadir}/%{name}/lang} \
$RPM_BUILD_ROOT{%{_bindir},%{_sysconfdir}}
install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.cfg
install lang/* $RPM_BUILD_ROOT%{_datadir}/%{name}/lang
install analog.cfg $RPM_BUILD_ROOT%{_sysconfdir}
-install images/* $RPM_BUILD_ROOT/home/httpd/icons
-install anlgform.html $RPM_BUILD_ROOT/home/httpd/html/usage
-install anlgform.pl $RPM_BUILD_ROOT/home/httpd/cgi-bin
-
-touch $RPM_BUILD_ROOT/home/httpd/html/usage/analog.html
+install images/* $RPM_BUILD_ROOT%{httpdir}/icons
+install anlgform.html $RPM_BUILD_ROOT%{httpdir}/html/usage
+install anlgform.pl $RPM_BUILD_ROOT%{httpdir}/cgi-bin
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%attr(755,root,root) %dir %{_datadir}/analog/lang
%attr(755,root,root) %dir %{_datadir}/analog
%attr(775,root,http) %dir /var/lib/analog
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/analog.cfg
%attr(755,root,root) %{_bindir}/analog
%{_datadir}/analog/lang/*.*
%attr(755,root,root) %dir %{_datadir}/analog/lang
%attr(755,root,root) %dir %{_datadir}/analog
%attr(775,root,http) %dir /var/lib/analog
%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/analog.cfg
%attr(755,root,root) %{_bindir}/analog
%{_datadir}/analog/lang/*.*
-/home/httpd/icons/*.gif
-%attr(755,root,root) %dir /home/httpd/html/usage
-%verify(not size mtime md5) /home/httpd/html/usage/analog.html
+%{httpdir}/icons/*.gif
+%{httpdir}/icons/*.png
+%attr(755,root,root) %dir %{httpdir}/html/usage
+%verify(not size mtime md5) %{httpdir}/html/usage/analog.html
%files form
%defattr(644,root,root,755)
%files form
%defattr(644,root,root,755)
-%config(noreplace) %verify(not size mtime md5) /home/httpd/html/usage/anlgform.html
-%attr(755,root,root) /home/httpd/cgi-bin/anlgform.pl
+%config(noreplace) %verify(not size mtime md5) %{httpdir}/html/usage/anlgform.html
+%attr(755,root,root) %{httpdir}/cgi-bin/anlgform.pl