]> git.pld-linux.org Git - packages/util-vserver.git/commitdiff
- pl, some cleanups
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 4 Nov 2003 20:21:04 +0000 (20:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-vserver.spec -> 1.2

util-vserver.spec

index 6b22055f31c264c3e4c8c16dc7a6124254d4fb51..b193b458b1d964300e10d5b08d3a63f9d54e9ff1 100644 (file)
@@ -1,18 +1,21 @@
 Summary:       Linux virtual server utilities
+Summary(pl):   Narzêdzia dla linuksowych serwerów wirtualnych
 Name:          util-vserver
 Version:       0.24
 Release:       1
 Epoch:         0
 License:       GPL
 Group:         Base
-URL:           http://savannah.nongnu.org/projects/util-vserver/
-Source0:       http://savannah.nongnu.org/download/util-vserver/stable.pkg/%version/%name-%version.tar.bz2
+Source0:       http://savannah.nongnu.org/download/util-vserver/stable.pkg/%{version}/%{name}-%{version}.tar.bz2
 # Source0-md5: 625d6c9bc5a4d2e44eafdf0f619c2153
+URL:           http://savannah.nongnu.org/projects/util-vserver/
+PreReq:                rc-scripts
+Requires(post,preun):  /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 This package provides the components and a framework to setup virtual
-servers. A virtual server runs inside a linux server. It is
+servers. A virtual server runs inside a Linux server. It is
 nevertheless highly independent. As such, you can run various services
 with normal configuration. The various vservers can't interact with
 each other and can't interact with services in the main server.
@@ -20,6 +23,16 @@ each other and can't interact with services in the main server.
 This requires a special kernel supporting the new new_s_context and
 set_ipv4root system call.
 
+%description -l pl
+Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
+serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
+jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
+ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
+w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
+
+Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
+new_s_context i set_ipv4root.
+
 %prep
 %setup -q
 
@@ -43,36 +56,33 @@ rm -rf $RPM_BUILD_ROOT
 /sbin/chkconfig --add vservers
 /sbin/chkconfig --add rebootmgr
 
-for i in %v_services; do
+for i in %{v_services}; do
        /sbin/chkconfig --add v_$i
 done
 
-
 %preun
-test "$1" != 0 || for i in %v_services; do
+test "$1" != 0 || for i in %{v_services}; do
        /sbin/chkconfig --del v_$i
 done
 
-test "$1" != 0 || %{_initrddir}/rebootmgr stop &>/dev/null || :
+test "$1" != 0 || %{_initrddir}/rebootmgr stop >&2 || :
 test "$1" != 0 || /sbin/chkconfig --del rebootmgr
 test "$1" != 0 || /sbin/chkconfig --del vservers
 
-
 %postun
-test "$1" = 0  || %{_initrddir}/rebootmgr condrestart >/dev/null || :
-
+test "$1" = 0  || %{_initrddir}/rebootmgr condrestart >&2 || :
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README THANKS
 %doc doc/FAQ.txt
-%{_sbindir}/*
-%{_libdir}/%name
+%attr(755,root,root) %{_sbindir}/*
+%{_libdir}/%{name}
 %{_includedir}/vserver.h
 %{_libdir}/libvserver.a
 %{_mandir}/man8/*
-/etc/rc.d/init.d/*
+%attr(754,root,root) /etc/rc.d/init.d/*
 %config(noreplace) %{_sysconfdir}/vservers.conf
 %attr(0,root,root) %dir /vservers
-%exclude %_sbindir/newvserver
-%exclude %_mandir/man8/newvserver*
+%exclude %{_sbindir}/newvserver
+%exclude %{_mandir}/man8/newvserver*
This page took 0.05492 seconds and 4 git commands to generate.