perl-libintl-perl-vl.spec 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. Summary: Internationalization library for Perl, compatible with gettext
  2. Name: perl-libintl-perl
  3. Version: 1.35
  4. Release: 1%{?_dist_release}
  5. Group: programming
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. # gettext_xs/gettext_xs.pm: GPLv3+
  9. # gettext_xs/Makefile.PL: LGPLv2+
  10. # lib/Locale/gettext_xs.pod: LGPLv2+
  11. # lib/Locale/RecodeData.pm: GPLv3+
  12. # lib/Locale/libintlFAQ.pod: LGPLv2+
  13. # COPYING: GPLv3+
  14. License: GPLv3+ and LGPLv2+
  15. URL: https://metacpan.org/release/libintl-perl
  16. Source0: https://cpan.metacpan.org/authors/id/G/GU/GUIDO/libintl-perl-%{version}.tar.gz
  17. # this module was renamed in the f25 dev cycle
  18. Provides: perl-libintl = %{version}-%{release}
  19. Obsoletes: perl-libintl < 1.25
  20. BuildRequires: coreutils
  21. BuildRequires: findutils
  22. BuildRequires: gcc
  23. BuildRequires: glibc-common
  24. BuildRequires: make
  25. BuildRequires: perl
  26. BuildRequires: perl(Config)
  27. BuildRequires: perl(ExtUtils::MakeMaker)
  28. BuildRequires: perl(File::Find)
  29. BuildRequires: perl(strict)
  30. BuildRequires: perl(vars)
  31. BuildRequires: sed
  32. # Run-time:
  33. BuildRequires: perl(base)
  34. BuildRequires: perl(bytes)
  35. BuildRequires: perl(constant)
  36. BuildRequires: perl(Cwd)
  37. BuildRequires: perl(DynaLoader)
  38. BuildRequires: perl(Encode)
  39. BuildRequires: perl(Encode::Alias)
  40. BuildRequires: perl(Exporter)
  41. BuildRequires: perl(File::Spec)
  42. BuildRequires: perl(integer)
  43. BuildRequires: perl(IO::Handle)
  44. BuildRequires: perl(locale)
  45. BuildRequires: perl(POSIX)
  46. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  47. %{?perl_default_filter}
  48. %description
  49. The package libintl-perl is an internationalization library for Perl that
  50. aims to be compatible with the Uniforum message translations system as
  51. implemented for example in GNU gettext.
  52. %debug_package
  53. %prep
  54. %setup -q -n libintl-perl-%{version}
  55. find -type f -exec chmod -x {} \;
  56. find lib/Locale gettext_xs \( -name '*.pm' -o -name '*.pod' \) \
  57. -exec sed -i -e '/^#! \/bin\/false/d' {} \;
  58. # Fix rpmlint errors and warnings
  59. cd sample/simplecal
  60. sed -i -e '1i#!%{__perl}' bin/simplecal.pl Makefile.PL
  61. for file in po/*.po; do
  62. iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \
  63. mv $file.new $file
  64. done
  65. rm .gitignore MANIFEST
  66. %build
  67. perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
  68. make %{?_smp_mflags}
  69. %install
  70. make pure_install DESTDIR=%{buildroot}
  71. find %{buildroot} -type f \( -name '*.bs' -size 0 \) -delete
  72. %{_fixperms} %{buildroot}
  73. %if 0
  74. %check
  75. make test
  76. %endif
  77. %files
  78. %license COPYING
  79. %doc Changes Credits FAQ NEWS README REFERENCES THANKS TODO
  80. %doc sample
  81. %{perl_vendorlib}/Locale/
  82. %{perl_vendorarch}/auto/Locale/
  83. %{_mandir}/man?/*
  84. %changelog
  85. * Mon Jun 16 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.35-1
  86. - new upstream release.
  87. - built with perl-5.40.
  88. * Fri Nov 19 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.32-1
  89. - new upstream release.
  90. - built with perl-5.34.0.
  91. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.31-6
  92. - initial build for Vine Linux.
  93. * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-5
  94. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  95. * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-4
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  97. * Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.31-3
  98. - Perl 5.30 rebuild
  99. * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.31-2
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  101. * Sun Nov 25 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.31-1
  102. - Update to 1.31
  103. - Whitelist known rpmlint errors
  104. * Tue Nov 06 2018 Emmanuel Seyman <emmanuel@seyman.fr> - 1.30-1
  105. - Update to 1.30
  106. * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-5
  107. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  108. * Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-4
  109. - Perl 5.28 rebuild
  110. * Tue Jun 05 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.29-3
  111. - Run the tests with LANG=en_US to ensure we use the right dictionary
  112. * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
  113. - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
  114. * Sun Nov 12 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1.29-1
  115. - Update to 1.29
  116. * Sun Sep 03 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1.28-1
  117. - Update to 1.28
  118. * Sun Aug 13 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 1.27-1
  119. - Update to 1.27
  120. - Drop upstreamed patch
  121. * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-6
  122. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  123. * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-5
  124. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  125. * Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.26-4
  126. - Perl 5.26 rebuild
  127. * Mon May 15 2017 Petr Pisar <ppisar@redhat.com> - 1.26-3
  128. - Fix building on Perl without "." in @INC (CPAN RT#120446)
  129. * Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.26-2
  130. - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
  131. * Sat Jun 18 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1.26-1
  132. - Update to 1.26
  133. * Wed May 25 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1.25-2
  134. - Take into account the re-review comments (#1339004)
  135. * Sat May 21 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1.25-1
  136. - Update package to 1.25-1
  137. - Rename package to perl-libintl-perl, the module's name on CPAN
  138. - Trim changelog
  139. * Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.24-3
  140. - Perl 5.24 rebuild
  141. * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.24-2
  142. - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
  143. * Mon Sep 14 2015 Petr Pisar <ppisar@redhat.com> - 1.24-1
  144. - 1.24 bump
  145. - License changed from (LGPLv2+) to (GPLv3+ and LGPLv2+)
  146. * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-18
  147. - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
  148. * Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-17
  149. - Perl 5.22 rebuild
  150. * Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.20-16
  151. - Perl 5.20 rebuild
  152. * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-15
  153. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
  154. * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-14
  155. - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
  156. * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-13
  157. - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
  158. * Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.20-12
  159. - Perl 5.18 rebuild
  160. * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-11
  161. - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
  162. * Tue Nov 20 2012 Petr Šabata <contyk@redhat.com> - 1.20-10
  163. - Add some missing BRs
  164. - Modernize the spec
  165. - Drop command macros
  166. * Thu Oct 11 2012 Petr Pisar <ppisar@redhat.com> - 1.20-9
  167. - Do not provide private library
  168. - Drop unneeded build-time dependencies
  169. - Specify all dependencies
  170. * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-8
  171. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  172. * Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.20-7
  173. - Perl 5.16 rebuild
  174. * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-6
  175. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  176. * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.20-5
  177. - Perl mass rebuild
  178. * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.20-4
  179. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  180. * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.20-3
  181. - 661697 rebuild for fixing problems with vendorach/lib
  182. * Sun May 02 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.20-2
  183. - Mass rebuild with perl-5.12.0
  184. * Fri Jan 15 2010 Stepan Kasal <skasal@redhat.com> - 1.20-1
  185. - new upstream version
  186. - better buildroot
  187. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.16-11
  188. - rebuild against perl 5.10.1
  189. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-10
  190. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  191. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-9
  192. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  193. * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.16-8
  194. - Rebuild for perl 5.10 (again)
  195. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.16-7
  196. - Autorebuild for GCC 4.3
  197. * Tue Feb 5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.16-6
  198. - rebuild for new perl
  199. * Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 1.16-5
  200. - Rebuild for new BuildID feature.
  201. * Mon Aug 6 2007 Matthias Saou <http://freshrpms.net/> 1.16-4
  202. - Update License field.
  203. - Add perl(ExtUtils::MakeMaker) build requirement.
  204. * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.16-3
  205. - FC6 rebuild.
  206. - Change spec file back to my own liking...
  207. * Sat Feb 11 2006 Ralf Corsépius <rc040203@freenet.de> 1.16-2
  208. - Rework spec (PR 180767).
  209. * Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 1.16-1
  210. - Update to 1.16.