perl-Text-Unidecode-vl.spec 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. Summary: US-ASCII transliterations of Unicode text
  2. Name: perl-Text-Unidecode
  3. Version: 1.23
  4. Release: 1%{?_dist_release}
  5. Group: Development/Libraries
  6. License: GPL+ or Artistic
  7. URL: http://search.cpan.org/dist/Text-Unidecode/
  8. Source0: http://www.cpan.org/modules/by-module/Text/Text-Unidecode-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildArch: noarch
  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. Text::Unidecode provides a function, `unidecode(...)' that
  17. takes Unicode data and tries to represent it in US-ASCII
  18. characters (i.e., the universally displayable characters between
  19. 0x00 and 0x7F). The representation is almost always an attempt at
  20. *transliteration* -- i.e., conveying, in Roman letters, the
  21. pronunciation expressed by the text in some other writing
  22. system.
  23. %prep
  24. %setup -q -n Text-Unidecode-%{version}
  25. %build
  26. %{__perl} Makefile.PL INSTALLDIRS=vendor
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  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 d -depth -exec rmdir {} 2>/dev/null ';'
  33. chmod -R u+w $RPM_BUILD_ROOT/*
  34. %check
  35. make test
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %doc README TODO.txt ChangeLog
  41. %{perl_vendorlib}/Text/
  42. %{_mandir}/man3/*.3*
  43. %changelog
  44. * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.23-1
  45. - updated to 1.23
  46. - built with perl 5.16.3
  47. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.4-2
  48. - rebuild with perl-5.12.3
  49. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-1vl5
  50. - applied new versioning policy
  51. * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1
  52. - initial build for Vine Linux
  53. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-4.1
  54. - correct license tag
  55. - add BR: perl(ExtUtils::MakeMaker)
  56. * Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4
  57. - rebuild for FC6
  58. * Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3
  59. - rebuild for perl-5.8.8
  60. * Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2
  61. - rebuild for fc5
  62. * Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1
  63. - fedora extras submission