%define upstream_name File-ShareDir-Install %define upstream_version 0.03 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Install shared files License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/File/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Dir) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description File::ShareDir::Install allows you to install read-only data files from a distribution. It is a companion module to the File::ShareDir manpage, which allows you to locate these files after installation. It is a port the Module::Install::Share manpage to the ExtUtils::MakeMaker manpage with the improvement of only installing the files you want; '.svn' and other source-control junk will be ignored. %prep %setup -q -n %{upstream_name}-%{upstream_version} %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 README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Mar 05 2010 Jérôme Quelin <jquelin@mandriva.org> 0.30.0-1mdv2010.1 + Revision: 514462 - import perl-File-ShareDir-Install * Fri Mar 05 2010 cpan2dist 0.03-1mdv - initial mdv release, generated with cpan2dist