perl 5.16 mass rebuild [release 1.101-2mamba;Mon Nov 12 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 08:39:30 +01:00
parent b499e3d5a2
commit 36cd22098d
2 changed files with 81 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Cairo # perl-Cairo
Perl bindings to the cairo graphics library.

79
perl-Cairo.spec Normal file
View File

@ -0,0 +1,79 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Cairo
Version: 1.101
Release: 2mamba
Summary: Cairo - Perl bindings to the cairo graphics library
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-%{version}.tar.gz
License: Artistic
Requires: perl >= %perl_major_ver
BuildRequires: perl-ExtUtils-Depends
BuildRequires: perl-Test-Number-Delta
#BuildRequires: perl-Font-FreeType
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libz-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-EN
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Perl bindings to the cairo graphics library.
%prep
%setup -q -n Cairo-%{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
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.101-2mamba
- perl 5.16 mass rebuild
* Mon Aug 06 2012 Automatic Build System <autodist@mambasoft.it> 1.101-1mamba
- automatic version update by autodist
* Thu May 05 2011 Automatic Build System <autodist@mambasoft.it> 1.062-1mamba
- automatic update by autodist
* Wed Apr 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.061-1mamba
- automatic update by autodist
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.060-2mamba
- automatic rebuild by autodist
* Mon Oct 20 2008 gil <puntogil@libero.it> 1.060-1mamba
- update to 1.060
* Thu Nov 22 2007 Aleph0 <aleph0@openmamba.org> 1.044-1mamba
- package created by autospec