[perl-HTML-FormatText-WithLinks-AndTables/el6] New package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 04eeb972bb55d5e4937a8be29c0475b967633a19
Author: Ruediger Landmann <r.landmann@xxxxxxxxxx>
Date:   Thu Jul 28 11:51:28 2011 +1000

    New package

 .gitignore                                    |    1 +
 perl-HTML-FormatText-WithLinks-AndTables.spec |   66 +++++++++++++++++++++++++
 sources                                       |    1 +
 3 files changed, 68 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..de9afec 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/HTML-FormatText-WithLinks-AndTables-0.01.tar.gz
diff --git a/perl-HTML-FormatText-WithLinks-AndTables.spec b/perl-HTML-FormatText-WithLinks-AndTables.spec
new file mode 100644
index 0000000..d8e8171
--- /dev/null
+++ b/perl-HTML-FormatText-WithLinks-AndTables.spec
@@ -0,0 +1,66 @@
+Name:           perl-HTML-FormatText-WithLinks-AndTables
+Version:        0.01
+Release:        2%{?dist}
+Summary:        Converts HTML to Text with tables in tact
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/
+Source0:        http://www.cpan.org/authors/id/S/SF/SFRYER/HTML-FormatText-WithLinks-AndTables-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(HTML::FormatText::WithLinks)
+BuildRequires:  perl(HTML::TreeBuilder)
+BuildRequires:  perl(Test::More)
+Requires:       perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This module was inspired by HTML::FormatText::WithLinks which has proven to
+be a useful "lynx -dump" work-alike. However one frustration was that no
+other HTML converters I came across had the ability to deal effectively
+with HTML <TABLE>s. This module can in a rudimentary sense do so. The aim
+was to provide facility to take a simple HTML based email template, and to
+also convert it to text with the <TABLE> structure intact for inclusion as
+"multi-part/alternative" content. Further, it will preserve both the
+formatting specified by the <TD> tag's "align" attribute, and will also
+preserve multi-line text inside of a <TD> element provided it is broken
+using <BR/> tags.
+
+%prep
+%setup -q -n HTML-FormatText-WithLinks-AndTables-%{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
+* Sun Jun 26 2011 Rüdiger Landmann <r.landmann@xxxxxxxxxx> 0.01-2
+- rm duplicate Requires
+- verify license
+- clean up spellings in description
+
+* Tue Jun 07 2011 Jeff fearn <jfearn@xxxxxxxxxx> 0.01-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..ec71c34 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0f6132d17056f2b2c20d03f31ea0c533  HTML-FormatText-WithLinks-AndTables-0.01.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



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux