diff --git a/.cvsignore b/.cvsignore index e69de29..58f4583 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +quota-2.00-pre3.tar.gz diff --git a/quota.spec b/quota.spec new file mode 100644 index 0000000..2947a0a --- /dev/null +++ b/quota.spec @@ -0,0 +1,149 @@ +Name: quota +Summary: System administration tools for monitoring users' disk usage. +Version: 2.00pre3 +Release: 7 +Source0: ftp://ftp.cistron.nl/pub/people/mvw/quota/%{name}-2.00-pre3.tar.gz +Copyright: BSD +Group: System Environment/Base +Patch0: quota-2.00-misc.patch +Patch4: quota-1.66-sparc.patch +Patch5: quota-2.00pre3-hjl.patch +Patch6: quota-2.00pre3-fhs.patch +Patch7: quota-2.00-blocksize.patch +Patch8: quota-2.00pre3-label.patch +BuildRoot: %{_tmppath}/%{name}-root + +%description +The quota package contains system administration tools for monitoring +and limiting users' and or groups' disk usage, per filesystem. + +Install quota if you want to monitor and/or limit user/group disk +usage. + +%prep +%setup -q -n %{name}-2.00-pre3 + +%patch0 -p1 -b .misc +# XXX not applied +#%patch4 -p2 -b .sparc +%patch5 -p1 + +%patch6 -p1 -b .fhs + +%patch7 -p0 -b .blocksize +%patch8 -p1 -b .label + +%build +make \ + RPM_OPT_FLAGS="$RPM_OPT_FLAGS" \ + mandir=%{_mandir} \ + all + +perl -pi -e 's,/usr/etc/,%{_sbindir}/,g' *.8 + +%install +rm -rf ${RPM_BUILD_ROOT} +mkdir -p ${RPM_BUILD_ROOT}/sbin +mkdir -p ${RPM_BUILD_ROOT}%{_bindir} +mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} +mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,2,3,8} + +%makeinstall root_sbindir=${RPM_BUILD_ROOT}/sbin DEF_BIN_MODE=0555 + +{ + pushd ${RPM_BUILD_ROOT} + mv .%{_sbindir}/quota .%{_bindir}/quota +# ln -s rquotad.8 ./usr/man/man8/rpc.rquotad.8 + popd +} + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +/sbin/* +%{_bindir}/* +%{_sbindir}/edquota +%{_sbindir}/quotastats +%{_sbindir}/repquota +%{_sbindir}/setquota +%{_sbindir}/warnquota +# %{_sbindir}/rpc.rquotad + +%{_mandir}/man1/quota.1* +%{_mandir}/man2/quotactl.2* +%{_mandir}/man3/rquota.3* +%{_mandir}/man8/edquota.8* +%{_mandir}/man8/quotacheck.8* +%{_mandir}/man8/quotaon.8* +%{_mandir}/man8/repquota.8* +%{_mandir}/man8/setquota.8* +# %{_mandir}/man8/rquotad.8* +# %{_mandir}/man8/rpc.rquotad.8* + +%changelog +* Mon Aug 21 2000 Jeff Johnson +- add LABEL=foo support (#16390). + +* Thu Jul 27 2000 Jeff Johnson +- remote NFS quotas with different blocksize converted incorrectly (#11932). + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Thu Jun 15 2000 Jeff Johnson +- FHS packaging. + +* Wed May 10 2000 Jeff Johnson +- apply patch5 (H.J. Lu) + +* Wed Feb 02 2000 Cristian Gafton +- fix description +- man pages are compressed + +* Tue Jan 18 2000 Preston Brown +- quota 2.00 series +- removed unnecessary patches + +* Thu Aug 5 1999 Jeff Johnson +- fix man page FUD (#4369). + +* Thu May 13 1999 Peter Hanecak +- changes to allow non-root users to build too (Makefile patch, %attr) + +* Tue Apr 13 1999 Jeff Johnson +- fix for sparc64 quotas (#2147) + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 5) + +* Mon Dec 28 1998 Cristian Gafton +- don't install rpc.rquotad - we will use the one from the knfsd package + instead + +* Thu Dec 17 1998 Jeff Johnson +- merge ultrapenguin 1.1.9 changes. + +* Thu May 07 1998 Prospector System +- translations modified for de, fr, tr + +* Thu Apr 30 1998 Cristian Gafton +- removed patch for mntent + +* Fri Mar 27 1998 Jakub Jelinek +- updated to quota 1.66 + +* Tue Jan 13 1998 Erik Troan +- builds rquotad +- installs rpc.rquotad.8 symlink + +* Mon Oct 20 1997 Erik Troan +- removed /usr/include/rpcsvc/* from filelist +- uses a buildroot and %attr + +* Thu Jun 19 1997 Erik Troan +- built against glibc + +* Tue Mar 25 1997 Erik Troan +- Moved /usr/sbin/quota to /usr/bin/quota diff --git a/sources b/sources index e69de29..bf6a604 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f66982fd21d82bbedd81ef8eb735491a quota-2.00-pre3.tar.gz