Name: perl-File-ShareDir-Install Version: 0.11 Release: 5%{?dist} Summary: Install shared files License: GPL+ or Artistic URL: https://search.cpan.org/dist/File-ShareDir-Install/ Source: https://search.cpan.org/CPAN/authors/id/E/ET/ETHER/File-ShareDir-Install-%{version}.tar.gz BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(Exporter) BuildRequires: perl(File::Spec) BuildRequires: perl(IO::Dir) BuildRequires: perl(strict) BuildRequires: perl(warnings) # Test Suite BuildRequires: perl(Config) BuildRequires: perl(File::Path) BuildRequires: perl(Module::Metadata) BuildRequires: perl(Test::More) # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description File::ShareDir::Install allows you to install read-only data files from a distribution. It is a companion module to File::ShareDir, which allows you to locate these files after installation. %prep %setup -q -n File-ShareDir-Install-%{version} %build PERL_MM_FALLBACK_SILENCE_WARNING=1 perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -delete %{_fixperms} %{buildroot} %check make test %files %license LICENSE %doc Changes CONTRIBUTING README %{perl_vendorlib}/File/ %{_mandir}/man3/File::ShareDir::Install.3*