2024-01-06 09:28:54 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-Pango
|
2024-01-06 09:28:54 +01:00
|
|
|
Version: 1.227
|
2024-01-06 09:28:54 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 09:28:54 +01:00
|
|
|
Summary: Pango - Layout and render international text
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 09:28:54 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 09:28:54 +01:00
|
|
|
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
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: libperl
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: perl-Glib
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: perl-devel
|
2024-01-06 09:28:54 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: perl >= 2:5.36.0
|
2024-01-06 09:28:54 +01:00
|
|
|
BuildRequires: perl-Cairo
|
2024-01-06 09:28:54 +01:00
|
|
|
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
|
|
|
|
|
2024-01-06 09:28:54 +01:00
|
|
|
find %{buildroot} -name *.so -exec chmod u+w {} \;
|
|
|
|
|
2024-01-06 09:28:54 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f .packlist
|
|
|
|
|
|
|
|
%files -f .packlist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 09:28:54 +01:00
|
|
|
* Sun Apr 16 2023 Sdk Build System <sdk@mambasoft.it> 1.227-3mamba
|
|
|
|
- rebuilt with perl 5.36.0
|
|
|
|
|
2024-01-06 09:28:54 +01:00
|
|
|
* Wed Nov 09 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.227-2mamba
|
|
|
|
- rebuilt with perl 5.24
|
|
|
|
|
2024-01-06 09:28:54 +01:00
|
|
|
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.227-1mamba
|
|
|
|
- update to 1.227
|
|
|
|
|
2024-01-06 09:28:54 +01:00
|
|
|
* Wed May 28 2014 Automatic Build System <autodist@mambasoft.it> 1.226-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 09:28:54 +01:00
|
|
|
* Wed Feb 12 2014 Automatic Build System <autodist@mambasoft.it> 1.225-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Mar 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.224-1mamba
|
|
|
|
- update to 1.224
|
|
|
|
|
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.222-2mamba
|
|
|
|
- perl 5.16 mass rebuild
|
|
|
|
|
|
|
|
* Tue Aug 02 2011 Automatic Build System <autodist@mambasoft.it> 1.222-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.220-1mamba
|
|
|
|
- package created by autospec
|