2 # - split into core/build/sysv/legacy subpackages
3 # (see util-vserver.spec inside of tarball)
5 Summary: Linux virtual server utilities
6 Summary(pl): Narzêdzia dla linuksowych serwerów wirtualnych
13 Source0: http://www.13thfloor.at/vserver/d_release/v1.3.6/%{name}-%{version}.tar.bz2
14 # Source0-md5: d5d4330dc95dbf70bac9b24d53d1e779
15 Patch0: %{name}-maxpath.patch
16 URL: http://savannah.nongnu.org/projects/util-vserver/
17 BuildRequires: e2fsprogs-devel
19 Requires(post,preun): /sbin/chkconfig
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This package provides the components and a framework to setup virtual
24 servers. A virtual server runs inside a Linux server. It is
25 nevertheless highly independent. As such, you can run various services
26 with normal configuration. The various vservers can't interact with
27 each other and can't interact with services in the main server.
29 This requires a special kernel supporting the new new_s_context and
30 set_ipv4root system call.
33 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
34 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
35 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
36 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
37 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
39 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
40 new_s_context i set_ipv4root.
43 Summary: Libraries for the linux vserver programs
44 Summary(pl): Biblioteki u¿ywane do sterowania linuksowym vserwerem
45 Group: Development/Libraries
48 This package contains the header and object files necessary for
49 developing programs which use vserver library.
51 %description devel -l pl
52 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
53 programów u¿ywaj±cych biblioteki vserver.
56 Summary: Static Libraries for the linux vserver programs
57 Summary(pl): Biblioteki statyczne u¿ywane do sterowania linuksowym vserwerem
58 Group: Development/Libraries
61 This package contains the header and object files necessary for
62 developing programs which use vserver library.
64 %description static -l pl
65 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
66 programów u¿ywaj±cych biblioteki vserver.
74 # --with-kerneldir=%{_kernelsrcdir}
79 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT/vservers
84 DESTDIR=$RPM_BUILD_ROOT
86 rm -f $RPM_BUILD_ROOT%{_sbindir}/util-vserver-vars
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
97 %attr(755,root,root) %{_sbindir}/*
99 %attr(0,root,root) %dir /vservers
100 %attr(-,root,root) %{_libdir}/%{name}
101 %attr(755,root,root) %{_libdir}/lib*.so.*
104 %defattr(644,root,root,755)
105 %{_includedir}/vserver.h
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_pkgconfigdir}/*.pc
111 %defattr(644,root,root,755)
112 %{_libdir}/libvserver.a