quota-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. Name: quota
  2. Summary: System administration tools for monitoring users' disk usage.
  3. Summary(ja): ユーザのディスク使用量をモニタするシステム管理ツール
  4. Version: 3.15
  5. Release: 2%{?_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. * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 3.15-2
  67. - rebuilt with rpm-4.8.1-3
  68. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 3.15-1vl5
  69. - applied new versioning policy, spec in utf-8
  70. * Thu Dec 20 2007 Shu KONNO <owa@bg.wakwak.com> 3.15-0vl1
  71. - updated quota to 3.15
  72. * Wed Apr 27 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12-5vl2
  73. - oops, removed unnecessary Patch3
  74. * Tue Apr 26 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.12-5vl1
  75. - based on 3.12-5, being merged into 3.06-7vl1
  76. - Sun Sep 26 2004 Rik van Riel <riel@redhat.com> 3.12-5
  77. - add URL (bz# 131862)
  78. - Fri Sep 24 2004 Steve Dickson <SteveD@RedHat.com>
  79. - Fixed typos in warnquota.conf patch
  80. (bz# 82250 and bz# 83974)
  81. - Mon Sep 13 2004 Steve Dickson <SteveD@RedHat.com>
  82. - upgraded to 3.12
  83. - Tue Jan 27 2004 Florian La Roche <Florian.LaRoche@redhat.de>
  84. - add -pie support
  85. - update to 3.10
  86. - Sat Aug 16 2003 Steve Dickson <SteveD@RedHat.com>
  87. - upgraded to 3.0.9
  88. - added quota-3.09-root_sbindir.patch
  89. * Sun Feb 9 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 3.06-7vl1
  90. - merged with Vine Linux package (quota-2.00stable-0vl1)
  91. - based on rawhide release 3.06-7
  92. * Wed May 30 2001 Jun Nishii <jun@vinelinux.org>
  93. - 2.00stable-0vl1
  94. - ver.up
  95. * Wed May 30 2001 Jun Nishii <jun@vinelinux.org>
  96. - 2.00pre3-8vl2
  97. - added documents
  98. * Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  99. - 2.00pre3-8vl1
  100. - based on 2.00pre3-8 from Rawhide
  101. - added Japanese summary and description
  102. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  103. - rebuilt
  104. * Mon Nov 18 2002 Tim Powers <timp@redhat.com>
  105. - rebuild on all arches
  106. * Fri Sep 6 2002 Philip Copeland <bryce@redhat.com> 3.06-5
  107. - added --with-ext2direct=no to fix #73244
  108. without this users with UID's > 65535 will not
  109. be able to exist on a quota enabled FS
  110. * Wed Aug 7 2002 Philip Copeland <bryce@redhat.com> 3.06-4
  111. - Man page change. #60108
  112. * Tue Aug 6 2002 Philip Copeland <bryce@redhat.com> 3.06-3
  113. - Bah, I'd dropped epoch from the spec file but seems
  114. we need this if you want to upgrade as the epoch
  115. number has precedence over the version/release
  116. numbers.
  117. * Wed Jul 17 2002 Philip Copeland <bryce@redhat.com> 3.06-2
  118. - Lets stop the makefile from stripping the
  119. binaries as thats rpms job (apparently)
  120. * Mon Jul 01 2002 Philip Copeland <bryce@redhat.com> 3.06-1
  121. - Ditched the 3.01-pre9 src base for 3.06
  122. Rebuilt without any patchs
  123. ============================================================
  124. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  125. - automated rebuild
  126. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  127. - automated rebuild
  128. * Mon Feb 25 2002 Elliot Lee <sopwith@redhat.com>
  129. - IfArch the badkernelinclude patch for ppc-only.
  130. - Update to 3.03
  131. * Wed Dec 12 2001 Guy Streeter <streeter@redhat.com>
  132. - Make #include of kernel header file work on non-x86
  133. * Wed Sep 5 2001 Preston Brown <pbrown@redhat.com>
  134. - require new initscripts
  135. * Thu Aug 30 2001 Preston Brown <pbrown@redhat.com>
  136. - fixed bug #52075 (problem with ext2 labels)
  137. - backup data files off by default in quotacheck, optional backup flag added
  138. - fix bug where giving a bad directory or device would cause
  139. quotaon/quotacheck to simulate "-a" behaviour
  140. - if a device name (i.e /dev/hda1) is passed, look up the corresponding mount
  141. point
  142. * Wed Aug 29 2001 Preston Brown <pbrown@redhat.com>
  143. - return an error code in more cases in convertquota
  144. * Tue Aug 28 2001 Preston Brown <pbrown@redhat.com>
  145. - 3.01pre9
  146. * Fri Jul 20 2001 Preston Brown <pbrown@redhat.com>
  147. - more cleanups on 3.01pre8
  148. * Mon Jul 2 2001 Preston Brown <pbrown@redhat.com>
  149. - 3.01 version, everything has changed again. :(
  150. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  151. - Bump release + rebuild.
  152. * Fri Mar 30 2001 Preston Brown <pbrown@redhat.com>
  153. - use rpc.rquotad from here again (#33738)
  154. * Thu Mar 15 2001 Preston Brown <pbrown@redhat.com>
  155. - enable ALT_FORMAT for edquota
  156. * Tue Mar 13 2001 Preston Brown <pbrown@redhat.com>
  157. - I broke passing devices on the cmd line. Fixed.
  158. * Fri Mar 09 2001 Preston Brown <pbrown@redhat.com>
  159. - quota 3.00 is required by recent kernel 2.4 changes
  160. - no warnquota included this time, not yet ported
  161. - quite a bit of work on quotacheck to make is backwards compatible
  162. - we will likely go back to "quota 2.00" as these projects merge...
  163. * Fri Feb 09 2001 Florian La Roche <Florian.LaRoche@redhat.de>
  164. - use "rm -f" instead of only "rm"
  165. * Wed Feb 7 2001 Preston Brown <pbrown@redhat.com>
  166. - fix quotacheck man page for -a option (#26380)
  167. * Thu Feb 1 2001 Preston Brown <pbrown@redhat.com>
  168. - 2.00 final, rolls in pretty much all our patches. :)
  169. - fix reporting of in use dquot entries from quotastats
  170. - change repquota man page to fix documentation of -v (#10330)
  171. - include warnquota.conf
  172. * Mon Nov 20 2000 Bill Nottingham <notting@redhat.com>
  173. - fix ia64 build
  174. * Mon Aug 21 2000 Jeff Johnson <jbj@redhat.com>
  175. - add LABEL=foo support (#16390).
  176. * Thu Jul 27 2000 Jeff Johnson <jbj@redhat.com>
  177. - remote NFS quotas with different blocksize converted incorrectly (#11932).
  178. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  179. - automatic rebuild
  180. * Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com>
  181. - FHS packaging.
  182. * Wed May 10 2000 Jeff Johnson <jbj@redhat.com>
  183. - apply patch5 (H.J. Lu)
  184. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  185. - fix description
  186. - man pages are compressed
  187. * Tue Jan 18 2000 Preston Brown <pbrown@redhat.com>
  188. - quota 2.00 series
  189. - removed unnecessary patches
  190. * Thu Aug 5 1999 Jeff Johnson <jbj@redhat.com>
  191. - fix man page FUD (#4369).
  192. * Thu May 13 1999 Peter Hanecak <hanecak@megaloman.sk>
  193. - changes to allow non-root users to build too (Makefile patch, %attr)
  194. * Tue Apr 13 1999 Jeff Johnson <jbj@redhat.com>
  195. - fix for sparc64 quotas (#2147)
  196. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  197. - auto rebuild in the new build environment (release 5)
  198. * Mon Dec 28 1998 Cristian Gafton <gafton@redhat.com>
  199. - don't install rpc.rquotad - we will use the one from the knfsd package
  200. instead
  201. * Thu Dec 17 1998 Jeff Johnson <jbj@redhat.com>
  202. - merge ultrapenguin 1.1.9 changes.
  203. * Thu May 07 1998 Prospector System <bugs@redhat.com>
  204. - translations modified for de, fr, tr
  205. * Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
  206. - removed patch for mntent
  207. * Fri Mar 27 1998 Jakub Jelinek <jj@ultra.linux.cz>
  208. - updated to quota 1.66
  209. * Tue Jan 13 1998 Erik Troan <ewt@redhat.com>
  210. - builds rquotad
  211. - installs rpc.rquotad.8 symlink
  212. * Mon Oct 20 1997 Erik Troan <ewt@redhat.com>
  213. - removed /usr/include/rpcsvc/* from filelist
  214. - uses a buildroot and %attr
  215. * Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
  216. - built against glibc
  217. * Tue Mar 25 1997 Erik Troan <ewt@redhat.com>
  218. - Moved /usr/sbin/quota to /usr/bin/quota