diff --git a/HTML-FromText-2.05.tar.gz b/HTML-FromText-2.05.tar.gz deleted file mode 100644 index a5d67fc..0000000 --- a/HTML-FromText-2.05.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6510e5c817aae9c1414e418fa853daa7f9835736df60a658db6fd1c65ad0a15e -size 13875 diff --git a/HTML-FromText-2.07.tar.gz b/HTML-FromText-2.07.tar.gz new file mode 100644 index 0000000..4a98579 --- /dev/null +++ b/HTML-FromText-2.07.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5e010324105be707fb5746bb5f2d30ccbc8e4f78d2a6e159b4147a462fe23ad +size 23596 diff --git a/perl-HTML-FromText.changes b/perl-HTML-FromText.changes index 4664e28..7de6b26 100644 --- a/perl-HTML-FromText.changes +++ b/perl-HTML-FromText.changes @@ -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 diff --git a/perl-HTML-FromText.spec b/perl-HTML-FromText.spec index f2351ea..153db96 100644 --- a/perl-HTML-FromText.spec +++ b/perl-HTML-FromText.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -16,55 +16,49 @@ # -%define modname HTML-FromText - -Name: perl-%{modname} -Version: 2.05 -Release: 5 -Summary: Convert plain text to HTML -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 +Name: perl-HTML-FromText +Version: 2.07 +Release: 0 +%define cpan_name HTML-FromText +Summary: converts plain text to HTML +License: Artistic-1.0 or GPL-1.0+ 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 +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 -"HTML::FromText" converts plain text to HTML. There are a handfull of options -that shape the conversion. - -Authors: --------- - Casey West - Gareth Rees +'HTML::FromText' converts plain text to HTML. There are a handful 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 %{modname}-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make -# 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... -%if %suse_version < 1010 -make test -%endif +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install -rm -rf %{buildroot} -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf %{buildroot} - -%files -%defattr(-, root, root) -%doc README Changes ext -%doc %{_mandir}/man?/* -/usr/bin/text2html -%{perl_vendorlib}/HTML/FromText.pm -%{perl_vendorarch}/auto/HTML/FromText +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes LICENSE README %changelog