]> git.pld-linux.org Git - packages/quota.git/blobdiff - quota.spec
- added man patch (formatting fixes)
[packages/quota.git] / quota.spec
index 085baa6bcf2a8c87d0aa3cbeaa31527903d5f6ef..70616b1d56b5f9db46f9cb80049764c58c61bbb4 100644 (file)
 Summary:       Quota administration package
-Summary(de):   Quotenverwaltungspaket 
+Summary(de):   Quotenverwaltungspaket
+Summary(es):   Paquete de administración cuota
 Summary(fr):   Paquetage de gestion des quotas
 Summary(pl):   Pakiet administaracyjny Quota
+Summary(pt_BR):        Pacote de administração quota
+Summary(ru):   õÔÉÌÉÔÙ ÓÉÓÔÅÍÎÏÇÏ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ ÄÌÑ ÕÐÒÁ×ÌÅÎÉÑ ÄÉÓËÏ×ÙÍÉ Ë×ÏÔÁÍÉ
 Summary(tr):   Kota denetleme paketi
+Summary(uk):   õÔÉ̦ÔÉ ÓÉÓÔÅÍÎÏÇÏ ÁÄͦΦÓÔÒÁÔÏÒÁ ÄÌÑ ËÅÒÕ×ÁÎÎÑ ÄÉÓËÏ×ÉÍÉ Ë×ÏÔÁÍÉ
 Name:          quota
-Version:       1.70
-Release:       1
-Source0:       ftp://ftp.cistron.nl/pub/people/mvw/quota/%{name}-%{version}.tar.gz
-Source1:       quota.sh
-Copyright:     BSD
-Group:         Utilities/System
-Group(pl):     Narzêdzia/System
-Patch0:                quota-Makefile.patch
-Patch1:                quota-glibc.patch
-Patch2:                quota-man.patch
-Patch3:                quota-dbtob.patch
-Patch4:                quota-rsquash.patch
-Patch5:                quota-sparc.patch
-Patch6:                quota-setquota.patch
+Version:       3.04
+Release:       2
+Epoch:         1
+License:       BSD
+Group:         Applications/System
+Source0:       http://prdownloads.sourceforge.net/linuxquota/%{name}-%{version}.tar.gz
+Source1:       %{name}-non-english-man-pages.tar.bz2
+URL:           http://sourceforge.net/projects/linuxquota/
+Patch0:                %{name}-Makefile.patch
+Patch1:                %{name}-defaults.patch
+Patch2:                %{name}-fixfree.patch
+Patch3:                %{name}-libwrap.patch
+Patch4:                %{name}-man.patch
 BuildRequires: e2fsprogs-devel
-Buildroot:     /tmp/%{name}-%{version}-root
+BuildRequires: libwrap-devel
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Quotas allow the system administrator to limit disk usage by a user and/or
-group per filesystem. This package contains the tools which are needed to
-enable, modify, and update quotas.
+Quotas allow the system administrator to limit disk usage by a user
+and/or group per filesystem. This package contains the tools which are
+needed to enable, modify, and update quotas.
 
 %description -l de
-Quotas gestatten es dem Systemadministrator, die Festplattennutzung durch 
-einen Anwender und/oder Gruppen pro Dateisystem zu beschränken. Es 
-enthält die Tools, die zur Aktivierung, Modifikation und zum Aktualisieren 
-von Quoten erforderlich sind."
+Quotas gestatten es dem Systemadministrator, die Festplattennutzung
+durch einen Anwender und/oder Gruppen pro Dateisystem zu beschränken.
+Es enthält die Tools, die zur Aktivierung, Modifikation und zum
+Aktualisieren von Quoten erforderlich sind."
+
+%description -l es
+Cuotas permite al administrador del sistema limitar el uso de disco
+por un usuario y/o grupo por sistema de archivos. Este paquete
+contiene las herramientas que son necesarias para activar, modificar y
+actualizar cuotas.
 
 %description -l fr
-Les quotas permettant à l'administrateur système de limiter l'utilisation
-disque par un utilisateur et/ou un groupe par système de fichiers. Ce paquetage
-contient les outils nécessaires à la mise en place, la modification et la mise
-à jour des quotas.
+Les quotas permettant à l'administrateur système de limiter
+l'utilisation disque par un utilisateur et/ou un groupe par système de
+fichiers. Ce paquetage contient les outils nécessaires à la mise en
+place, la modification et la mise à jour des quotas.
 
 %description -l pl
-Quota pozwala administaratorowi systemu na ograniczanie wielko¶ci miejsca 
-na dysku dla u¿ytkownika/grupy. Pakiet ten zawiera narzêdzia do aktywacji 
-i modyfikacji Quoty. 
+Quota pozwala administaratorowi systemu na ograniczanie wielko¶ci
+miejsca na dysku dla u¿ytkownika/grupy. Pakiet ten zawiera narzêdzia
+do aktywacji i modyfikacji Quoty.
 
-%description -l tr
-Kota, sistem yöneticisine, bir kullanýcýnýn ya da kullanýcý grubunun disk
-kullanýmýný sýnýrlama yeteneði verir. Bu paket içerisindeki yazýlýmlar kota
-sistemini kullanmak için gereken kontrol yazýlýmlarýdýr.
+%description -l pt_BR
+Quotas permite ao administrador do sistema limitar o uso de disco por
+um usuário e/ou grupo por sistema de arquivos. Este pacote contém as
+ferramentas que são necessárias para ativar, modificar e atualizar
+quotas.
 
-%package rquotad
-Summary:       Remote quota server.
-Summary(pl):   Zdalny serwer quota.
-Group:         Networking/Daemons
-Group(pl):     Sieciowe/Serwery
+%description -l ru
+ðÁËÅÔ quota ÓÏÄÅÒÖÉÔ ÕÔÉÌÉÔÙ ÓÉÓÔÅÍÎÏÇÏ ÁÄÍÉÎÉÓÔÒÁÔÏÒÁ ÄÌÑ ÍÏÎÉÔÏÒÉÎÇÁ
+É ÏÇÒÁÎÉÞÅÎÉÑ ÉÓÐÏÌØÚÏ×ÁÎÉÑ ÄÉÓËÏ×ÏÇÏ ÐÒÏÓÔÒÁÎÓÔ×Á ÐÏÌØÚÏ×ÁÔÅÌÑÍÉ É ÉÈ
+ÇÒÕÐÐÁÍÉ × ËÁÖÄÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÅ.
 
-%description rquotad
-rquotad is an rpc(3N) server which returns quotas for a user of a local file system which
-is mounted by a remote machine over the NFS. The results are used by quota(1) to display
-user quotas for remote file systems. 
+%description -l tr
+Kota, sistem yöneticisine, bir kullanýcýnýn ya da kullanýcý grubunun
+disk kullanýmýný sýnýrlama yeteneði verir. Bu paket içerisindeki
+yazýlýmlar kota sistemini kullanmak için gereken kontrol
+yazýlýmlarýdýr.
 
-%description -l pl rquotad
-Zdalny serwer quota.
+%description -l uk
+ðÁËÅÔ quota Í¦ÓÔÉÔØ ÕÔÉ̦ÔÉ ÓÉÓÔÅÍÎÏÇÏ ÁÄͦΦÓÔÒÁÔÏÒÁ ÄÌÑ ÍÏΦÔÏÒÉÎÇÕ
+ÔÁ ÏÂÍÅÖÅÎÎÑ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÉÓËÏ×ÏÇÏ ÐÒÏÓÔÏÒÕ ËÏÒÉÓÔÕ×ÁÞÁÍÉ ÔÁ §È
+ÇÒÕÐÁÍÉ × ËÏÖΦʠÆÁÊÌÏצʠÓÉÓÔÅͦ.
 
 %prep
-%setup -q -n %{name}
-
-%patch0 -p1 -b .pld 
-%patch1 -p2 
-%patch2 -p2 
-%patch3 -p2 
-%patch4 -p2 
-%patch5 -p2 
-%patch6 -p1
+%setup -q -n quota-tools
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p0
 
 %build
-make OPT="$RPM_OPT_FLAGS"
+aclocal
+autoconf
+%configure
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT{/sbin,%{_bindir},%{_sbindir},%{_mandir}/man{1,2,3,8}}
 
-make install \
-       ROOTDIR=$RPM_BUILD_ROOT \
-       mandir=%{_mandir}
+%{__make} install \
+       ROOTDIR=$RPM_BUILD_ROOT
+
+echo .so quotaon.8 > $RPM_BUILD_ROOT%{_mandir}/man8/quotaoff.8
+rm -f $RPM_BUILD_ROOT%{_mandir}/man8/*rquotad.8
 
-echo .so rquotad.8 > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.rquotad.8
+bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
+rm -f $RPM_BUILD_ROOT%{_mandir}/*/man8/*rquotad.8
 
-gzip -9fn $RPM_BUILD_ROOT%{_mandir}/man[18]/*
+gzip -9 doc/{quotas-1.eps,quotas.ms}
+
+%find_lang quota
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f quota.lang
 %defattr(644,root,root,755)
-
+%doc doc/*.gz
 %attr(755,root,root) /sbin/*
 %attr(755,root,root) %{_sbindir}/edquota
+%attr(755,root,root) %{_sbindir}/quot
 %attr(755,root,root) %{_sbindir}/quotastats
 %attr(755,root,root) %{_sbindir}/repquota
+%attr(755,root,root) %{_sbindir}/setquota
+%attr(755,root,root) %{_sbindir}/warnquota
+%attr(755,root,root) %{_sbindir}/xqmstats
 %attr(755,root,root) %{_bindir}/*
 
 %{_mandir}/man1/*
-%{_mandir}/man8/edquota.8*
-%{_mandir}/man8/quotacheck.8*
-%{_mandir}/man8/quotaon.8*
-%{_mandir}/man8/repquota.8*
-%{_mandir}/man8/setquota.8*
+%{_mandir}/man8/*
 
-%files rquotad
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/rpc.rquotad
+%lang(fi) %{_mandir}/fi/man1/*
+
+%lang(hu) %{_mandir}/hu/man8/*
+
+%lang(ja) %{_mandir}/ja/man1/*
+%lang(ja) %{_mandir}/ja/man8/*
 
-%{_mandir}/man8/*rquotad*
+%lang(pl) %{_mandir}/pl/man1/*
+%lang(pl) %{_mandir}/pl/man8/*
This page took 0.108028 seconds and 4 git commands to generate.