]> git.pld-linux.org Git - packages/apache1-mod_chroot.git/blobdiff - apache1-mod_chroot.spec
- converted to UTF-8
[packages/apache1-mod_chroot.git] / apache1-mod_chroot.spec
index a8912c89c408bf91d445259397f1c8744c81028e..e5f27296d74b22381118a2335cbcc533416f97f8 100644 (file)
@@ -1,17 +1,18 @@
 %define                mod_name        chroot
 %define        apxs            /usr/sbin/apxs1
 Summary:       Apache module: makes running Apache in a secure chroot environment easy
-Summary(pl):   Modu³ Apache'a do uruchamiania serwera w bezpiecznym ¶rodowisku chroot
+Summary(pl.UTF-8):   Moduł Apache'a do uruchamiania serwera w bezpiecznym środowisku chroot
 Name:          apache1-mod_%{mod_name}
-Version:       0.4
-Release:       0.2
+Version:       0.5
+Release:       0.4
 License:       GPL
 Group:         Networking/Daemons
 Source0:       http://core.segfault.pl/~hobbit/mod_chroot/dist/mod_chroot-%{version}.tar.gz
-# Source0-md5: abd2c8209b61b2a2fecdf10a61051060
+# Source0-md5: d72716052faa3bdd3371210f26b13f38
 URL:           http://core.segfault.pl/~hobbit/mod_chroot/
 BuildRequires: %{apxs}
 BuildRequires: apache1-devel >= 1.3.33-2
+BuildRequires: rpmbuild(macros) >= 1.268
 Requires:      apache1 >= 1.3.33-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,9 +24,9 @@ mod_chroot makes running Apache in a secure chroot environment easy.
 You don't need to create a special directory hierarchy containing
 /dev, /lib, /etc...
 
-%description -l pl
-mod_chroot u³atwia uruchamianie Apache'a w bezpiecznym ¶rodowisku
-chroot. Nie trzeba tworzyæ specjalnej hierarchii katalogów /dev, /lib,
+%description -l pl.UTF-8
+mod_chroot ułatwia uruchamianie Apache'a w bezpiecznym środowisku
+chroot. Nie trzeba tworzyć specjalnej hierarchii katalogów /dev, /lib,
 /etc, itp.
 
 %prep
@@ -47,19 +48,15 @@ echo 'LoadModule %{mod_name}_module modules/mod_%{mod_name}.so' > \
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ -f /var/lock/subsys/apache ]; then
-       /etc/rc.d/init.d/apache restart 1>&2
-fi
+%service -q apache restart
 
-%preun
+%postun
 if [ "$1" = "0" ]; then
-       if [ -f /var/lock/subsys/apache ]; then
-               /etc/rc.d/init.d/apache restart 1>&2
-       fi
+       %service -q apache restart
 fi
 
 %files
 %defattr(644,root,root,755)
 %doc CAVEATS ChangeLog INSTALL README
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*.so
This page took 0.060218 seconds and 4 git commands to generate.