%define upstream_name File-ShareDir-Install %define upstream_version 0.04 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 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) >= 6.110.0 BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Dir) BuildArch: noarch %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 %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.40.0-2.mga3 + Revision: 367378 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild + jquelin <jquelin> - update to 0.04 * Wed Jan 19 2011 jquelin <jquelin> 0.30.0-1.mga1 + Revision: 24063 - cleaning spec file - imported package perl-File-ShareDir-Install