perl-Unicode-String-vl.spec 2.8 KB

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