Accepting request 310910 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/310910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-FormatText-WithLinks-AndTables?expand=0&rev=2
This commit is contained in:
Stephan Kulow
2015-06-10 10:43:03 +00:00
committed by Git OBS Bridge
parent c4b0ff73e4
commit 6d99bc53f4
5 changed files with 43 additions and 12 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afcadca910aeb452f29f1a5b6c8f7bddc8042dce9a5b8cceff4ad94c38bd99b3
size 6534

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e5b23f0475fb81fd6fed688bb914295a39542b3e5b43c8517494226a52d868fa
size 299894

23
cpanspec.yml Normal file
View File

@@ -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

View File

@@ -0,0 +1,6 @@
-------------------------------------------------------------------
Sun Jun 7 08:35:28 UTC 2015 - coolo@suse.com
- initial package $version
* created by $NAME $VERSION

View File

@@ -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 <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 in tact for inclusion as
also convert it to text with the <TABLE> structure intact for inclusion as
"multipart/alternative" content. Further, it will preserve both the
formatting specified by the <TD> tag's "align" attribute, and will also
preserve multiline text inside of a <TD> element provided it is broken
@@ -51,6 +52,7 @@ using <BR/> 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 <BR/> 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