perl-Glib-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. Name: perl-Glib
  2. Version: 1.200
  3. Release: 1%{?_dist_release}
  4. Summary: Perl interface to GLib
  5. Summary(ja): Glib の Perl インタフェース
  6. Group: Development/Libraries
  7. License: LGPLv2+
  8. URL: http://search.cpan.org/dist/Glib/
  9. Source0: http://www.cpan.org/authors/id/T/TS/TSCH/Glib-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl >= 5.8.0
  12. BuildRequires: glib2-devel
  13. BuildRequires: perl(ExtUtils::Depends), perl(ExtUtils::PkgConfig)
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. BuildRequires: perl(Test::More)
  16. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  17. %description
  18. This module provides perl access to Glib and GLib's GObject libraries.
  19. GLib is a portability and utility library; GObject provides a generic
  20. type system with inheritance and a powerful signal system. Together
  21. these libraries are used as the foundation for many of the libraries
  22. that make up the Gnome environment, and are used in many unrelated
  23. projects.
  24. %prep
  25. %setup -q -n Glib-%{version}
  26. # Provides: exclude perl(MY)
  27. cat <<__EOF__ > %{name}-perl.prov
  28. #!/bin/sh
  29. /usr/lib/rpm/perl.prov \$* | grep -v '^perl(MY)$'
  30. __EOF__
  31. %define __perl_provides %{_builddir}/Glib-%{version}/%{name}-perl.prov
  32. chmod +x %{__perl_provides}
  33. %build
  34. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  35. make
  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. make test
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS ChangeLog LICENSE NEWS README TODO
  50. %{perl_vendorarch}/auto/Glib/
  51. %{perl_vendorarch}/Glib*
  52. %{_mandir}/man3/*.3pm*
  53. %changelog
  54. * Tue Nov 04 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.200-1
  55. - new upstream release
  56. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.162-1
  57. - initial build for Vine Linux
  58. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-5
  59. - Rebuild for perl 5.10 (again)
  60. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.162-4
  61. - Autorebuild for GCC 4.3
  62. * Tue Feb 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-3
  63. - rebuild for new perl
  64. * Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-2
  65. - disable smp_mflags, they break on massively SMP boxes (bz 428911)
  66. * Mon Dec 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-1
  67. - 1.162
  68. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.144-1.2
  69. - add BR: perl(Test::More)
  70. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.144-1.1
  71. - correct license tag
  72. - add BR: perl(ExtUtils::MakeMaker)
  73. * Mon Feb 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.144-1
  74. - Update to 1.144.
  75. * Sun Feb 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.143-1
  76. - Update to 1.143.
  77. * Thu Dec 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.142-1
  78. - Update to 1.142.
  79. * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.141-1
  80. - Update to 1.141.
  81. * Wed Sep 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.140-1
  82. - Update to 1.140.
  83. * Tue Mar 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.120-1
  84. - Update to 1.120.
  85. * Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.105-2
  86. - make tag problem.
  87. * Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.105-1
  88. - Update to 1.105.
  89. * Mon Feb 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.104-1
  90. - Update to 1.104 (fails one test in perl 5.8.8).
  91. * Thu Jan 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.103-1
  92. - Update to 1.103.
  93. - Provides list: filtered out perl(MY) (#177956).
  94. * Wed Nov 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.102-1
  95. - Update to 1.102.
  96. * Thu Oct 6 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.101-1
  97. - Update to 1.101.
  98. * Thu Sep 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.100-1
  99. - Update to 1.100.
  100. * Mon Jun 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.082-1
  101. - Update to 1.082.
  102. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  103. - rebuilt
  104. * Tue Mar 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.080-1
  105. - Update to 1.080.
  106. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.062-1
  107. - Update to 1.062.
  108. * Mon Oct 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.061-0.fdr.2
  109. - Removed irrelevant documentation file - Glib.exports.
  110. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.061-0.fdr.1
  111. - Update to 1.061.
  112. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.043-0.fdr.1
  113. - First build.