perl-gettext-vl.spec 3.5 KB

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