2010-08-26 23:08:03 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-Encode
|
|
|
|
Version: 2.39
|
|
|
|
Release: 0
|
|
|
|
Summary: Interfaces between Perl Strings and the rest of the system
|
|
|
|
# http://search.cpan.org/CPAN/authors/id/D/DA/DANKOGAI/Encode-%{version}.tar.gz
|
|
|
|
Source: Encode-%{version}.tar.bz2
|
|
|
|
Source99: rpmlintrc
|
|
|
|
URL: http://search.cpan.org/dist/Encode
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Perl License
|
|
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
2010-12-01 13:44:16 +00:00
|
|
|
%{perl_requires}
|
2010-08-26 23:08:03 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: perl
|
2010-12-03 14:04:06 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-08-26 23:08:03 +00:00
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
%description
|
|
|
|
The "Encode" module provides the interfaces between Perl's strings and the
|
|
|
|
rest of the system. Perl strings are sequences of characters.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Encode-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
2010-08-26 23:34:21 +00:00
|
|
|
# don't include these, they conflict with perl itself:
|
|
|
|
%exclude %{_bindir}/enc2xs
|
|
|
|
%exclude %{_bindir}/piconv
|
|
|
|
%exclude %doc %{_mandir}/man1/enc2xs.1%{ext_man}
|
|
|
|
%exclude %doc %{_mandir}/man1/piconv.1%{ext_man}
|
2010-08-26 23:08:03 +00:00
|
|
|
%{perl_vendorarch}/Encode.pm
|
|
|
|
%{perl_vendorarch}/Encode
|
|
|
|
%{perl_vendorarch}/encoding.pm
|
|
|
|
%{perl_vendorarch}/auto/Encode
|
|
|
|
%doc %{perl_man3dir}/Encode.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/Encode::*.%{perl_man3ext}%{ext_man}
|
|
|
|
%doc %{perl_man3dir}/encoding.%{perl_man3ext}%{ext_man}
|
|
|
|
|