]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- fixed BRs
[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.30.207
9 Release:        0.2
10 Epoch:          0
11 License:        GPL
12 Group:          Base
13 Source0:        http://www.13thfloor.at/~ensc/util-vserver/files/alpha/%{name}-%{version}.tar.bz2
14 # Source0-md5:  1c8457a687643ae8a7b1f1d34ebbdd68
15 Patch0:         %{name}-no-kernel-includes.patch
16 URL:            http://savannah.nongnu.org/projects/util-vserver/
17 BuildRequires:  e2fsprogs-devel
18 BuildRequires:  libxslt-progs
19 PreReq:         rc-scripts
20 Requires(post,preun):   /sbin/chkconfig
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 This package provides the components and a framework to setup virtual
25 servers. A virtual server runs inside a Linux server. It is
26 nevertheless highly independent. As such, you can run various services
27 with normal configuration. The various vservers can't interact with
28 each other and can't interact with services in the main server.
29
30 This requires a special kernel supporting the new new_s_context and
31 set_ipv4root system call.
32
33 %description -l pl
34 Ten pakiet dostarcza sk³adniki i szkielet do tworzenia wirtualnych
35 serwerów. Wirtualny serwer dzia³a wewn±trz serwera linuksowego, lecz
36 jest od niego w du¿ym stopniu niezale¿ny. Jako taki mo¿e uruchamiaæ
37 ró¿ne us³ugi z normaln± konfiguracj±. Ró¿ne vserwery nie mog± wchodziæ
38 w interakcjê z innymi ani z us³ugami na g³ównym serwerze.
39
40 Wymaga to specjalnego j±dra obs³uguj±cego nowe wywo³ania systemowe
41 new_s_context i set_ipv4root.
42
43 %package devel
44 Summary:        Development files for Linux vserver libraries
45 Summary(pl):    Pliki programistyczne dla bibliotek linuksowego vserwera
46 Group:          Development/Libraries
47 Requires:       %{name} = %{version}-%{release}
48
49 %description devel
50 This package contains the development files necessary for developing
51 programs which use vserver library.
52
53 %description devel -l pl
54 Ten pakiet zawiera pliki programistyczne konieczne do rozwijania
55 programów u¿ywaj±cych biblioteki vserver.
56
57 %package static
58 Summary:        Static vserver library
59 Summary(pl):    Biblioteka statyczna vservera
60 Group:          Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 This package contains the static version of vserver library.
65
66 %description static -l pl
67 Ten pakiet zawiera statyczn± wersjê biblioteki vservera.
68
69 %prep
70 %setup -q
71 %patch0 -p1
72
73 %build
74 %configure
75 #       --with-kerneldir=%{_kernelsrcdir}
76 %{__make}
77
78 cd doc
79 xsltproc --stringparam confdir '%{_sysconfdir}/vservers' -o compatibility.html compatibility-xhtml.xsl compatibility.xml
80 xsltproc --stringparam confdir '%{_sysconfdir}/vservers' -o configuration.html configuration-xhtml.xsl configuration.xml
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT/vservers
85
86 %{__make} install \
87         DESTDIR=$RPM_BUILD_ROOT
88
89 rm -f $RPM_BUILD_ROOT%{_sbindir}/util-vserver-vars
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS ChangeLog NEWS THANKS doc/intro.txt doc/*.html
100 %dir %{_sysconfdir}/vservers
101 %dir %{_sysconfdir}/vservers/.distributions
102 %{_sysconfdir}/vservers/.distributions/*
103 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/vservers.conf
104 %attr(755,root,root) %{_sbindir}/*
105 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
106 %dir %{_libdir}/%{name}
107 %dir %{_libdir}/%{name}/defaults
108 %dir %{_libdir}/%{name}/distributions
109 %dir %{_libdir}/%{name}/legacy
110 %{_libdir}/%{name}/defaults/*
111 %{_libdir}/%{name}/distributions/*
112 %{_libdir}/%{name}/legacy/*
113 %attr(755,root,root) %{_libdir}/%{name}/FEATURES.txt
114 %attr(755,root,root) %{_libdir}/%{name}/capchroot
115 %attr(755,root,root) %{_libdir}/%{name}/chain-echo
116 %attr(755,root,root) %{_libdir}/%{name}/chcontext-compat
117 %attr(755,root,root) %{_libdir}/%{name}/check-unixfile
118 %attr(755,root,root) %{_libdir}/%{name}/chroot-*
119 %attr(755,root,root) %{_libdir}/%{name}/exec-ulimit
120 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
121 %attr(755,root,root) %{_libdir}/%{name}/filetime
122 %{_libdir}/%{name}/functions
123 %attr(755,root,root) %{_libdir}/%{name}/keep-ctx-alive
124 %attr(755,root,root) %{_libdir}/%{name}/lockfile
125 %attr(755,root,root) %{_libdir}/%{name}/mask2prefix
126 %attr(755,root,root) %{_libdir}/%{name}/pkgmgmt
127 %attr(755,root,root) %{_libdir}/%{name}/readlink
128 %attr(755,root,root) %{_libdir}/%{name}/rpm-fake*
129 %attr(755,root,root) %{_libdir}/%{name}/save_ctxinfo
130 %attr(755,root,root) %{_libdir}/%{name}/secure-mount
131 %attr(755,root,root) %{_libdir}/%{name}/sigexec
132 %attr(755,root,root) %{_libdir}/%{name}/start-vservers
133 %{_libdir}/%{name}/util-vserver-vars
134 %attr(755,root,root) %{_libdir}/%{name}/vapt-get-worker
135 %attr(755,root,root) %{_libdir}/%{name}/vbuild
136 %attr(755,root,root) %{_libdir}/%{name}/vcheck
137 %attr(755,root,root) %{_libdir}/%{name}/vcopy
138 %attr(755,root,root) %{_libdir}/%{name}/vhashify
139 %attr(755,root,root) %{_libdir}/%{name}/vpkg
140 %attr(755,root,root) %{_libdir}/%{name}/vprocunhide
141 %attr(755,root,root) %{_libdir}/%{name}/vrpm-*
142 %attr(755,root,root) %{_libdir}/%{name}/vserver-build
143 %{_libdir}/%{name}/vserver-build.*
144 %{_libdir}/%{name}/vserver-setup.functions
145 %attr(755,root,root) %{_libdir}/%{name}/vserver-wrapper
146 %{_libdir}/%{name}/vserver.*
147 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
148 %attr(755,root,root) %{_libdir}/%{name}/vshelper
149 %attr(755,root,root) %{_libdir}/%{name}/vshelper-sync
150 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
151 %attr(755,root,root) %{_libdir}/%{name}/vunify
152 %attr(755,root,root) %{_libdir}/%{name}/vyum-worker
153 %{_mandir}/man8/*
154 %attr(0,root,root) %dir /vservers
155
156 %files devel
157 %defattr(644,root,root,755)
158 %attr(755,root,root) %{_libdir}/lib*.so
159 %{_libdir}/lib*.la
160 %{_includedir}/vserver.h
161 %{_pkgconfigdir}/*.pc
162
163 %files static
164 %defattr(644,root,root,755)
165 %{_libdir}/libvserver.a
This page took 0.260731 seconds and 4 git commands to generate.