]> 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:        2.00pre4
8 Release:        2
9 Source0:        ftp://ftp.cistron.nl/pub/people/mvw/quota/%{name}-2.00-pre4.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-man.patch
16 Patch2:         quota-rsquash.patch
17 Patch3:         quota-sparc.patch
18 Patch4:         quota-reiserfs.patch
19 BuildRequires:  e2fsprogs-devel
20 BuildRequires:  libwrap-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Quotas allow the system administrator to limit disk usage by a user and/or
25 group per filesystem. This package contains the tools which are needed to
26 enable, modify, and update quotas.
27
28 %description -l de
29 Quotas gestatten es dem Systemadministrator, die Festplattennutzung durch 
30 einen Anwender und/oder Gruppen pro Dateisystem zu beschränken. Es 
31 enthält die Tools, die zur Aktivierung, Modifikation und zum Aktualisieren 
32 von Quoten erforderlich sind."
33
34 %description -l fr
35 Les quotas permettant à l'administrateur système de limiter l'utilisation
36 disque par un utilisateur et/ou un groupe par système de fichiers. Ce paquetage
37 contient les outils nécessaires à la mise en place, la modification et la mise
38 à jour des quotas.
39
40 %description -l pl
41 Quota pozwala administaratorowi systemu na ograniczanie wielko¶ci miejsca 
42 na dysku dla u¿ytkownika/grupy. Pakiet ten zawiera narzêdzia do aktywacji 
43 i modyfikacji Quoty. 
44
45 %description -l tr
46 Kota, sistem yöneticisine, bir kullanýcýnýn ya da kullanýcý grubunun disk
47 kullanýmýný sýnýrlama yeteneði verir. Bu paket içerisindeki yazýlýmlar kota
48 sistemini kullanmak için gereken kontrol yazýlýmlarýdýr.
49
50 %prep
51 %setup -q -n %{name}-2.00-pre4
52
53 %patch0 -p1
54 %patch1 -p2 
55 %patch2 -p2 
56 #%patch3 -p2 
57 #%patch4 -p1
58
59 %build
60 %{__make} OPT="$RPM_OPT_FLAGS"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 install -d $RPM_BUILD_ROOT{/sbin,%{_bindir},%{_sbindir},%{_mandir}/man{1,2,3,8}}
66
67 %{__make} install \
68         ROOTDIR=$RPM_BUILD_ROOT \
69         mandir=%{_mandir}
70
71 echo .so rquotad.8 > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.rquotad.8
72
73 gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[18]/*
74
75 %clean
76 rm -rf $RPM_BUILD_ROOT
77
78 %files
79 %defattr(644,root,root,755)
80
81 %attr(755,root,root) /sbin/*
82 %attr(755,root,root) %{_sbindir}/edquota
83 %attr(755,root,root) %{_sbindir}/quotastats
84 %attr(755,root,root) %{_sbindir}/repquota
85 %attr(755,root,root) %{_sbindir}/setquota
86 %attr(755,root,root) %{_sbindir}/warnquota
87 %attr(755,root,root) %{_bindir}/*
88
89 %{_mandir}/man1/*
90 %{_mandir}/man8/edquota.8*
91 %{_mandir}/man8/quotacheck.8*
92 %{_mandir}/man8/quotaon.8*
93 %{_mandir}/man8/repquota.8*
94 %{_mandir}/man8/setquota.8*
This page took 0.077973 seconds and 4 git commands to generate.