]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
f76d79bf2900a0a39f14a34c63ab5402c9936983
[packages/util-vserver.git] / util-vserver.spec
1 Summary:        Linux virtual server utilities
2 Summary(pl):    Narzêdzia dla linuksowych serwerów wirtualnych
3 Name:           util-vserver
4 Version:        0.27.199
5 Release:        1
6 Epoch:          0
7 License:        GPL
8 Group:          Base
9 Source0:        http://www.13thfloor.at/vserver/d_release/v1.3.6/%{name}-%{version}.tar.bz2
10 # Source0-md5:  d5d4330dc95dbf70bac9b24d53d1e779
11 Patch0:         %{name}-maxpath.patch
12 URL:            http://savannah.nongnu.org/projects/util-vserver/
13 BuildRequires:  e2fsprogs-devel
14 PreReq:         rc-scripts
15 Requires(post,preun):   /sbin/chkconfig
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This package provides the components and a framework to setup virtual
20 servers. A virtual server runs inside a Linux server. It is
21 nevertheless highly independent. As such, you can run various services
22 with normal configuration. The various vservers can't interact with
23 each other and can't interact with services in the main server.
24
25 This requires a special kernel supporting the new new_s_context and
26 set_ipv4root system call.
27
28 %description -l pl
29 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
30 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
31 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
32 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
33 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
34
35 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
36 new_s_context i set_ipv4root.
37
38 %package devel
39 Summary:        Libraries for the linux vserver programs
40 Summary(pl):    Biblioteki u¿ywane do sterowania linuksowym vserwerem
41 Group:          Development/Libraries
42
43 %description devel
44 This package contains the header and object files necessary for
45 developing programs which use vserver library.
46
47 %description devel -l pl
48 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
49 programów u¿ywaj±cych biblioteki vserver.
50
51 %package static
52 Summary:        Static Libraries for the linux vserver programs
53 Summary(pl):    Biblioteki statyczne u¿ywane do sterowania linuksowym vserwerem
54 Group:          Development/Libraries
55
56 %description static
57 This package contains the header and object files necessary for
58 developing programs which use vserver library.
59
60 %description static -l pl
61 Ten pakiet zawiera pliki nag³ówkowe i bibliotekê konieczn± do rozwoju
62 programów u¿ywaj±cych biblioteki vserver.
63
64 %prep
65 %setup -q
66 %patch0 -p1
67
68 %build
69 %configure \
70 #       --with-kerneldir=%{_kernelsrcdir}
71 %{__make}
72
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 rm -f $RPM_BUILD_ROOT%{_sbindir}/util-vserver-vars
81
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %files
89 %defattr(644,root,root,755)
90 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
91 %attr(755,root,root) %{_sbindir}/*
92 %{_mandir}/man8/*
93 %attr(0,root,root) %dir /vservers
94 %attr(-,root,root) %{_libdir}/%{name}
95
96 %files devel
97 %defattr(644,root,root,755)
98 %{_includedir}/vserver.h
99 %attr(755,root,root) %{_libdir}/lib*.so.*
100 %{_pkgconfigdir}/*.pc
101
102 %files static
103 %defattr(644,root,root,755)
104 %{_libdir}/libvserver.a
This page took 0.041653 seconds and 3 git commands to generate.