From: domelu Date: Sun, 6 Mar 2005 23:21:54 +0000 (+0000) Subject: - %%define cgidir X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdansguardian.git;a=commitdiff_plain;h=5392dcd08513e7368255d2fbd7fa5bb41b3c21c3 - %%define cgidir - added some dirs to install -d Changed files: dansguardian.spec -> 1.7 --- diff --git a/dansguardian.spec b/dansguardian.spec index c43da73..dcf2c9a 100644 --- a/dansguardian.spec +++ b/dansguardian.spec @@ -19,6 +19,8 @@ PreReq: rc-scripts Requires(post,preun): /sbin/chkconfig BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +%define cgidir /home/services/httpd/cgi-bin + %description DansGuardian is a web filtering engine that checks the content within the page itself in addition to the more traditional URL filtering. @@ -61,9 +63,10 @@ POST. %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} \ - $RPM_BUILD_ROOT%{_sysconfdir}/dansguardian \ + $RPM_BUILD_ROOT%{_sysconfdir}/{dansguardian,httpd/httpd.conf} \ $RPM_BUILD_ROOT%{_datadir}/dansguardian/{languages,phraselists,pics,logrotation} \ - $RPM_BUILD_ROOT/etc/logrotate.d + $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d} \ + $RPM_BUILD_ROOT%{cgidir} install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dansguardian install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/dansguardian.conf