]> git.pld-linux.org Git - packages/quota.git/blob - quota.spec
- added memleak/rquotad patch
[packages/quota.git] / quota.spec
1 Summary:        Quota administration package
2 Summary(de):    Quotenverwaltungspaket 
3 Summary(fr):    Paquetage de gestion des quotas
4 Summary(pl):    Pakiet administaracyjny Quota
5 Summary(tr):    Kota denetleme paketi
6 Name:           quota
7 Version:        1.70
8 Release:        3
9 Source0:        ftp://ftp.cistron.nl/pub/people/mvw/quota/%{name}-%{version}.tar.gz
10 Source1:        quota.sh
11 Copyright:      BSD
12 Group:          Utilities/System
13 Group(pl):      Narzêdzia/System
14 Patch0:         quota-Makefile.patch
15 Patch1:         quota-glibc.patch
16 Patch2:         quota-man.patch
17 Patch3:         quota-dbtob.patch
18 Patch4:         quota-rsquash.patch
19 Patch5:         quota-sparc.patch
20 Patch6:         quota-setquota.patch
21 Patch7:         quota-memleak.patch
22 BuildRequires:  e2fsprogs-devel
23 Buildroot:      /tmp/%{name}-%{version}-root
24
25 %description
26 Quotas allow the system administrator to limit disk usage by a user and/or
27 group per filesystem. This package contains the tools which are needed to
28 enable, modify, and update quotas.
29
30 %description -l de
31 Quotas gestatten es dem Systemadministrator, die Festplattennutzung durch 
32 einen Anwender und/oder Gruppen pro Dateisystem zu beschränken. Es 
33 enthält die Tools, die zur Aktivierung, Modifikation und zum Aktualisieren 
34 von Quoten erforderlich sind."
35
36 %description -l fr
37 Les quotas permettant à l'administrateur système de limiter l'utilisation
38 disque par un utilisateur et/ou un groupe par système de fichiers. Ce paquetage
39 contient les outils nécessaires à la mise en place, la modification et la mise
40 à jour des quotas.
41
42 %description -l pl
43 Quota pozwala administaratorowi systemu na ograniczanie wielko¶ci miejsca 
44 na dysku dla u¿ytkownika/grupy. Pakiet ten zawiera narzêdzia do aktywacji 
45 i modyfikacji Quoty. 
46
47 %description -l tr
48 Kota, sistem yöneticisine, bir kullanýcýnýn ya da kullanýcý grubunun disk
49 kullanýmýný sýnýrlama yeteneði verir. Bu paket içerisindeki yazýlýmlar kota
50 sistemini kullanmak için gereken kontrol yazýlýmlarýdýr.
51
52 %package rquotad
53 Summary:        Remote quota server.
54 Summary(pl):    Zdalny serwer quota.
55 Group:          Networking/Daemons
56 Group(pl):      Sieciowe/Serwery
57 Requires:       %{name}
58
59 %description rquotad
60 rquotad is an rpc(3N) server which returns quotas for a user of a local file system which
61 is mounted by a remote machine over the NFS. The results are used by quota(1) to display
62 user quotas for remote file systems. 
63
64 %description -l pl rquotad
65 Zdalny serwer quota.
66
67 %prep
68 %setup -q -n %{name}
69
70 %patch0 -p1 -b .pld 
71 %patch1 -p2 
72 %patch2 -p2 
73 %patch3 -p2 
74 %patch4 -p2 
75 %patch5 -p2 
76 %patch6 -p1
77 %patch7 -p1
78
79 %build
80 make OPT="$RPM_OPT_FLAGS"
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 install -d $RPM_BUILD_ROOT{/sbin,%{_bindir},%{_sbindir},%{_mandir}/man{1,2,3,8}}
86
87 make install \
88         ROOTDIR=$RPM_BUILD_ROOT \
89         mandir=%{_mandir}
90
91 echo .so rquotad.8 > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.rquotad.8
92
93 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[18]/*
94
95 %clean
96 rm -rf $RPM_BUILD_ROOT
97
98 %files
99 %defattr(644,root,root,755)
100
101 %attr(755,root,root) /sbin/*
102 %attr(755,root,root) %{_sbindir}/edquota
103 %attr(755,root,root) %{_sbindir}/quotastats
104 %attr(755,root,root) %{_sbindir}/repquota
105 %attr(755,root,root) %{_bindir}/*
106
107 %{_mandir}/man1/*
108 %{_mandir}/man8/edquota.8*
109 %{_mandir}/man8/quotacheck.8*
110 %{_mandir}/man8/quotaon.8*
111 %{_mandir}/man8/repquota.8*
112 %{_mandir}/man8/setquota.8*
113
114 %files rquotad
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_sbindir}/rpc.rquotad
117
118 %{_mandir}/man8/*rquotad*
This page took 0.04101 seconds and 4 git commands to generate.