Accepting request 305030 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/305030 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTML-Format?expand=0&rev=27
This commit is contained in:
commit
967e8ff3d6
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:149f4ac19733042e3f81b965047e9a053d8e5eb0832437625f4b9de860d5819a
|
|
||||||
size 45383
|
|
3
HTML-Format-2.11.tar.gz
Normal file
3
HTML-Format-2.11.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:44a3af6b9d0184bb4cc300624352760e4435c3d802521742f42dd228e44d4a95
|
||||||
|
size 48697
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal 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
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 2 09:23:58 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 2.11
|
||||||
|
see /usr/share/doc/packages/perl-HTML-Format/Changes
|
||||||
|
|
||||||
|
2.11 2013-10-27 20:57:23 Europe/London
|
||||||
|
- Typo fixes from dsteinbrunner
|
||||||
|
https://github.com/nigelm/html-format/pull/2
|
||||||
|
- Markdown support from mrallen1
|
||||||
|
https://github.com/nigelm/html-format/pull/1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 25 09:50:44 UTC 2011 - vcizek@novell.com
|
Mon Jul 25 09:50:44 UTC 2011 - vcizek@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-Format
|
# spec file for package perl-HTML-Format
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@ -15,55 +15,75 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-Format
|
Name: perl-HTML-Format
|
||||||
|
Version: 2.11
|
||||||
|
Release: 0
|
||||||
%define cpan_name HTML-Format
|
%define cpan_name HTML-Format
|
||||||
BuildRequires: perl-File-Slurp perl-Font-AFM perl-HTML-Tree
|
Summary: Base class for HTML formatters
|
||||||
BuildRequires: perl(Test::More) >= 0.96 perl-macros
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
License: GPL-2.0+ or Artistic-1.0
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: perl-HTML-Parser perl-HTML-Tagset perl-Font-AFM perl-HTML-Tree
|
Url: http://search.cpan.org/dist/HTML-Format/
|
||||||
AutoReqProv: on
|
Source0: http://www.cpan.org/authors/id/N/NI/NIGELM/%{cpan_name}-%{version}.tar.gz
|
||||||
Summary: Perl Modules to Format HTML into Plain Text, PostScript, or RTF
|
Source1: cpanspec.yml
|
||||||
Version: 2.10
|
BuildArch: noarch
|
||||||
Release: 1
|
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
|
||||||
Url: http://cpan.org/authors/id/S/SB/SBURKE
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
BuildRequires: perl(File::Slurp)
|
||||||
|
BuildRequires: perl(Font::Metrics::Courier)
|
||||||
|
BuildRequires: perl(Font::Metrics::CourierBold)
|
||||||
|
BuildRequires: perl(Font::Metrics::CourierBoldOblique)
|
||||||
|
BuildRequires: perl(Font::Metrics::CourierOblique)
|
||||||
|
BuildRequires: perl(Font::Metrics::Helvetica)
|
||||||
|
BuildRequires: perl(Font::Metrics::HelveticaBold)
|
||||||
|
BuildRequires: perl(Font::Metrics::HelveticaBoldOblique)
|
||||||
|
BuildRequires: perl(Font::Metrics::HelveticaOblique)
|
||||||
|
BuildRequires: perl(Font::Metrics::TimesBold)
|
||||||
|
BuildRequires: perl(Font::Metrics::TimesBoldItalic)
|
||||||
|
BuildRequires: perl(Font::Metrics::TimesItalic)
|
||||||
|
BuildRequires: perl(Font::Metrics::TimesRoman)
|
||||||
|
BuildRequires: perl(HTML::Element) >= 3.15
|
||||||
|
BuildRequires: perl(HTML::TreeBuilder)
|
||||||
|
BuildRequires: perl(Module::Build) >= 0.360100
|
||||||
|
BuildRequires: perl(Test::More) >= 0.96
|
||||||
|
BuildRequires: perl(parent)
|
||||||
|
Requires: perl(Font::Metrics::Courier)
|
||||||
|
Requires: perl(Font::Metrics::CourierBold)
|
||||||
|
Requires: perl(Font::Metrics::CourierBoldOblique)
|
||||||
|
Requires: perl(Font::Metrics::CourierOblique)
|
||||||
|
Requires: perl(Font::Metrics::Helvetica)
|
||||||
|
Requires: perl(Font::Metrics::HelveticaBold)
|
||||||
|
Requires: perl(Font::Metrics::HelveticaBoldOblique)
|
||||||
|
Requires: perl(Font::Metrics::HelveticaOblique)
|
||||||
|
Requires: perl(Font::Metrics::TimesBold)
|
||||||
|
Requires: perl(Font::Metrics::TimesBoldItalic)
|
||||||
|
Requires: perl(Font::Metrics::TimesItalic)
|
||||||
|
Requires: perl(Font::Metrics::TimesRoman)
|
||||||
|
Requires: perl(HTML::Element) >= 3.15
|
||||||
|
Requires: perl(HTML::TreeBuilder)
|
||||||
|
Requires: perl(parent)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a collection of modules that format HTML as plain text,
|
Base class for HTML formatters
|
||||||
PostScript, or RTF.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Build.PL
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
./Build install destdir=$RPM_BUILD_ROOT installdirs=vendor
|
|
||||||
%perl_process_packlist
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%files -f %{name}.files
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
|
%defattr(-,root,root,755)
|
||||||
|
%doc Changes LICENSE README
|
||||||
%files
|
|
||||||
%defattr(-, root, root)
|
|
||||||
%{perl_vendorlib}/HTML/*
|
|
||||||
%{perl_vendorarch}/auto/*
|
|
||||||
%doc %{_mandir}/man?/*
|
|
||||||
%doc README Changes
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user