diff --git a/ExtUtils-PkgConfig-1.16.tar.gz b/ExtUtils-PkgConfig-1.16.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..0b4a47fcd3a2bb2a70a27bd2056def6a7ccb3629 Binary files /dev/null and b/ExtUtils-PkgConfig-1.16.tar.gz differ diff --git a/perl-ExtUtils-PkgConfig.spec b/perl-ExtUtils-PkgConfig.spec new file mode 100644 index 0000000000000000000000000000000000000000..f9d0deae4b0fde2f79f1ff413a8daaf4e3db84fa --- /dev/null +++ b/perl-ExtUtils-PkgConfig.spec @@ -0,0 +1,66 @@ +%global _empty_manifest_terminate_build 0 +Name: perl-ExtUtils-PkgConfig +Version: 1.16 +Release: 1%{?dist} +Summary: Simplistic interface to pkg-config +License: CHECK(Distributable) +Group: Development/Libraries +URL: http://search.cpan.org/dist/ExtUtils-PkgConfig/ +Source0: http://www.cpan.org/authors/id/X/XA/XAOC/ExtUtils-PkgConfig-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%description +The pkg-config program retrieves information about installed libraries, +usually for the purposes of compiling against and linking to them. +%package help +Summary : Simplistic interface to pkg-config +Provides: perl-ExtUtils-PkgConfig-doc +%description help +The pkg-config program retrieves information about installed libraries, +usually for the purposes of compiling against and linking to them. +%prep +%setup -q -n ExtUtils-PkgConfig-%{version} +%build +export PERL_MM_OPT="" +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +export PERL_MM_OPT="" +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +pushd %{buildroot} +touch filelist.lst +if [ -d usr/bin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ];then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +popd +mv %{buildroot}/filelist.lst . +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f filelist.lst +%defattr(-,root,root,-) +%doc Changes META.json perl-ExtUtils-PkgConfig.doap README +%{perl_vendorlib}/* +%files help +%{_mandir}/* + +%changelog +* Wed Jun 10 2020 Perl_Bot 1.16-1 +- Specfile autogenerated by Perl_Bot