perl-Pango-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. Name: perl-Pango
  2. Version: 1.226
  3. Release: 4%{?_dist_release}
  4. Summary: Perl interface to the pango library
  5. Summary(ja): Pango ライブラリへの Perl インターフェイス
  6. Group: Development/Libraries
  7. License: LGPLv2+
  8. URL: http://search.cpan.org/dist/Pango/
  9. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Pango-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{verion}-root
  11. BuildRequires: perl(ExtUtils::Depends) >= 0.300
  12. BuildRequires: perl(ExtUtils::PkgConfig)
  13. BuildRequires: perl(Cairo) >= 1.000
  14. BuildRequires: perl(Glib) >= 1.220
  15. BuildRequires: perl(Glib::MakeHelper)
  16. BuildRequires: pango-devel >= 1.0.0
  17. BuildRequires: perl(Test::More)
  18. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  19. Requires: perl(Cairo) >= 1.000
  20. %description
  21. perl-Pango provides Perl bindings for the text layout/rendering library
  22. pango. Pango is a library for laying out and rendering text, with an
  23. emphasis on internationalization. Pango can be used anywhere that text layout
  24. is needed, but using Pango in conjunction with Cairo and/or Gtk2 provides a
  25. complete solution with high quality text handling and graphics rendering.
  26. %prep
  27. %setup -q -n Pango-%{version}
  28. %{?perl_default_filter}
  29. chmod -c a-x examples/*.pl
  30. %build
  31. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  32. make %{?_smp_mflags}
  33. %install
  34. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  35. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  36. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
  37. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  38. chmod -R u+w $RPM_BUILD_ROOT/*
  39. %check
  40. # Tests break in odd ways on koji, possibly no-display to blame?
  41. # make test
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc LICENSE NEWS README examples/
  45. %{perl_vendorarch}/Pango*
  46. %{perl_vendorarch}/auto/Pango/
  47. %{_mandir}/man3/*.3pm*
  48. %changelog
  49. * Fri Dec 05 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.226-4
  50. - Inital package for Vine Linux
  51. * Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.226-3
  52. - Perl 5.20 rebuild
  53. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.226-2
  54. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  55. * Tue Jul 8 2014 Tom Callaway <spot@fedoraproject.org> - 1.226-1
  56. - update to 1.226
  57. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-10
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  59. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-9
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  61. * Sun Jul 21 2013 Petr Pisar <ppisar@redhat.com> - 1.221-8
  62. - Perl 5.18 rebuild
  63. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-7
  64. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  65. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-6
  66. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  67. * Wed Jun 13 2012 Petr Pisar <ppisar@redhat.com> - 1.221-5
  68. - Perl 5.16 rebuild
  69. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.221-4
  70. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  71. * Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.221-3
  72. - Perl mass rebuild
  73. * Thu Mar 3 2011 Tom Callaway <spot@fedoraproject.org> - 1.221-2
  74. - drop duplicated requires
  75. - add default perl filtering
  76. * Wed Jan 26 2011 Tom Callaway <spot@fedoraproject.org> - 1.221-1
  77. - initial package