perl-Glib-vl.spec 5.2 KB

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