%define real_name Quota Summary: Quota module for perl Name: perl-%{real_name} Version: 1.6.2 Release: %mkrel 4 License: BSD-like Group: Development/Perl URL: http://search.cpan.org/dist/%{real_name} Source0: http://search.cpan.org/CPAN/authors/id/T/TO/TOMZO/%{real_name}-%{version}.tar.bz2 Requires: quota BuildRequires: perl-devel BuildRequires: quota #BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The Quota module provides access to file system quotas. The quotactl system call or ioctl is used to query or set quotas on the local host, or queries are submitted via RPC to a remote host. Mount tables can be parsed with getmntent and paths can be translated to device files (or whatever the actual quotactl implementations needs as argument) of the according file system. %prep %setup -q -n %{real_name}-%{version} # fix perl path find -type f | xargs perl -pi -e "s|/usr/drwho/local/bin/perl|%{_bindir}/perl|g" find -type f | xargs perl -pi -e "s|/usr/local/bin/perl|%{_bindir}/perl|g" %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check #make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(-,root,root) %doc CHANGES INSTALL README contrib %dir %{perl_vendorarch}/auto/Quota %{perl_vendorarch}/auto/Quota/* %{perl_vendorarch}/Quota.pm %{_mandir}/*/* %changelog * Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6.2-4mdv2009.0 + Revision: 258279 - rebuild * Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6.2-3mdv2009.0 + Revision: 246341 - rebuild * Tue Jan 15 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.6.2-1mdv2008.1 + Revision: 152910 - update to new version 1.6.2 - update to new version 1.6.2 * Tue Jan 15 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.6.1-2mdv2008.1 + Revision: 152249 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Mon Dec 03 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.6.1-1mdv2008.1 + Revision: 114492 - update to new version 1.6.1 * Thu Nov 01 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.6.0-1mdv2008.1 + Revision: 104568 - update to new version 1.6.0 * Fri Oct 12 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.5.2-1mdv2008.1 + Revision: 97561 - update to new version 1.5.2 * Wed May 09 2007 Oden Eriksson <oeriksson@mandriva.com> 1.5.1-3mdv2008.0 + Revision: 25454 - rebuild * Tue May 08 2007 Olivier Thauvin <nanardon@mandriva.org> 1.5.1-2mdv2008.0 + Revision: 25105 - rebuild * Thu Apr 13 2006 Oden Eriksson <oeriksson@mandriva.com> 1.5.1-1mdk - initial Mandriva package