]> git.pld-linux.org Git - packages/quota.git/blob - quota.spec
- -d option for warnquota (don't attach quota report in email)
[packages/quota.git] / quota.spec
1 Summary:        Quota administration package
2 Summary(de):    Quotenverwaltungspaket
3 Summary(es):    Paquete de administración cuota
4 Summary(fr):    Paquetage de gestion des quotas
5 Summary(pl):    Pakiet administaracyjny Quota
6 Summary(pt_BR): Pacote de administração quota
7 Summary(ru):    õÔÉÌÉÔÙ ÓÉÓÔÅÍÎÏÇÏ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÄÉÓËÏ×ÙÍÉ Ë×ÏÔÁÍÉ
8 Summary(tr):    Kota denetleme paketi
9 Summary(uk):    õÔÉ̦ÔÉ ÓÉÓÔÅÍÎÏÇÏ ÁÄͦΦÓÔÒÁÔÏÒÁ ÄÌÑ ËÅÒÕ×ÁÎÎÑ ÄÉÓËÏ×ÉÍÉ Ë×ÏÔÁÍÉ
10 Summary(zh_CN): ´ÅÅÌʹÓÃÇé¿öµÄ¼à¿Ø¹¤¾ß
11 Name:           quota
12 Version:        3.09
13 Release:        2
14 Epoch:          1
15 License:        BSD
16 Group:          Applications/System
17 Source0:        http://dl.sourceforge.net/linuxquota/%{name}-%{version}.tar.gz
18 # Source0-md5:  f723962e0c4783837d9f38f59a748bca
19 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
20 # Source1-md5:  05a209bc054366ea190d1c67669f9ca3
21 Source2:        r%{name}d.init
22 Source3:        r%{name}d.sysconfig
23 URL:            http://sourceforge.net/projects/linuxquota/
24 Patch0:         %{name}-defaults.patch
25 Patch1:         %{name}-missing-nls.patch
26 Patch2:         %{name}-pl.po-update.patch
27 Patch3:         %{name}-warnquota_nodetails.patch
28 BuildRequires:  autoconf
29 BuildRequires:  automake
30 BuildRequires:  e2fsprogs-devel
31 BuildRequires:  gettext-devel
32 BuildRequires:  libwrap-devel
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Quotas allow the system administrator to limit disk usage by a user
37 and/or group per filesystem. This package contains the tools which are
38 needed to enable, modify, and update quotas.
39
40 %description -l de
41 Quotas gestatten es dem Systemadministrator, die Festplattennutzung
42 durch einen Anwender und/oder Gruppen pro Dateisystem zu beschränken.
43 Es enthält die Tools, die zur Aktivierung, Modifikation und zum
44 Aktualisieren von Quoten erforderlich sind."
45
46 %description -l es
47 Cuotas permite al administrador del sistema limitar el uso de disco
48 por un usuario y/o grupo por sistema de archivos. Este paquete
49 contiene las herramientas que son necesarias para activar, modificar y
50 actualizar cuotas.
51
52 %description -l fr
53 Les quotas permettant à l'administrateur système de limiter
54 l'utilisation disque par un utilisateur et/ou un groupe par système de
55 fichiers. Ce paquetage contient les outils nécessaires à la mise en
56 place, la modification et la mise à jour des quotas.
57
58 %description -l pl
59 Quota pozwala administaratorowi systemu na ograniczanie wielko¶ci
60 miejsca na dysku dla u¿ytkownika/grupy. Pakiet ten zawiera narzêdzia
61 do aktywacji i modyfikacji Quoty.
62
63 %description -l pt_BR
64 Quotas permite ao administrador do sistema limitar o uso de disco por
65 um usuário e/ou grupo por sistema de arquivos. Este pacote contém as
66 ferramentas que são necessárias para ativar, modificar e atualizar
67 quotas.
68
69 %description -l ru
70 ðÁËÅÔ quota ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ ÓÉÓÔÅÍÎÏÇÏ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ ÄÌÑ ÍÏÎÉÔÏÒÉÎÇÁ
71 É ÏÇÒÁÎÉÞÅÎÉÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÄÉÓËÏ×ÏÇÏ ÐÒÏÓÔÒÁÎÓÔ×Á ÐÏÌØÚÏ×ÁÔÅÌÑÍÉ É ÉÈ
72 ÇÒÕÐÐÁÍÉ × ËÁÖÄÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÅ.
73
74 %description -l tr
75 Kota, sistem yöneticisine, bir kullanýcýnýn ya da kullanýcý grubunun
76 disk kullanýmýný sýnýrlama yeteneði verir. Bu paket içerisindeki
77 yazýlýmlar kota sistemini kullanmak için gereken kontrol
78 yazýlýmlarýdýr.
79
80 %description -l uk
81 ðÁËÅÔ quota Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ ÓÉÓÔÅÍÎÏÇÏ ÁÄͦΦÓÔÒÁÔÏÒÁ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ
82 ÔÁ ÏÂÍÅÖÅÎÎÑ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÉÓËÏ×ÏÇÏ ÐÒÏÓÔÏÒÕ ËÏÒÉÓÔÕ×ÁÞÁÍÉ ÔÁ §È
83 ÇÒÕÐÁÍÉ × ËÏÖΦʠÆÁÊÌÏצʠÓÉÓÔÅͦ.
84
85 %package rquotad
86 Summary:        Remote quota server
87 Summary(pl):    Zdalny serwer quota
88 Group:          Networking/Daemons
89 PreReq:         rc-scripts
90 Requires(post,preun):   /sbin/chkconfig
91 Requires:       portmap >= 4.0
92 Obsoletes:      nfs-utils-rquotad
93
94 %description rquotad
95 rquotad is an rpc(3N) server which returns quotas for a user of a
96 local file system which is mounted by a remote machine over the NFS.
97 The results are used by quota(1) to display user quotas for remote
98 file systems.
99
100 %description rquotad -l pl
101 rquotad jest serverem rpc(3N), który zwraca quoty u¿ytkownika
102 lokalnego systemu plików, który jest zamountowany przez zdaln± maszynê
103 poprzez NFS. Rezultaty s± u¿ywane przez quota(1), aby wy¶wietliæ quote
104 dla zdalnego systemu plików.
105
106 %prep
107 %setup -q -n quota-tools
108 %patch0 -p1
109 %patch1 -p1
110 %patch2 -p1 -b .orig
111 %patch3 -p1
112
113 %build
114 %{__aclocal}
115 %{__autoconf}
116 %configure
117 %{__make}
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121 install -d $RPM_BUILD_ROOT{%{_bindir},%{_sbindir},%{_mandir}/man{1,2,3,8}} \
122         $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
123
124 %{__make} install \
125         ROOTDIR=$RPM_BUILD_ROOT
126
127 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/rquotad
128 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rquotad
129
130 echo ".so quotaon.8" > $RPM_BUILD_ROOT%{_mandir}/man8/quotaoff.8
131 echo ".so rquotad.8" >  $RPM_BUILD_ROOT%{_mandir}/man8/rpc.rquotad.8
132
133 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
134
135 %find_lang quota
136
137 %clean
138 rm -rf $RPM_BUILD_ROOT
139
140 %post rquotad
141 /sbin/chkconfig --add rquotad
142 if [ -r /var/lock/subsys/rquotad ]; then
143         /etc/rc.d/init.d/rquotad restart >&2
144 else
145         echo "Run \"/etc/rc.d/init.d/rquotad start\" to start NFS quota daemon."
146 fi
147
148 %preun rquotad
149 if [ "$1" = "0" ]; then
150         if [ -r /var/lock/subsys/rquotad ]; then
151                 /etc/rc.d/init.d/rquotad stop >&2
152         fi
153         /sbin/chkconfig --del rquotad
154 fi
155
156 %files -f quota.lang
157 %defattr(644,root,root,755)
158 %doc doc/{quotas-1.eps,quotas.ms} quotatab
159 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/quotagrpadmins
160 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/quotatab
161 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/warnquota.conf
162 %attr(755,root,root) %{_sbindir}/*
163 %attr(755,root,root) %{_bindir}/*
164
165 %{_mandir}/man1/*
166 %{_mandir}/man8/quot*.8*
167 %{_mandir}/man8/*quota.8*
168
169 %lang(fi) %{_mandir}/fi/man1/*
170
171 %lang(hu) %{_mandir}/hu/man8/*
172
173 %lang(ja) %{_mandir}/ja/man1/*
174 %lang(ja) %{_mandir}/ja/man8/quota*
175 %lang(ja) %{_mandir}/ja/man8/edquota.8*
176 %lang(ja) %{_mandir}/ja/man8/repquota.8*
177 %lang(ja) %{_mandir}/ja/man8/setquota.8*
178
179 %lang(pl) %{_mandir}/pl/man1/*
180 %lang(pl) %{_mandir}/pl/man8/*
181
182 %files rquotad
183 %defattr(644,root,root,755)
184 %attr(755,root,root) %{_sbindir}/rpc.rquotad
185 %attr(754,root,root) /etc/rc.d/init.d/rquotad
186 %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rquotad
187
188 %{_mandir}/man8/*rquotad.8*
189 %lang(fr) %{_mandir}/fr/man8/*rquotad.8*
190 %lang(ja) %{_mandir}/ja/man8/*rquotad.8*
This page took 0.102055 seconds and 3 git commands to generate.