perl-Text-Unidecode-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Summary: US-ASCII transliterations of Unicode text
  2. Name: perl-Text-Unidecode
  3. Version: 0.04
  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-%(%{__id_u} -n)
  10. BuildArch: noarch
  11. BuildRequires: perl(ExtUtils::MakeMaker)
  12. %description
  13. Text::Unidecode provides a function, `unidecode(...)' that
  14. takes Unicode data and tries to represent it in US-ASCII
  15. characters (i.e., the universally displayable characters between
  16. 0x00 and 0x7F). The representation is almost always an attempt at
  17. *transliteration* -- i.e., conveying, in Roman letters, the
  18. pronunciation expressed by the text in some other writing
  19. system.
  20. %prep
  21. %setup -q -n Text-Unidecode-%{version}
  22. %build
  23. %{__perl} Makefile.PL INSTALLDIRS=vendor
  24. make %{?_smp_mflags}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  28. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
  29. find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
  30. chmod -R u+w $RPM_BUILD_ROOT/*
  31. %check
  32. make test
  33. %clean
  34. rm -rf $RPM_BUILD_ROOT
  35. %files
  36. %defattr(-,root,root,-)
  37. %doc README TODO.txt ChangeLog
  38. %{perl_vendorlib}/Text/
  39. %{_mandir}/man3/*.3*
  40. %changelog
  41. * Tue Aug 19 2008 Shu KONNO <owa@bg.wakwak.com> 0.0.4-1vl5
  42. - applied new versioning policy
  43. * Thu Nov 01 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.4-0vl1
  44. - initial build for Vine Linux
  45. * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.04-4.1
  46. - correct license tag
  47. - add BR: perl(ExtUtils::MakeMaker)
  48. * Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4
  49. - rebuild for FC6
  50. * Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3
  51. - rebuild for perl-5.8.8
  52. * Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2
  53. - rebuild for fc5
  54. * Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1
  55. - fedora extras submission