]> git.pld-linux.org Git - packages/adeos.git/blobdiff - adeos.spec
- rel 2
[packages/adeos.git] / adeos.spec
index aead7cff9b7327c5b4af7016c9bf5c91fd7cea2f..57e86997df97bb3fa9588a6a382989348d7f6514 100644 (file)
@@ -2,16 +2,15 @@ Summary:      Adeos - automated filesystem security scanner
 Summary(pl):   Adeos - Zautomatyzowany skaner bezpieczeñstwa systemu plików
 Name:          adeos
 Version:       1.0
-Release:       1
+Release:       2
 Group:         Applications/System
 License:       GPL v2
 Source0:       http://linux.wku.edu/~lamonml/software/adeos/%{name}-%{version}.tar.bz2
-Requires:      crondaemon
-Requires:      webserver
+# Source0-md5: 059b47e4cd45a40c060bd41dd33739a1
 URL:           http://linux.wku.edu/~lamonml/software/adeos/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _wwwdir         /home/httpd/html/%{name}
+%define                _wwwdir         /srv/httpd/html/%{name}
 
 %description
 Adeos (named after the obscure Roman goddess of modesty) is an
@@ -26,6 +25,20 @@ rekursywnie przemieszcza si
 zidentyfikowaæ powszechne b³êdy w zabezpieczeniach, takie jak SUIDy
 czy pliki zapisywalne dla wszystkich.
 
+%package www
+Summary:       Adeos - automated filesystem security scanner
+Summary(pl):   Adeos - Zautomatyzowany skaner bezpieczeñstwa systemu plików
+Group:         Applications/System
+Requires:      adeos
+Requires:      crondaemon
+Requires:      webserver
+
+%description www
+Scripts and cron jobs to publish data on www.
+
+%description www -l pl
+Skrypty crona do publikacji na stronie www.
+
 %prep
 %setup -q
 
@@ -43,10 +56,10 @@ install %{name}     $RPM_BUILD_ROOT%{_bindir}
 cat > $RPM_BUILD_ROOT/etc/cron.weekly/%{name}.sh <<EOF
 cd %{_wwwdir}
 %{_bindir}/%{name} -h
-chmod a+r result.html
+chmod a+r results.html
 EOF
 
-touch $RPM_BUILD_ROOT%{_wwwdir}/result.html
+touch $RPM_BUILD_ROOT%{_wwwdir}/results.html
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -55,6 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc CHANGELOG README
 %attr(755,root,root) %{_bindir}/*
+
+%files www
 %dir %{_wwwdir}
-%ghost %{_wwwdir}/result.html
+%ghost %{_wwwdir}/results.html
 %attr(755,root,root) %config(noreplace) /etc/cron.weekly/%{name}.sh
This page took 0.240421 seconds and 4 git commands to generate.