]> git.pld-linux.org Git - packages/vzquota.git/blob - vzquota.spec
- fix time_t confusion on x32
[packages/vzquota.git] / vzquota.spec
1 Summary:        Virtuozzo/OpenVZ disk quota control utility
2 Summary(pl.UTF-8):      Narzędzie do sterowania limitami dyskowymi Virtuozzo/OpenVZ
3 Name:           vzquota
4 Version:        3.1
5 Release:        2
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        http://download.openvz.org/utils/vzquota/%{version}/src/%{name}-%{version}.tar.bz2
9 # Source0-md5:  a3c837999a90381ba028ee73e84f40f2
10 Patch0:         vzquota.patch
11 Patch1:         time_t.patch
12 URL:            http://openvz.org/
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 This utility allows system administator to control disk quotas for
17 Virtuozzo/OpenVZ containers.
18
19 %description -l pl.UTF-8
20 To narzędzie pozwala administratorowi systemu sterować limitami
21 dyskowymi (quota) dla kontenerów Virtuozzo/OpenVZ.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26 %patch1 -p1
27
28 %build
29 %{__make} \
30         CC="%{__cc}" \
31         DEBUG="%{rpmcflags} %{rpmldflags}" \
32         VARDIR=/var/lib
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT \
39         VARDIR=/var/lib
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc NEWS README
47 %attr(755,root,root) %{_sbindir}/vzquota
48 %attr(755,root,root) %{_sbindir}/vzdqcheck
49 %attr(755,root,root) %{_sbindir}/vzdqdump
50 %attr(755,root,root) %{_sbindir}/vzdqload
51 %{_mandir}/man8/vzquota.8*
52 %{_mandir}/man8/vzdqcheck.8*
53 %{_mandir}/man8/vzdqdump.8*
54 %{_mandir}/man8/vzdqload.8*
55 %dir %{_var}/lib/vzquota
This page took 0.092876 seconds and 4 git commands to generate.