From 36cd22098da56b178398abbeabc0246347989ec1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:39:30 +0100 Subject: [PATCH] perl 5.16 mass rebuild [release 1.101-2mamba;Mon Nov 12 2012] --- README.md | 2 ++ perl-Cairo.spec | 79 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) create mode 100644 perl-Cairo.spec diff --git a/README.md b/README.md index 207d377..4ac5c94 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Cairo +Perl bindings to the cairo graphics library. + diff --git a/perl-Cairo.spec b/perl-Cairo.spec new file mode 100644 index 0000000..a143094 --- /dev/null +++ b/perl-Cairo.spec @@ -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 +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 1.101-2mamba +- perl 5.16 mass rebuild + +* Mon Aug 06 2012 Automatic Build System 1.101-1mamba +- automatic version update by autodist + +* Thu May 05 2011 Automatic Build System 1.062-1mamba +- automatic update by autodist + +* Wed Apr 08 2009 Silvan Calarco 1.061-1mamba +- automatic update by autodist + +* Wed Nov 05 2008 Silvan Calarco 1.060-2mamba +- automatic rebuild by autodist + +* Mon Oct 20 2008 gil 1.060-1mamba +- update to 1.060 + +* Thu Nov 22 2007 Aleph0 1.044-1mamba +- package created by autospec