]> git.pld-linux.org Git - packages/util-vserver.git/blob - util-vserver.spec
- fixed URL
[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.1
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 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 %dir %{_libdir}/%{name}
96 %attr(755,root,root) %{_libdir}/%{name}/distrib-info
97 %attr(755,root,root) %{_libdir}/%{name}/legacy
98 %attr(755,root,root) %{_libdir}/%{name}/capchroot
99 %attr(755,root,root) %{_libdir}/%{name}/fakerunlevel
100 %attr(755,root,root) %{_libdir}/%{name}/filetime
101 %attr(755,root,root) %{_libdir}/%{name}/ifspec
102 %attr(755,root,root) %{_libdir}/%{name}/listdevip
103 %attr(755,root,root) %{_libdir}/%{name}/parserpmdump
104 %attr(755,root,root) %{_libdir}/%{name}/readlink
105 %attr(755,root,root) %{_libdir}/%{name}/rootshell
106 %{_libdir}/%{name}/sample.conf
107 %attr(755,root,root) %{_libdir}/%{name}/sample.sh
108 %attr(755,root,root) %{_libdir}/%{name}/save_s_context
109 %attr(755,root,root) %{_libdir}/%{name}/setattr
110 %attr(755,root,root) %{_libdir}/%{name}/showattr
111 %attr(755,root,root) %{_libdir}/%{name}/showperm
112 %{_libdir}/%{name}/util-vserver-vars
113 %attr(755,root,root) %{_libdir}/%{name}/vbuild
114 %attr(755,root,root) %{_libdir}/%{name}/vcheck
115 %attr(755,root,root) %{_libdir}/%{name}/vprofile
116 %attr(755,root,root) %{_libdir}/%{name}/vreboot
117 %attr(755,root,root) %{_libdir}/%{name}/vserverkillall
118 %attr(755,root,root) %{_libdir}/%{name}/vservers.grabinfo.sh
119 %attr(755,root,root) %{_libdir}/%{name}/vsysvwrapper
120 %attr(755,root,root) %{_libdir}/%{name}/vunify
121 %{_libdir}/%{name}/*-minimum
122 %attr(755,root,root) %{_libdir}/%{name}/install-*
123 %{_mandir}/man8/*
124 %attr(0,root,root) %dir /vservers
125
126 %files devel
127 %defattr(644,root,root,755)
128 %{_libdir}/lib*.a
129 %{_includedir}/vserver.h
130
131 %if 0
132 %files static
133 %defattr(644,root,root,755)
134 %{_libdir}/libvserver.a
135 %endif
This page took 0.044776 seconds and 4 git commands to generate.