perl-gettext-vl.spec 3.5 KB

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