%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0) Name: perl-Pango Version: 1.225 Release: 1mamba 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: libpango-devel BuildRequires: perl-devel BuildRequires: perl-Glib ## AUTOBUILDREQ-END Requires: perl >= %perl_major_ver BuildRoot: %{_tmppath}/%{name}-%{version}-root %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 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