perl-gettext-vl.spec 3.0 KB

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