commit af224c9b7642dd5c0aaf00480a864811bd24145d Author: Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> Date: Thu Jan 27 02:41:44 2011 +0100 Import. .gitignore | 1 + perl-HTML-Quoted.spec | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..91c80a9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/HTML-Quoted-0.03.tar.gz diff --git a/perl-HTML-Quoted.spec b/perl-HTML-Quoted.spec new file mode 100644 index 0000000..4e847ad --- /dev/null +++ b/perl-HTML-Quoted.spec @@ -0,0 +1,54 @@ +Name: perl-HTML-Quoted +Version: 0.03 +Release: 1%{?dist} +Summary: Extract structure of quoted HTML mail message +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/HTML-Quoted/ +Source0: http://www.cpan.org/authors/id/R/RU/RUZ/HTML-Quoted-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(HTML::Parser) >= 3.0 +BuildRequires: perl(Test::More) +BuildRequires: perl(Data::Dumper) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Extract structure of quoted HTML mail message. + +%prep +%setup -q -n HTML-Quoted-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +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 -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Jan 20 2011 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.03-1 +- Upstream update. + +* Tue Dec 21 2010 Ralf CorsÃpius <corsepiu@xxxxxxxxxxxxxxxxx> - 0.02-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..b556568 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +dc614a27838ee3218f32738de1881e1f HTML-Quoted-0.03.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel