perl-gettext-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. %define PackageName gettext
  2. Name: perl-%{PackageName}
  3. Summary: Interface to gettext family of functions
  4. Version: 1.07
  5. Release: 2%{?_dist_release}
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. Packager: daisuke, inagaki, iwaim
  10. License: GPL or Artistic
  11. Source: http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-%{version}.tar.gz
  12. URL: http://search.cpan.org/~pvandry/gettext/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: gettext
  15. Requires: gettext
  16. Requires: perl(:MODULE_COMPAT_%{perl_abi_version})
  17. Obsoletes: perl-Locale-gettext <= 1.05
  18. %description
  19. Perl module gettext - This module give acces to the C library functions
  20. for internatialization gettext.
  21. %debug_package
  22. %prep
  23. %setup -q -n Locale-%{PackageName}-%{version}
  24. %build
  25. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  26. make %{?_smp_mflags}
  27. %install
  28. rm -rf %{buildroot}
  29. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  30. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  31. find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
  32. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  33. chmod -R u+w $RPM_BUILD_ROOT/*
  34. %check
  35. unset LC_MESSAGES
  36. case "$LANG" in
  37. ''|'C'|'POSIX' )
  38. export LANG=en_US.UTF-8;;
  39. esac
  40. make test
  41. %clean
  42. rm -rf %{buildroot}
  43. %files
  44. %defattr(-,root,root,-)
  45. %doc README
  46. %{perl_vendorarch}/auto/Locale
  47. %{perl_vendorarch}/Locale
  48. %{_mandir}/man3/*.3*
  49. %changelog
  50. * Sat Sep 10 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.07-2
  51. - rebuilt with perl-5.34.
  52. * Mon Aug 12 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.07-1
  53. - new upstream release.
  54. - rebuilt with perl-5.26.
  55. - dropped Patch0.
  56. * Sat Jul 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.05-12
  57. - rebuild with perl-5.16.3
  58. * Thu Apr 28 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.05-11
  59. - add patch0 from http://rt.cpan.org/Public/Bug/Display.html?id=35680
  60. - add Vendor, Distribution and Packager tag.
  61. * Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 1.05-10vl6
  62. - rebuild with perl 5.12.3
  63. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.05-9
  64. - rebuild with perl-5.10
  65. - new versioning policy
  66. * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-8vl1
  67. - new upstream release
  68. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 1.03-0vl2
  69. - build on perl-5.8.6-0vl1
  70. - update URL
  71. * Sun Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03-0vl1
  72. - new upstream release
  73. - changed Group: and URL:
  74. - added Prereq: gettext
  75. - moved perllocal.pod to docdir
  76. - rebuild with perl 5.8.2
  77. * Tue Oct 7 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.01-14vl2
  78. - rebuild to remove dependancy at i386
  79. - rebuild with perl 5.8.1
  80. * Tue Nov 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-14vl1
  81. - build for Vine Linux
  82. * Sun Nov 11 2001 Magic Bumper <dist@conectiva.com.br>
  83. + perl-%{PackageName}-1.01-14cl
  84. - rebuilt against current perl version
  85. * Fri Mar 02 2001 Rodrigo Barbosa <rodrigob@conectiva.com>
  86. + perl-gettext-1.01-13cl
  87. - Removing macros from changelog
  88. * Thu Dec 07 2000 Rodrigo Barbosa <rodrigob@conectiva.com>
  89. - Added AutoProv: no
  90. * Tue Oct 31 2000 Raul Dias <rsd@conectiva.com>
  91. - Changed perl from "Requires:" to "Prereq:".
  92. * Sat Oct 28 2000 Raul Dias <rsd@conectiva.com>
  93. - Updated spec file
  94. - eliminate sed use
  95. * Fri Sep 29 2000 Raul Dias <rsd@conectiva.com>
  96. - Updated spec file
  97. * Tue Jun 06 2000 Raul Dias <rsd@conectiva.com>
  98. - Fixed instalation without %%doc
  99. * Mon May 22 2000 Raul Dias <rsd@conectiva.com.br>
  100. - New spec allow compiling with perl version 5.00503 and >= 5.6.0
  101. * Fri May 05 2000 Raul Dias <rsd@conectiva.com>
  102. - New spec format
  103. * Fri Mar 10 2000 Raul Dias <rsd@conectiva.com.br>
  104. - first build