Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > media > contrib-release-src > by-pkgid > d5e622c8aab6a1f6390bd85bcb8d210c > files > 2

perl-Quota-1.6.3-1mdv2009.1.src.rpm

%define module Quota

Summary:	Quota module for perl 
Name:		perl-%{module}
Version:	1.6.3
Release:	%mkrel 1
License:	BSD-like
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{module}
Source0:	http://search.cpan.org/CPAN/authors/id/T/TO/TOMZO/%{module}-%{version}.tar.gz
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 %{module}-%{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
%{perl_vendorarch}/auto/Quota
%{perl_vendorarch}/Quota.pm
%{_mandir}/*/*


%changelog
* Sun Dec 28 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.6.3-1mdv2009.1
+ Revision: 320546
- new version

* 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