]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- fixed so lib location
[packages/util-vserver.git] / util-vserver.spec
1 # TODO:
2 # - split into core/build/sysv/legacy subpackages
3 #   (see util-vserver.spec inside of tarball)
4 #
5 Summary:        Linux virtual server utilities
6 Summary(pl):    Narzêdzia dla linuksowych serwerów wirtualnych
7 Name:           util-vserver
8 Version:        0.27.199
9 Release:        1
10 Epoch:          0
11 License:        GPL
12 Group:          Base
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
18 PreReq:         rc-scripts
19 Requires(post,preun):   /sbin/chkconfig
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
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.
28
29 This requires a special kernel supporting the new new_s_context and
30 set_ipv4root system call.
31
32 %description -l pl
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.
38
39 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
40 new_s_context i set_ipv4root.
41
42 %package devel
43 Summary:        Libraries for the linux vserver programs
44 Summary(pl):    Biblioteki u¿ywane do sterowania linuksowym vserwerem
45 Group:          Development/Libraries
46
47 %description devel
48 This package contains the header and object files necessary for
49 developing programs which use vserver library.
50
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.
54
55 %package static
56 Summary:        Static Libraries for the linux vserver programs
57 Summary(pl):    Biblioteki statyczne u¿ywane do sterowania linuksowym vserwerem
58 Group:          Development/Libraries
59
60 %description static
61 This package contains the header and object files necessary for
62 developing programs which use vserver library.
63
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.
67
68 %prep
69 %setup -q
70 %patch0 -p1
71
72 %build
73 %configure \
74 #       --with-kerneldir=%{_kernelsrcdir}
75 %{__make}
76
77
78 %install
79 rm -rf $RPM_BUILD_ROOT
80
81 install -d $RPM_BUILD_ROOT/vservers
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 rm -f $RPM_BUILD_ROOT%{_sbindir}/util-vserver-vars
87
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %files
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
97 %attr(755,root,root) %{_sbindir}/*
98 %{_mandir}/man8/*
99 %attr(0,root,root) %dir /vservers
100 %attr(-,root,root) %{_libdir}/%{name}
101 %attr(755,root,root) %{_libdir}/lib*.so.*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %{_includedir}/vserver.h
106 %{_libdir}/lib*.la
107 %attr(755,root,root) %{_libdir}/lib*.so
108 %{_pkgconfigdir}/*.pc
109
110 %files static
111 %defattr(644,root,root,755)
112 %{_libdir}/libvserver.a
This page took 0.104527 seconds and 3 git commands to generate.