perl-Cairo-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. #
  2. # Rebuild option:
  3. #
  4. # --with testsuite - run the test suite
  5. #
  6. Name: perl-Cairo
  7. Version: 1.105
  8. Release: 1%{?_dist_release}
  9. Summary: Perl interface to the cairo library
  10. Summary(ja): Cairo ライブラリの Perl 用インターフェイス
  11. Group: Development/Libraries
  12. License: LGPLv2+
  13. URL: http://search.cpan.org/dist/Cairo/
  14. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Cairo-%{version}.tar.gz
  15. Patch0: perl-Cairo-ATSUItoQUARTZ.patch
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: perl(ExtUtils::Depends)
  18. BuildRequires: perl(ExtUtils::PkgConfig)
  19. BuildRequires: perl(Test::Number::Delta)
  20. BuildRequires: cairo-devel >= 1.0.0
  21. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. %description
  25. Cairo provides Perl bindings for the vector graphics library cairo.
  26. It supports multiple output targets, including the X Window Systems,
  27. PDF, and PNG. Cairo produces identical output on all those targets
  28. and makes use of hardware acceleration wherever possible.
  29. %prep
  30. %setup -q -n Cairo-%{version}
  31. %patch0 -p1
  32. chmod -c a-x examples/*.pl
  33. %build
  34. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  39. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  40. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
  41. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  42. chmod -R u+w $RPM_BUILD_ROOT/*
  43. %check
  44. %{?_with_testsuite:make test}
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc ChangeLog* LICENSE NEWS README TODO examples/
  50. %{perl_vendorarch}/Cairo*
  51. %{perl_vendorarch}/auto/Cairo/
  52. %{_mandir}/man3/*.3pm*
  53. %changelog
  54. * Thu Apr 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.105-1
  55. - new upstream release
  56. * Mon Jul 21 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 1.104-1
  57. - build with Perl 5.16
  58. - update to 1.104
  59. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.061-1
  60. - new upstream release
  61. - add Vendor and Distribution tags
  62. * Tue Nov 04 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.060-1
  63. - new upstream release
  64. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.045-1
  65. - initial build for Vine Linux
  66. * Fri Apr 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.045-1
  67. - update to 1.045
  68. - change references to ATSUI to QUARTZ (resolves bz 440741)
  69. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-4
  70. - Rebuild for perl 5.10 (again)
  71. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.044-3
  72. - Autorebuild for GCC 4.3
  73. * Tue Feb 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-2
  74. - rebuild for new perl
  75. * Wed Nov 28 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.044-1
  76. - 1.044
  77. * Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.041-2
  78. - Rebuild for selinux ppc32 issue.
  79. * Tue Jun 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.041-1
  80. - Update to 1.041.
  81. * Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.040-1
  82. - Update to 1.040.
  83. * Mon Feb 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.023-1
  84. - Update to 1.023.
  85. * Sun Dec 31 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.022-1
  86. - Update to 1.022.
  87. * Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.021-1
  88. - Update to 1.021.
  89. * Sat Nov 11 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.02-1
  90. - Update to 1.02.
  91. * Mon Oct 2 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-2
  92. - Rebuild (https://www.redhat.com/archives/fedora-maintainers/2006-October/msg00005.html).
  93. * Tue Sep 26 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.01-1
  94. - Update to 1.01.
  95. * Tue Sep 5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.00-1
  96. - Update to 1.00.
  97. * Wed Aug 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.92-1
  98. - Update to 0.92.
  99. * Sat Aug 12 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.91-1
  100. - Update to 0.91.
  101. * Sun Jul 16 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.90-1
  102. - Update to 0.90.
  103. * Tue Apr 18 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.03-2
  104. - Disabled the test suite as it fails in mock.
  105. * Sun Mar 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.03-1
  106. - First build.