]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- spaces->tabs
[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 URL:            http://savannah.nongnu.org/projects/util-vserver/
16 BuildRequires:  e2fsprogs-devel
17 PreReq:         rc-scripts
18 Requires(post,preun):   /sbin/chkconfig
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 This package provides the components and a framework to setup virtual
23 servers. A virtual server runs inside a Linux server. It is
24 nevertheless highly independent. As such, you can run various services
25 with normal configuration. The various vservers can't interact with
26 each other and can't interact with services in the main server.
27
28 This requires a special kernel supporting the new new_s_context and
29 set_ipv4root system call.
30
31 %description -l pl
32 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
33 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
34 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
35 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
36 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
37
38 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
39 new_s_context i set_ipv4root.
40
41 %package devel
42 Summary:        Development files for Linux vserver libraries
43 Summary(pl):    Pliki programistyczne dla bibliotek linuksowego vserwera
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46
47 %description devel
48 This package contains the development files necessary for developing
49 programs which use vserver library.
50
51 %description devel -l pl
52 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
53 programów u¿ywaj±cych biblioteki vserver.
54
55 %package static
56 Summary:        Static vserver library
57 Summary(pl):    Biblioteka statyczna vservera
58 Group:          Development/Libraries
59 Requires:       %{name}-devel = %{version}-%{release}
60
61 %description static
62 This package contains the static version of vserver library.
63
64 %description static -l pl
65 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
66
67 %prep
68 %setup -q
69
70 %build
71 %configure
72 #       --with-kerneldir=%{_kernelsrcdir}
73 %{__make}
74
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT/vservers
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 rm -f $RPM_BUILD_ROOT%{_sbindir}/util-vserver-vars
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post   -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
90
91 %files
92 %defattr(644,root,root,755)
93 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt
94 %attr(755,root,root) %{_sbindir}/*
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
96 %dir %{_libdir}/%{name}
97 %{_libdir}/%{name}/defaults
98 %dir %{_libdir}/%{name}/distributions
99 %{_libdir}/%{name}/distributions/defaults
100 %{_libdir}/%{name}/distributions/fc1
101 %attr(755,root,root) %{_libdir}/%{name}/distributions/redhat
102 %{_libdir}/%{name}/distributions/rh9
103 %attr(755,root,root) %{_libdir}/%{name}/legacy
104 %attr(755,root,root) %{_libdir}/%{name}/capchroot
105 %attr(755,root,root) %{_libdir}/%{name}/chroot-*
106 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
107 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
108 %attr(755,root,root) %{_libdir}/%{name}/filetime
109 %attr(755,root,root) %{_libdir}/%{name}/filetime
110 %{_libdir}/%{name}/functions
111 %attr(755,root,root) %{_libdir}/%{name}/ifspec
112 %attr(755,root,root) %{_libdir}/%{name}/listdevip
113 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
114 %attr(755,root,root) %{_libdir}/%{name}/parserpmdump
115 %attr(755,root,root) %{_libdir}/%{name}/pipe-sync
116 %attr(755,root,root) %{_libdir}/%{name}/readlink
117 %attr(755,root,root) %{_libdir}/%{name}/rootshell
118 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
119 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
120 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
121 %attr(755,root,root) %{_libdir}/%{name}/showperm
122 %{_libdir}/%{name}/util-vserver-vars
123 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
124 %attr(755,root,root) %{_libdir}/%{name}/vbuild
125 %attr(755,root,root) %{_libdir}/%{name}/vcheck
126 %attr(755,root,root) %{_libdir}/%{name}/vpkg
127 %attr(755,root,root) %{_libdir}/%{name}/vreboot
128 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
129 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
130 %{_libdir}/%{name}/vserver-build.*
131 %{_libdir}/%{name}/vserver-setup.functions
132 %{_libdir}/%{name}/vserver.*
133 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
134 %attr(755,root,root) %{_libdir}/%{name}/vunify
135 %{_mandir}/man8/*
136 %attr(0,root,root) %dir /vservers
137
138 %files devel
139 %defattr(644,root,root,755)
140 %attr(755,root,root) %{_libdir}/lib*.so
141 %{_libdir}/lib*.la
142 %{_includedir}/vserver.h
143 %{_pkgconfigdir}/*.pc
144
145 %files static
146 %defattr(644,root,root,755)
147 %{_libdir}/libvserver.a
This page took 0.051017 seconds and 4 git commands to generate.