File perl-File-Modified.spec of Package perl-File-Modified
%define _real_name File-Modified
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
Summary: Checks intelligently if files have changed
Name: perl-File-Modified
Version: 0.07
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~corion/File-Modified-0.07/lib/File/Modified.pm
Buildarch: noarch
Source: http://search.cpan.org/CPAN/authors/id/C/CO/CORION/File-Modified-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Checks intelligently if files have changed
%prep
%setup -n %{_real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/Modified.pm
%changelog
* Wed Feb 04 2009 Leo Eraly <leo@unstable.be> - 0.07-1
- Initial package