perl-Glib-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Name: perl-Glib
  2. Version: 1.223
  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. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. This module provides perl access to Glib and GLib's GObject libraries.
  21. GLib is a portability and utility library; GObject provides a generic
  22. type system with inheritance and a powerful signal system. Together
  23. these libraries are used as the foundation for many of the libraries
  24. that make up the Gnome environment, and are used in many unrelated
  25. projects.
  26. %prep
  27. %setup -q -n Glib-%{version}
  28. # Provides: exclude perl(MY)
  29. cat <<__EOF__ > %{name}-perl.prov
  30. #!/bin/sh
  31. /usr/lib/rpm/perl.prov \$* | grep -v '^perl(MY)$'
  32. __EOF__
  33. %define __perl_provides %{_builddir}/Glib-%{version}/%{name}-perl.prov
  34. chmod +x %{__perl_provides}
  35. %build
  36. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  37. make
  38. %install
  39. rm -rf $RPM_BUILD_ROOT
  40. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  41. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  42. find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';'
  43. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
  44. chmod -R u+w $RPM_BUILD_ROOT/*
  45. %check
  46. make test
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc AUTHORS ChangeLog.pre-git LICENSE NEWS README TODO
  52. %{perl_vendorarch}/auto/Glib/
  53. %{perl_vendorarch}/Glib*
  54. %{_mandir}/man3/*.3pm*
  55. %changelog
  56. * Mon Mar 28 2011 IWAI, Masaharu <iwai@alib.jp> 1.223-1
  57. - new upstream release
  58. - add Vendor and Distribution tags
  59. - update files in doc
  60. * Tue Nov 04 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.200-1
  61. - new upstream release
  62. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.162-1
  63. - initial build for Vine Linux
  64. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-5
  65. - Rebuild for perl 5.10 (again)
  66. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.162-4
  67. - Autorebuild for GCC 4.3
  68. * Tue Feb 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-3
  69. - rebuild for new perl
  70. * Tue Jan 15 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-2
  71. - disable smp_mflags, they break on massively SMP boxes (bz 428911)
  72. * Mon Dec 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.162-1
  73. - 1.162
  74. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.144-1.2
  75. - add BR: perl(Test::More)
  76. * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.144-1.1
  77. - correct license tag
  78. - add BR: perl(ExtUtils::MakeMaker)
  79. * Mon Feb 26 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.144-1
  80. - Update to 1.144.
  81. * Sun Feb 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.143-1
  82. - Update to 1.143.
  83. * Thu Dec 7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.142-1
  84. - Update to 1.142.
  85. * Wed Nov 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.141-1
  86. - Update to 1.141.
  87. * Wed Sep 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.140-1
  88. - Update to 1.140.
  89. * Tue Mar 14 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.120-1
  90. - Update to 1.120.
  91. * Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.105-2
  92. - make tag problem.
  93. * Mon Feb 13 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.105-1
  94. - Update to 1.105.
  95. * Mon Feb 6 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.104-1
  96. - Update to 1.104 (fails one test in perl 5.8.8).
  97. * Thu Jan 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.103-1
  98. - Update to 1.103.
  99. - Provides list: filtered out perl(MY) (#177956).
  100. * Wed Nov 30 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.102-1
  101. - Update to 1.102.
  102. * Thu Oct 6 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.101-1
  103. - Update to 1.101.
  104. * Thu Sep 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.100-1
  105. - Update to 1.100.
  106. * Mon Jun 27 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.082-1
  107. - Update to 1.082.
  108. * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
  109. - rebuilt
  110. * Tue Mar 8 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 1.080-1
  111. - Update to 1.080.
  112. * Tue Feb 15 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.062-1
  113. - Update to 1.062.
  114. * Mon Oct 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.061-0.fdr.2
  115. - Removed irrelevant documentation file - Glib.exports.
  116. * Sun Oct 3 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.061-0.fdr.1
  117. - Update to 1.061.
  118. * Sun Jul 18 2004 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0:1.043-0.fdr.1
  119. - First build.