rebuilt in devel [release 0.04-2mamba;Fri Feb 22 2013]
This commit is contained in:
parent
2e86d9139f
commit
ce2036b2db
@ -1,2 +1,5 @@
|
|||||||
# perl-Text-Unidecode
|
# perl-Text-Unidecode
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
57
perl-Text-Unidecode.spec
Normal file
57
perl-Text-Unidecode.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Text-Unidecode
|
||||||
|
Version: 0.04
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Text::Unidecode -- US-ASCII transliterations of Unicode text
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/Text-Unidecode-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%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}
|
||||||
|
#%patch0 -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
make
|
||||||
|
make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/Text/
|
||||||
|
%{_mandir}/man3/*.3pm.gz
|
||||||
|
#% doc ChangeLog README TODO.txt
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Feb 22 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.04-2mamba
|
||||||
|
- rebuilt in devel
|
||||||
|
|
||||||
|
* Sat Feb 12 2011 gil <puntogil@libero.it> 0.04-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user