]> git.pld-linux.org Git - packages/quota.git/blob - quota.spec
s-/usr/sbin-%{_sbindir}-
[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.55
8 Release:        11d
9 URL:            ftp://sunsite.unc.edu/pub/Linux/system/Admin
10 Source0:        %{name}-%{version}.tar.gz
11 Source1:        %{name}.sh
12 Copyright:      BSD
13 Group:          Utilities/System
14 Group(pl):      U¿ytki/System
15 Patch0:         %{name}-misc.patch
16 Patch1:         %{name}-glibc.patch
17 Patch2:         %{name}-nfs.patch
18 Patch3:         %{name}-dbtob.patch
19 Buildroot:      /tmp/%{name}-%{version}-%{release}-root
20
21 %description
22 Quotas allow the system administrator to limit disk usage by a user and/or
23 group per filesystem. This package contains the tools which are needed to
24 enable, modify, and update quotas.
25
26 %description -l de
27 Quotas gestatten es dem Systemadministrator, die Festplattennutzung durch 
28 einen Anwender und/oder Gruppen pro Dateisystem zu beschränken. Es 
29 enthält die Tools, die zur Aktivierung, Modifikation und zum Aktualisieren 
30 von Quoten erforderlich sind."
31
32 %description -l fr
33 Les quotas permettant à l'administrateur système de limiter l'utilisation
34 disque par un utilisateur et/ou un groupe par système de fichiers. Ce paquetage
35 contient les outils nécessaires à la mise en place, la modification et la mise
36 à jour des quotas.
37
38 %description -l pl
39 Quota pozwala administaratorowi systemu na ograniczanie wielko¶ci miejsca 
40 na dysku dla u¿ytkownika/grupy. Pakiet ten zawiera narzêdzia do aktywacji 
41 i modyfikacji Quoty. 
42
43 %description -l tr
44 Kota, sistem yöneticisine, bir kullanýcýnýn ya da kullanýcý grubunun disk
45 kullanýmýný sýnýrlama yeteneði verir. Bu paket içerisindeki yazýlýmlar kota
46 sistemini kullanmak için gereken kontrol yazýlýmlarýdýr.
47
48 %prep
49 %setup -q -c
50
51 (cd utils; tar xzf %{name}-%{version}.tar.gz )
52
53 %patch0 -p1 
54 %patch1 -p1 
55 %patch2 -p1 
56 %patch3 -p1 
57
58 %build
59 cd utils
60 make OPT="$RPM_OPT_FLAGS"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 install -d $RPM_BUILD_ROOT/{sbin,usr/{bin,sbin,man/{man1,man2,man3,man8}}}
66
67 cd utils
68 make ROOTDIR=$RPM_BUILD_ROOT BIN_GROUP=`id -g` SUPER_OWNER=`id -u` \
69     BIN_OWNER=`id -u` install
70
71 mv $RPM_BUILD_ROOT%{_sbindir}/quota $RPM_BUILD_ROOT%{_bindir}/quota
72
73 echo .so rquotad.8 > $RPM_BUILD_ROOT%{_mandir}/man8/rpc.rquotad.8
74
75 bzip2 -9 $RPM_BUILD_ROOT%{_mandir}/man[1238]/*
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82
83 %attr(755,root,root) /sbin/quotacheck
84 %attr(755,root,root) /sbin/quotaon
85 %attr(755,root,root) /sbin/quotaoff
86 %attr(755,root,root) %{_bindir}/quota
87 %attr(755,root,root) %{_sbindir}/edquota
88 %attr(755,root,root) %{_sbindir}/repquota
89 %attr(755,root,root) %{_sbindir}/warnquota
90 %attr(755,root,root) %{_sbindir}/quotastats
91 %attr(750,root,root) %{_sbindir}/rpc.rquotad
92
93 %{_mandir}/man[1238]/*
94
95 %changelog
96 * Tue Jan 26 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
97   [1.55-11d]
98 - rebuild on linux-2.2.0,
99 - compressed man pages,
100 - minor changes.
101
102 * Tue Aug 11 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
103   [1.55-9d]
104 - translation modified for pl,
105 - build against glibc-2.1,
106 - moved %changelog at the end of spec,
107 - fixed files permisions,
108 - removed all patches and added quota.patch,
109 - changed quota-1.55.spec to quota.spec,
110 - build from non root's account.
111
112 * Thu May 07 1998 Prospector System <bugs@redhat.com>
113 - translations modified for de, fr, tr
114
115 * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
116 - removed patch for mntent
117
118 * Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
119 - builds rquotad
120 - installs rpc.rquotad.8 symlink
121
122 * Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
123 - removed %{_includedir}/rpcsvc/* from filelist
124 - uses a buildroot and %attr
125
126 * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
127 - built against glibc
128
129 * Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
130 - Moved %{_sbindir}/quota to %{_bindir}/quota
This page took 0.053664 seconds and 4 git commands to generate.