From b46317ab67164d849b2df21772fa08926e21e18d Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 08:58:19 +0100 Subject: [PATCH] automatic update by autodist [release 1.15-1mamba;Thu Oct 03 2013] --- README.md | 2 + perl-ExtUtils-PkgConfig.spec | 72 ++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 perl-ExtUtils-PkgConfig.spec diff --git a/README.md b/README.md index 9dd90ae..d7adfd8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-ExtUtils-PkgConfig +Simplistic interface to pkg-config. + diff --git a/perl-ExtUtils-PkgConfig.spec b/perl-ExtUtils-PkgConfig.spec new file mode 100644 index 0000000..190651b --- /dev/null +++ b/perl-ExtUtils-PkgConfig.spec @@ -0,0 +1,72 @@ +%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) + +Name: perl-ExtUtils-PkgConfig +Version: 1.15 +Release: 1mamba +Summary: ExtUtils::PkgConfig - Simplistic interface to pkg-config +Group: Development/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.cpan.org +Source: http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-%{version}.tar.gz +License: GPL +Requires: perl >= %perl_major_ver +BuildRequires: perl-devel >= %perl_major_ver +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Simplistic interface to pkg-config. + +%prep +%setup -q -n ExtUtils-PkgConfig-%{version} + +%build +perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor +%make +%make test + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall_perl +packlist=`find %{buildroot} -name .packlist` +[ -z "$packlist" ] && exit 1 || cat $packlist | \ + sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \ + sort -u > .packlist && rm $packlist + +strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'` +for dir in `find %{buildroot} -type d | grep $strid`; do + echo "%dir ${dir#%buildroot}" >> .packlist +done + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +rm -f .packlist + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Thu Oct 03 2013 Automatic Build System 1.15-1mamba +- automatic update by autodist + +* Thu Feb 21 2013 Automatic Build System 1.14-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 1.13-2mamba +- perl 5.16 mass rebuild + +* Sat May 05 2012 Automatic Build System 1.13-1mamba +- automatic version update by autodist + +* Tue Nov 04 2008 Silvan Calarco 1.12-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 1.12-1mamba +- update to 1.12 + +* Thu Nov 22 2007 Aleph0 1.08-1mamba +- update to 1.08 + +* Thu Nov 11 2004 Alessandro Ramazzina 1.05-1qilnx +- package created by autospec