automatic update by autodist [release 1.15-1mamba;Thu Oct 03 2013]
This commit is contained in:
parent
ab30dbec63
commit
b46317ab67
72
perl-ExtUtils-PkgConfig.spec
Normal file
72
perl-ExtUtils-PkgConfig.spec
Normal file
@ -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 <aleph0@openmamba.org>
|
||||
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 <autodist@mambasoft.it> 1.15-1mamba
|
||||
- automatic update by autodist
|
||||
|
||||
* Thu Feb 21 2013 Automatic Build System <autodist@mambasoft.it> 1.14-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13-2mamba
|
||||
- perl 5.16 mass rebuild
|
||||
|
||||
* Sat May 05 2012 Automatic Build System <autodist@mambasoft.it> 1.13-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 04 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Mon Oct 20 2008 gil <puntogil@libero.it> 1.12-1mamba
|
||||
- update to 1.12
|
||||
|
||||
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 1.08-1mamba
|
||||
- update to 1.08
|
||||
|
||||
* Thu Nov 11 2004 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 1.05-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user