%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Pango Version: 1.227 Release: 2mamba Summary: Pango - Layout and render international text Group: System/Libraries/Perl Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.cpan.org Source: http://www.cpan.org/authors/id/X/XA/XAOC/Pango-%{version}.tar.gz License: Artistic, GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcairo-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel BuildRequires: libharfbuzz-devel BuildRequires: libpango-devel BuildRequires: libperl BuildRequires: perl-Glib BuildRequires: perl-devel ## AUTOBUILDREQ-END BuildRequires: perl-Cairo Requires: perl >= %perl_major_ver %description Pango - Layout and render international text. %prep %setup -q -n Pango-%{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 * Wed Nov 09 2016 Silvan Calarco 1.227-2mamba - rebuilt with perl 5.24 * Sat Feb 20 2016 Silvan Calarco 1.227-1mamba - update to 1.227 * Wed May 28 2014 Automatic Build System 1.226-1mamba - automatic update by autodist * Wed Feb 12 2014 Automatic Build System 1.225-1mamba - automatic update by autodist * Thu Mar 21 2013 Silvan Calarco 1.224-1mamba - update to 1.224 * Mon Nov 12 2012 Silvan Calarco 1.222-2mamba - perl 5.16 mass rebuild * Tue Aug 02 2011 Automatic Build System 1.222-1mamba - automatic version update by autodist * Wed May 06 2009 Silvan Calarco 1.220-1mamba - package created by autospec