# 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} %{perl_requires} BuildRequires: gcc BuildRequires: perl BuildRequires: perl-macros 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 # 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} %{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}