a0289c5
Name:           perl-Text-Unidecode
a0289c5
Version:        0.04
c96380d
Release:        4%{?dist}
a0289c5
Summary:        US-ASCII transliterations of Unicode text
a0289c5
a0289c5
Group:          Development/Libraries
0cb9c58
License:        GPL+ or Artistic
a0289c5
URL:            http://search.cpan.org/dist/Text-Unidecode/
a0289c5
Source0:        http://www.cpan.org/modules/by-module/Text/Text-Unidecode-%{version}.tar.gz
a0289c5
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a0289c5
a0289c5
BuildArch:      noarch
a0289c5
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
a0289c5
a0289c5
%description
a0289c5
a0289c5
Text::Unidecode provides a function, `unidecode(...)' that
a0289c5
takes Unicode data and tries to represent it in US-ASCII
a0289c5
characters (i.e., the universally displayable characters between
a0289c5
0x00 and 0x7F). The representation is almost always an attempt at
a0289c5
*transliteration* -- i.e., conveying, in Roman letters, the
a0289c5
pronunciation expressed by the text in some other writing
a0289c5
system. 
a0289c5
a0289c5
a0289c5
%prep
a0289c5
%setup -q -n Text-Unidecode-%{version}
a0289c5
a0289c5
a0289c5
%build
a0289c5
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
a0289c5
make %{?_smp_mflags}
a0289c5
a0289c5
a0289c5
%install
a0289c5
rm -rf $RPM_BUILD_ROOT
a0289c5
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
a0289c5
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
a0289c5
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
a0289c5
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
a0289c5
chmod -R u+w $RPM_BUILD_ROOT/*
a0289c5
a0289c5
a0289c5
%check
a0289c5
make test
a0289c5
a0289c5
a0289c5
%clean
a0289c5
rm -rf $RPM_BUILD_ROOT
a0289c5
a0289c5
a0289c5
%files
a0289c5
%defattr(-,root,root,-)
a0289c5
%doc README TODO.txt ChangeLog
a0289c5
%{perl_vendorlib}/Text/
a0289c5
%{_mandir}/man3/*.3*
a0289c5
a0289c5
a0289c5
%changelog
c96380d
* Tue Aug 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-4
c96380d
- rebuild for FC6
c96380d
28fc184
* Mon Jun 26 2006 Patrice Dumas <pertusus at free.fr> - 0.04-3
28fc184
- rebuild for perl-5.8.8
28fc184
b148bc2
* Fri Feb 17 2006 Patrice Dumas <pertusus at free.fr> - 0.04-2
b148bc2
- rebuild for fc5
b148bc2
a0289c5
* Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1
a0289c5
- fedora extras submission