quota-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. Name: quota
  2. Summary: System administration tools for monitoring users' disk usage.
  3. Summary(ja): ユーザのディスク使用量をモニタするシステム管理ツール
  4. Version: 3.15
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: System Environment/Base
  8. URL: http://sourceforge.net/projects/linuxquota/
  9. #Source0: http://downloads.sourceforge.net/linuxquota/quota-%{version}.tar.gz
  10. Source0: quota-%{version}.tar.gz
  11. Patch0: quota-3.06-warnquota.patch
  12. Patch1: quota-3.06-no-stripping.patch
  13. Patch2: quota-3.06-man-page.patch
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. Requires: kernel >= 2.4, initscripts >= 6.38
  16. Conflicts: nfs-utils < 1.0.1
  17. BuildPreReq: e2fsprogs-devel, gettext
  18. %description
  19. The quota package contains system administration tools for monitoring
  20. and limiting user and or group disk usage per filesystem.
  21. %description -l ja
  22. quota パッケージには,ユーザやグループのディスク使用量を監視したり
  23. 制限したりできるシステム管理ツールが収録されています.これらの操作
  24. はファイルシステム単位で行うことが出来ます.
  25. ユーザやグループのディスク使用量を監視/制限した場合は quota をイン
  26. ストールして下さい.
  27. %prep
  28. %setup -q -n quota-tools
  29. #%patch0 -p1
  30. %patch1 -p1
  31. %patch2 -p1
  32. %build
  33. %configure \
  34. --with-ext2direct=no --enable-rootsbin
  35. make
  36. %install
  37. rm -fr %{buildroot}
  38. mkdir -p %{buildroot}/sbin
  39. mkdir -p %{buildroot}%{_sysconfdir}
  40. mkdir -p %{buildroot}%{_sbindir}
  41. mkdir -p %{buildroot}%{_bindir}
  42. mkdir -p %{buildroot}%{_mandir}/{man1,man2,man3,man8}
  43. make install ROOTDIR=%{buildroot}
  44. install -m 644 warnquota.conf %{buildroot}%{_sysconfdir}
  45. # we don't support XFS yet
  46. #
  47. rm -f %{buildroot}%{_sbindir}/quot
  48. rm -f %{buildroot}%{_sbindir}/xqmstats
  49. rm -f %{buildroot}%{_mandir}/man8/quot.*
  50. %find_lang %{name}
  51. %clean
  52. rm -rf %{buildroot}
  53. %files -f %{name}.lang
  54. %defattr(-,root,root)
  55. %doc Changelog doc/ README*
  56. %config(noreplace) %{_sysconfdir}/warnquota.conf
  57. %attr(0755,root,root) /sbin/*
  58. %attr(0755,root,root) %{_bindir}/*
  59. %attr(0755,root,root) %{_sbindir}/*
  60. %{_includedir}/rpcsvc/*
  61. %attr(0644,root,root) %{_mandir}/man1/*
  62. %attr(0644,root,root) %{_mandir}/man2/*
  63. %attr(0644,root,root) %{_mandir}/man3/*
  64. %attr(0644,root,root) %{_mandir}/man8/*
  65. %changelog
  66. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 3.15-1vl5
  67. - applied new versioning policy, spec in utf-8
  68. * Thu Dec 20 2007 Shu KONNO <owa@bg.wakwak.com> 3.15-0vl1
  69. - updated quota to 3.15
  70. * Wed Apr 27 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12-5vl2
  71. - oops, removed unnecessary Patch3
  72. * Tue Apr 26 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12-5vl1
  73. - based on 3.12-5, being merged into 3.06-7vl1
  74. - Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.12-5
  75. - add URL (bz# 131862)
  76. - Fri Sep 24 2004 Steve Dickson <SteveD@RedHat.com>
  77. - Fixed typos in warnquota.conf patch
  78. (bz# 82250 and bz# 83974)
  79. - Mon Sep 13 2004 Steve Dickson <SteveD@RedHat.com>
  80. - upgraded to 3.12
  81. - Tue Jan 27 2004 Florian La Roche <Florian.LaRoche@redhat.de>
  82. - add -pie support
  83. - update to 3.10
  84. - Sat Aug 16 2003 Steve Dickson <SteveD@RedHat.com>
  85. - upgraded to 3.0.9
  86. - added quota-3.09-root_sbindir.patch
  87. * Sun Feb 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 3.06-7vl1
  88. - merged with Vine Linux package (quota-2.00stable-0vl1)
  89. - based on rawhide release 3.06-7
  90. * Wed May 30 2001 Jun Nishii <jun@vinelinux.org>
  91. - 2.00stable-0vl1
  92. - ver.up
  93. * Wed May 30 2001 Jun Nishii <jun@vinelinux.org>
  94. - 2.00pre3-8vl2
  95. - added documents
  96. * Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  97. - 2.00pre3-8vl1
  98. - based on 2.00pre3-8 from Rawhide
  99. - added Japanese summary and description
  100. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  101. - rebuilt
  102. * Mon Nov 18 2002 Tim Powers <timp@redhat.com>
  103. - rebuild on all arches
  104. * Fri Sep 6 2002 Philip Copeland <bryce@redhat.com> 3.06-5
  105. - added --with-ext2direct=no to fix #73244
  106. without this users with UID's > 65535 will not
  107. be able to exist on a quota enabled FS
  108. * Wed Aug 7 2002 Philip Copeland <bryce@redhat.com> 3.06-4
  109. - Man page change. #60108
  110. * Tue Aug 6 2002 Philip Copeland <bryce@redhat.com> 3.06-3
  111. - Bah, I'd dropped epoch from the spec file but seems
  112. we need this if you want to upgrade as the epoch
  113. number has precedence over the version/release
  114. numbers.
  115. * Wed Jul 17 2002 Philip Copeland <bryce@redhat.com> 3.06-2
  116. - Lets stop the makefile from stripping the
  117. binaries as thats rpms job (apparently)
  118. * Mon Jul 01 2002 Philip Copeland <bryce@redhat.com> 3.06-1
  119. - Ditched the 3.01-pre9 src base for 3.06
  120. Rebuilt without any patchs
  121. ============================================================
  122. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  123. - automated rebuild
  124. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  125. - automated rebuild
  126. * Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
  127. - IfArch the badkernelinclude patch for ppc-only.
  128. - Update to 3.03
  129. * Wed Dec 12 2001 Guy Streeter <streeter@redhat.com>
  130. - Make #include of kernel header file work on non-x86
  131. * Wed Sep 5 2001 Preston Brown <pbrown@redhat.com>
  132. - require new initscripts
  133. * Thu Aug 30 2001 Preston Brown <pbrown@redhat.com>
  134. - fixed bug #52075 (problem with ext2 labels)
  135. - backup data files off by default in quotacheck, optional backup flag added
  136. - fix bug where giving a bad directory or device would cause
  137. quotaon/quotacheck to simulate "-a" behaviour
  138. - if a device name (i.e /dev/hda1) is passed, look up the corresponding mount
  139. point
  140. * Wed Aug 29 2001 Preston Brown <pbrown@redhat.com>
  141. - return an error code in more cases in convertquota
  142. * Tue Aug 28 2001 Preston Brown <pbrown@redhat.com>
  143. - 3.01pre9
  144. * Fri Jul 20 2001 Preston Brown <pbrown@redhat.com>
  145. - more cleanups on 3.01pre8
  146. * Mon Jul 2 2001 Preston Brown <pbrown@redhat.com>
  147. - 3.01 version, everything has changed again. :(
  148. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  149. - Bump release + rebuild.
  150. * Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
  151. - use rpc.rquotad from here again (#33738)
  152. * Thu Mar 15 2001 Preston Brown <pbrown@redhat.com>
  153. - enable ALT_FORMAT for edquota
  154. * Tue Mar 13 2001 Preston Brown <pbrown@redhat.com>
  155. - I broke passing devices on the cmd line. Fixed.
  156. * Fri Mar 09 2001 Preston Brown <pbrown@redhat.com>
  157. - quota 3.00 is required by recent kernel 2.4 changes
  158. - no warnquota included this time, not yet ported
  159. - quite a bit of work on quotacheck to make is backwards compatible
  160. - we will likely go back to "quota 2.00" as these projects merge...
  161. * Fri Feb 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  162. - use "rm -f" instead of only "rm"
  163. * Wed Feb 7 2001 Preston Brown <pbrown@redhat.com>
  164. - fix quotacheck man page for -a option (#26380)
  165. * Thu Feb 1 2001 Preston Brown <pbrown@redhat.com>
  166. - 2.00 final, rolls in pretty much all our patches. :)
  167. - fix reporting of in use dquot entries from quotastats
  168. - change repquota man page to fix documentation of -v (#10330)
  169. - include warnquota.conf
  170. * Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
  171. - fix ia64 build
  172. * Mon Aug 21 2000 Jeff Johnson <jbj@redhat.com>
  173. - add LABEL=foo support (#16390).
  174. * Thu Jul 27 2000 Jeff Johnson <jbj@redhat.com>
  175. - remote NFS quotas with different blocksize converted incorrectly (#11932).
  176. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  177. - automatic rebuild
  178. * Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com>
  179. - FHS packaging.
  180. * Wed May 10 2000 Jeff Johnson <jbj@redhat.com>
  181. - apply patch5 (H.J. Lu)
  182. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  183. - fix description
  184. - man pages are compressed
  185. * Tue Jan 18 2000 Preston Brown <pbrown@redhat.com>
  186. - quota 2.00 series
  187. - removed unnecessary patches
  188. * Thu Aug 5 1999 Jeff Johnson <jbj@redhat.com>
  189. - fix man page FUD (#4369).
  190. * Thu May 13 1999 Peter Hanecak <hanecak@megaloman.sk>
  191. - changes to allow non-root users to build too (Makefile patch, %attr)
  192. * Tue Apr 13 1999 Jeff Johnson <jbj@redhat.com>
  193. - fix for sparc64 quotas (#2147)
  194. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  195. - auto rebuild in the new build environment (release 5)
  196. * Mon Dec 28 1998 Cristian Gafton <gafton@redhat.com>
  197. - don't install rpc.rquotad - we will use the one from the knfsd package
  198. instead
  199. * Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
  200. - merge ultrapenguin 1.1.9 changes.
  201. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  202. - translations modified for de, fr, tr
  203. * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
  204. - removed patch for mntent
  205. * Fri Mar 27 1998 Jakub Jelinek <jj@ultra.linux.cz>
  206. - updated to quota 1.66
  207. * Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
  208. - builds rquotad
  209. - installs rpc.rquotad.8 symlink
  210. * Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
  211. - removed /usr/include/rpcsvc/* from filelist
  212. - uses a buildroot and %attr
  213. * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
  214. - built against glibc
  215. * Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
  216. - Moved /usr/sbin/quota to /usr/bin/quota