diff --git a/HTML-FormatText-WithLinks-AndTables-0.01.tar.gz b/HTML-FormatText-WithLinks-AndTables-0.01.tar.gz deleted file mode 100644 index fd78146..0000000 --- a/HTML-FormatText-WithLinks-AndTables-0.01.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:afcadca910aeb452f29f1a5b6c8f7bddc8042dce9a5b8cceff4ad94c38bd99b3 -size 6534 diff --git a/HTML-FormatText-WithLinks-AndTables-0.06.tar.gz b/HTML-FormatText-WithLinks-AndTables-0.06.tar.gz new file mode 100644 index 0000000..cdcd135 --- /dev/null +++ b/HTML-FormatText-WithLinks-AndTables-0.06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e5b23f0475fb81fd6fed688bb914295a39542b3e5b43c8517494226a52d868fa +size 299894 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-HTML-FormatText-WithLinks-AndTables.changes b/perl-HTML-FormatText-WithLinks-AndTables.changes new file mode 100644 index 0000000..8271d68 --- /dev/null +++ b/perl-HTML-FormatText-WithLinks-AndTables.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Sun Jun 7 08:35:28 UTC 2015 - coolo@suse.com + +- initial package $version + * created by $NAME $VERSION + diff --git a/perl-HTML-FormatText-WithLinks-AndTables.spec b/perl-HTML-FormatText-WithLinks-AndTables.spec index 1120c6e..8abf4b3 100644 --- a/perl-HTML-FormatText-WithLinks-AndTables.spec +++ b/perl-HTML-FormatText-WithLinks-AndTables.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTML-FormatText-WithLinks-AndTables # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,22 +17,23 @@ Name: perl-HTML-FormatText-WithLinks-AndTables -Version: 0.01 +Version: 0.06 Release: 0 %define cpan_name HTML-FormatText-WithLinks-AndTables -Summary: Converts HTML to Text with tables in tact -License: GPL-1.0+ or Artistic-1.0 +Summary: Converts HTML to Text with tables intact +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTML-FormatText-WithLinks-AndTables/ -#Source: http://www.cpan.org/authors/id/S/SF/SFRYER/%{cpan_name}-0.02.tar.gz -Source: HTML-FormatText-WithLinks-AndTables-0.01.tar.gz +Source0: http://www.cpan.org/authors/id/D/DA/DALEEVANS/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(HTML::FormatText) BuildRequires: perl(HTML::FormatText::WithLinks) BuildRequires: perl(HTML::TreeBuilder) -#BuildRequires: perl(HTML::FormatText::WithLinks::AndTables) +Requires: perl(HTML::FormatText) Requires: perl(HTML::FormatText::WithLinks) Requires: perl(HTML::TreeBuilder) %{perl_requires} @@ -43,7 +44,7 @@ be a useful `lynx -dump` work-alike. However one frustration was that no other HTML converters I came across had the ability to deal affectively with HTML 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
structure in tact for inclusion as +also convert it to text with the
structure intact for inclusion as "multipart/alternative" content. Further, it will preserve both the formatting specified by the
tag's "align" attribute, and will also preserve multiline text inside of a element provided it is broken @@ -51,6 +52,7 @@ using
tags. %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -66,6 +68,6 @@ using
tags. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README +%doc 10003.txt Changes d LICENSE weirdo.txt weirdo.txt2 wtf.txt %changelog