Accepting request 295892 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/295892 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-FromText?expand=0&rev=9
This commit is contained in:
committed by
Git OBS Bridge
parent
c0b8b69709
commit
9f9c5381a8
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6510e5c817aae9c1414e418fa853daa7f9835736df60a658db6fd1c65ad0a15e
|
|
||||||
size 13875
|
|
3
HTML-FromText-2.07.tar.gz
Normal file
3
HTML-FromText-2.07.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c5e010324105be707fb5746bb5f2d30ccbc8e4f78d2a6e159b4147a462fe23ad
|
||||||
|
size 23596
|
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 13 18:58:55 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.07
|
||||||
|
see /usr/share/doc/packages/perl-HTML-FromText/Changes
|
||||||
|
|
||||||
|
Revision history for HTML-FromText
|
||||||
|
|
||||||
|
2.07 2013-07-14 08:33:32 America/New_York
|
||||||
|
- typo fix in documentation; thanks to Francesco Cecconi and Debian
|
||||||
|
|
||||||
|
2.06 2013-07-03 13:21:34 America/New_York
|
||||||
|
- Repackage, update to pass with different escaping
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Nov 29 18:30:09 UTC 2010 - coolo@novell.com
|
Mon Nov 29 18:30:09 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-FromText
|
# spec file for package perl-HTML-FromText
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,55 +16,49 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define modname HTML-FromText
|
Name: perl-HTML-FromText
|
||||||
|
Version: 2.07
|
||||||
Name: perl-%{modname}
|
Release: 0
|
||||||
Version: 2.05
|
%define cpan_name HTML-FromText
|
||||||
Release: 5
|
Summary: converts plain text to HTML
|
||||||
Summary: Convert plain text to HTML
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Requires: perl = %{perl_version} perl-Email-Find perl-Exporter-Lite
|
|
||||||
Requires: perl-HTML-Parser
|
|
||||||
BuildRequires: perl perl-Email-Find perl-Exporter-Lite perl-HTML-Parser perl-macros
|
|
||||||
License: GPL/Artistic
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Source: %{modname}-%{version}.tar.gz
|
Url: http://search.cpan.org/dist/HTML-FromText/
|
||||||
|
Source: http://www.cpan.org/authors/id/R/RJ/RJBS/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(Email::Find::addrspec) >= 0.09
|
||||||
|
BuildRequires: perl(HTML::Entities) >= 1.26
|
||||||
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
|
Requires: perl(Email::Find::addrspec) >= 0.09
|
||||||
|
Requires: perl(HTML::Entities) >= 1.26
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
"HTML::FromText" converts plain text to HTML. There are a handfull of options
|
'HTML::FromText' converts plain text to HTML. There are a handful of
|
||||||
that shape the conversion.
|
options that shape the conversion. There is a utility function,
|
||||||
|
'text2html', that's exported by default. This function is simply a short-
|
||||||
Authors:
|
cut to the Object Oriented interface described in detail below.
|
||||||
--------
|
|
||||||
Casey West <casey@geeknest.com>
|
|
||||||
Gareth Rees <garethr@cre.canon.co.uk>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{modname}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make
|
%{__make} %{?_smp_mflags}
|
||||||
# One of these tests fails on SUSE 10.1 and up, but the results are actually
|
|
||||||
# fine. I'm too lazy to fix the test, so I'll just disable it...
|
%check
|
||||||
%if %suse_version < 1010
|
%{__make} test
|
||||||
make test
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
%perl_make_install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
rm -rf %{buildroot}
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes LICENSE README
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc README Changes ext
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
/usr/bin/text2html
|
|
||||||
%{perl_vendorlib}/HTML/FromText.pm
|
|
||||||
%{perl_vendorarch}/auto/HTML/FromText
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user