106 lines
3.8 KiB
RPMSpec
106 lines
3.8 KiB
RPMSpec
Name: perl-Pango
|
|
Version: 1.226
|
|
Release: 6%{?dist}
|
|
Summary: Perl interface to the pango library
|
|
Group: Development/Libraries
|
|
License: LGPLv2+
|
|
URL: http://search.cpan.org/dist/Pango/
|
|
Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Pango-%{version}.tar.gz
|
|
# Fix pkgconfig output concatenation with pkgconfig-0.29, bug #1297705
|
|
Patch0: Pango-1.226-fix-pangocairo_libs.patch
|
|
BuildRequires: perl(ExtUtils::Depends) >= 0.300
|
|
BuildRequires: perl(ExtUtils::PkgConfig)
|
|
BuildRequires: perl(Cairo) >= 1.000
|
|
BuildRequires: perl(Glib) >= 1.220
|
|
BuildRequires: perl(Glib::MakeHelper)
|
|
BuildRequires: pango-devel >= 1.0.0
|
|
BuildRequires: perl(Test::More)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
Requires: perl(Cairo) >= 1.000
|
|
|
|
%description
|
|
perl-Pango provides Perl bindings for the text layout/rendering library
|
|
pango. Pango is a library for laying out and rendering text, with an
|
|
emphasis on internationalization. Pango can be used anywhere that text layout
|
|
is needed, but using Pango in conjunction with Cairo and/or Gtk2 provides a
|
|
complete solution with high quality text handling and graphics rendering.
|
|
|
|
%prep
|
|
%setup -q -n Pango-%{version}
|
|
%patch0 -p0
|
|
%{?perl_default_filter}
|
|
|
|
chmod -c a-x examples/*.pl
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
# Tests break in odd ways on koji, possibly no-display to blame?
|
|
# make test
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc LICENSE NEWS README examples/
|
|
%{perl_vendorarch}/Pango*
|
|
%{perl_vendorarch}/auto/Pango/
|
|
%{_mandir}/man3/*.3pm*
|
|
|
|
%changelog
|
|
* Tue Jan 12 2016 Petr Pisar <ppisar@redhat.com> - 1.226-6
|
|
- Fix pkgconfig output concatenation with pkgconfig-0.29 (bug #1297705)
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.226-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.226-4
|
|
- Perl 5.22 rebuild
|
|
|
|
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.226-3
|
|
- Perl 5.20 rebuild
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.226-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Tue Jul 8 2014 Tom Callaway <spot@fedoraproject.org> - 1.226-1
|
|
- update to 1.226
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
* Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.221-8
|
|
- Perl 5.18 rebuild
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.221-5
|
|
- Perl 5.16 rebuild
|
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.221-3
|
|
- Perl mass rebuild
|
|
|
|
* Thu Mar 3 2011 Tom Callaway <spot@fedoraproject.org> - 1.221-2
|
|
- drop duplicated requires
|
|
- add default perl filtering
|
|
|
|
* Wed Jan 26 2011 Tom Callaway <spot@fedoraproject.org> - 1.221-1
|
|
- initial package
|