perl-gettext-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. %define PackageName gettext
  2. Name: perl-%{PackageName}
  3. Version: 1.05
  4. Release: 11%{?_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. * Thu Apr 28 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.05-11
  52. - add patch0 from http://rt.cpan.org/Public/Bug/Display.html?id=35680
  53. - add Vendor, Distribution and Packager tag.
  54. * Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 1.05-10vl6
  55. - rebuild with perl 5.12.3
  56. * Mon Jul 07 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.05-9
  57. - rebuild with perl-5.10
  58. - new versioning policy
  59. * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-8vl1
  60. - new upstream release
  61. * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 1.03-0vl2
  62. - build on perl-5.8.6-0vl1
  63. - update URL
  64. * Sun Sep 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03-0vl1
  65. - new upstream release
  66. - changed Group: and URL:
  67. - added Prereq: gettext
  68. - moved perllocal.pod to docdir
  69. - rebuild with perl 5.8.2
  70. * Tue Oct 7 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.01-14vl2
  71. - rebuild to remove dependancy at i386
  72. - rebuild with perl 5.8.1
  73. * Tue Nov 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.01-14vl1
  74. - build for Vine Linux
  75. * Sun Nov 11 2001 Magic Bumper <dist@conectiva.com.br>
  76. + perl-%{PackageName}-1.01-14cl
  77. - rebuilt against current perl version
  78. * Fri Mar 02 2001 Rodrigo Barbosa <rodrigob@conectiva.com>
  79. + perl-gettext-1.01-13cl
  80. - Removing macros from changelog
  81. * Thu Dec 07 2000 Rodrigo Barbosa <rodrigob@conectiva.com>
  82. - Added AutoProv: no
  83. * Mon Oct 31 2000 Raul Dias <rsd@conectiva.com>
  84. - Changed perl from "Requires:" to "Prereq:".
  85. * Sat Oct 28 2000 Raul Dias <rsd@conectiva.com>
  86. - Updated spec file
  87. - eliminate sed use
  88. * Fri Sep 29 2000 Raul Dias <rsd@conectiva.com>
  89. - Updated spec file
  90. * Tue Jun 06 2000 Raul Dias <rsd@conectiva.com>
  91. - Fixed instalation without %%doc
  92. * Mon May 22 2000 Raul Dias <rsd@conectiva.com.br>
  93. - New spec allow compiling with perl version 5.00503 and >= 5.6.0
  94. * Fri May 05 2000 Raul Dias <rsd@conectiva.com>
  95. - New spec format
  96. * Fri Mar 10 2000 Raul Dias <rsd@conectiva.com.br>
  97. - first build