perl-Unicode-String-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. %define realname Unicode-String
  2. Name: perl-Unicode-String
  3. Summary: Unicode-String module for perl
  4. Version: 2.09
  5. Release: 3%{_dist_release}
  6. License: GPL or Artistic
  7. Group: Development/Libraries
  8. Url: http://search.cpan.org/~gaas/Unicode-String/
  9. Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Unicode/%{realname}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. %description
  16. These are experimental modules to handle various Unicode issues. They
  17. were made before perl included native UTF8 support.
  18. More information on what Unicode is and can do for you are to be found
  19. at http://www.unicode.org
  20. %prep
  21. %setup -q -n %{realname}-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
  29. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  30. find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -exec rm -f {} ';'
  31. find $RPM_BUILD_ROOT/usr -type f -print |
  32. sed "s@^$RPM_BUILD_ROOT@@g" |
  33. grep -v perllocal.pod |
  34. grep -v "\.packlist" > Unicode-Strings-%{version}-filelist
  35. if [ "$(cat Unicode-Strings-%{version}-filelist)X" = "X" ] ; then
  36. echo "ERROR: EMPTY FILE LIST"
  37. exit -1
  38. fi
  39. %check
  40. make test
  41. %clean
  42. rm -rf $RPM_BUILD_ROOT
  43. %files -f Unicode-Strings-%{version}-filelist
  44. %defattr(-,root,root)
  45. %changelog
  46. * Sun Dec 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.09-3
  47. - rebuilt with perl 5.16.3
  48. - fixed spec file encoding
  49. - added Vendor and Distribution tag
  50. * Sat Apr 23 2011 IWAI, Masaharu <iwai@alib.jp> 2.09-2vl6
  51. - build with perl 5.12.3
  52. * Mon Apr 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.09-1vl5
  53. - rebuilt with perl-5.10.0
  54. - applied new versioning policy
  55. * Thu Aug 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.09-0vl2
  56. - changed Group to Development/Libraries
  57. * Sat Jul 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.09-0vl1
  58. - new upstream release
  59. - changed Group to Development/Languages
  60. * Mon Jan 10 2005 Satoshi MACHINO <machino@vinelinux.org> 2.07-3vl2
  61. - built with perl-5.8.6
  62. * Sat Oct 02 2004 Satoshi MACHINO <machino@vinelinux.org> 2.07-3vl1
  63. - rebuilt for VineLinux
  64. * Thu Aug 14 2003 Per リyvind Karlsen <peroyvind@linux-mandrake.com> 2.07-3mdk
  65. - rebuild for new perl
  66. - drop Prefix tag
  67. - don't use PREFIX
  68. - use %%makeinstall_std macro
  69. * Tue May 27 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 2.07-1mdk
  70. - rebuild for new auto{prov,req}
  71. * Fri Apr 25 2003 Fran輟is Pons <fpons@mandrakesoft.com> 2.07-1mdk
  72. - 2.07.
  73. * Wed Jan 29 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.06-5mdk
  74. - rebuild
  75. * Fri Jan 24 2003 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 2.06-4mdk
  76. - Rebuilt
  77. * Tue Aug 06 2002 Guillaume Rousse <g.rousse@linux-mandrake.com> 2.06-3mdk
  78. - rebuild for multi-thread perl
  79. * Wed Jul 10 2002 Pixel <pixel@mandrakesoft.com> 2.06-2mdk
  80. - rebuild for perl 5.8.0
  81. * Fri Mar 8 2002 Arnaud de Lorbeau <adelorbeau@mandrakesoft.com> 2.06-1mdk
  82. - First MandrakeSoft Package