%define pkg_name PerlIO-via-QuotedPrint %define pkg_version 0.06 %define rpm_pkg_version 0.06 %define rpm_pkg_release 1.n0i.1 Summary: PerlIO::via::QuotedPrint - PerlIO layer for quoted-printable strings Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Epoch: 0 Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/E/EL/ELIZABETH/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(:WITH_PERLIO) %{!?_without_test:BuildRequires: perl(MIME::QuotedPrint)} %{!?_without_test:BuildRequires: perl(Test::More)} %description This module implements a PerlIO layer that works on files encoded in the quoted-printable format. It will decode from quoted-printable while reading from a handle, and it will encode as quoted-printable while writing to a handle. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc CHANGELOG README %changelog * Thu May 31 2007 Marius Feraru - 0:0.06-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 0.06