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