[perl-HTML-Quoted/f13/master] Import.

corsepiu corsepiu at fedoraproject.org
Thu Jan 27 01:58:52 UTC 2011


commit e5609eeea0a96fe942be63448a369fd3e855d2b3
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Jan 27 02:58:35 2011 +0100

    Import.

 .gitignore            |    1 +
 perl-HTML-Quoted.spec |   57 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 59 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..e414fb9
--- /dev/null
+++ b/perl-HTML-Quoted.spec
@@ -0,0 +1,57 @@
+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))
+
+# Missed by Fedora < 15's rpm
+Requires:       perl(HTML::Parser)
+
+%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 at fedoraproject.org> - 0.03-1
+- Upstream update.
+
+* Tue Dec 21 2010 Ralf Corsépius <corsepiu at fedoraproject.org> - 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


More information about the perl-devel mailing list