perl-Text-Unidecode-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Summary: US-ASCII transliterations of Unicode text
  2. Name: perl-Text-Unidecode
  3. Version: 1.30
  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. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. BuildArch: noarch
  13. BuildRequires: perl(ExtUtils::MakeMaker)
  14. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  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. * Mon May 20 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.30-1
  45. - new upstream release.
  46. - rebuilt with perl-5.26.
  47. * Tue Dec 23 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.23-1
  48. - updated to 1.23
  49. - built with perl 5.16.3
  50. * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.0.4-2
  51. - rebuild with perl-5.12.3
  52. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-1vl5
  53. - applied new versioning policy
  54. * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1
  55. - initial build for Vine Linux
  56. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-4.1
  57. - correct license tag
  58. - add BR: perl(ExtUtils::MakeMaker)
  59. * Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4
  60. - rebuild for FC6
  61. * Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3
  62. - rebuild for perl-5.8.8
  63. * Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2
  64. - rebuild for fc5
  65. * Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1
  66. - fedora extras submission