commit 44e72a031618a5f596138786a9fa0b45872b464c
Author: Nicolas Chauvet <kwiz...@fedoraproject.org>
Date:   Fri Sep 5 17:12:43 2008 +0000

    -Initial import for Rawhide

 .gitignore              |    1 +
 import.log              |    1 +
 perl-HTML-FromText.spec |   72 +++++++++++++++++++++++++++++++++++++++++++++++
 sources                 |    1 +
 4 files changed, 75 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..12602a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+HTML-FromText-2.05.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..8567ecf
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+perl-HTML-FromText-2_05-2_fc8_kwizart:HEAD:perl-HTML-FromText-2.05-2.fc8.kwizart.src.rpm:1220634658
diff --git a/perl-HTML-FromText.spec b/perl-HTML-FromText.spec
new file mode 100644
index 0000000..d6cfc55
--- /dev/null
+++ b/perl-HTML-FromText.spec
@@ -0,0 +1,72 @@
+Name:           perl-HTML-FromText
+Version:        2.05
+Release:        2%{?dist}
+Summary:        Convert plain text to HTML
+
+Group:          Development/Libraries
+License:        GPL+ or Artistic
+URL:            http://search.cpan.org/dist/HTML-FromText/
+Source0:        
http://search.cpan.org/CPAN/authors/id/C/CW/CWEST/HTML-FromText-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Email::Find::addrspec) >= 0.09
+BuildRequires:  perl(Exporter::Lite) >= 0.01
+BuildRequires:  perl(Scalar::Util) >= 1.12
+BuildRequires:  perl(HTML::Entities) >= 1.26
+BuildRequires:  perl(Text::Tabs) >= 98.1128
+BuildRequires:  perl(Test::More) >= 0.47
+
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+"HTML::FromText" converts plain text to HTML. There are a handfull of
+options that shape the conversion. There is a utility function,
+"text2html", that's exported by default. This function is simply a
+short- cut to the Object Oriented interface described in detail below.
+
+
+%prep
+%setup -q -n HTML-FromText-%{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 {} ';'
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+#Theses test are known to fail
+rm t/01_features.t
+rm t/02_v2.01.t
+make test
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{_bindir}/text2html
+%{perl_vendorlib}/HTML/
+%{_mandir}/man3/*.3*
+%{_mandir}/man1/text2html.1.gz
+
+
+%changelog
+* Tue Sep  2 2008 kwizart < kwizart at gmail.com > - 2.05-2
+- Add fixperms
+
+* Thu Jul 31 2008 kwizart < kwizart at gmail.com > - 2.05-1
+- Initial package for Fedora
+
diff --git a/sources b/sources
index e69de29..cb07315 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+fb8ae4ab0cae0b57101f78b046b3927b  HTML-FromText-2.05.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to