auto-import perl-Text-Unidecode-0.04-1 on branch devel from
perl-Text-Unidecode-0.04-1.src.rpm
This commit is contained in:
parent
495cf673dd
commit
a0289c5c01
@ -0,0 +1 @@
|
||||
Text-Unidecode-0.04.tar.gz
|
||||
61
perl-Text-Unidecode.spec
Normal file
61
perl-Text-Unidecode.spec
Normal file
@ -0,0 +1,61 @@
|
||||
Name: perl-Text-Unidecode
|
||||
Version: 0.04
|
||||
Release: 1%{?dist}
|
||||
Summary: US-ASCII transliterations of Unicode text
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/Text-Unidecode/
|
||||
Source0: http://www.cpan.org/modules/by-module/Text/Text-Unidecode-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildArch: noarch
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%description
|
||||
|
||||
Text::Unidecode provides a function, `unidecode(...)' that
|
||||
takes Unicode data and tries to represent it in US-ASCII
|
||||
characters (i.e., the universally displayable characters between
|
||||
0x00 and 0x7F). The representation is almost always an attempt at
|
||||
*transliteration* -- i.e., conveying, in Roman letters, the
|
||||
pronunciation expressed by the text in some other writing
|
||||
system.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n Text-Unidecode-%{version}
|
||||
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README TODO.txt ChangeLog
|
||||
%{perl_vendorlib}/Text/
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Jan 29 2006 Patrice Dumas <pertusus at free.fr> - 0.04-1
|
||||
- fedora extras submission
|
||||
Loading…
Reference in New Issue
Block a user