auto-import perl-HTML-Format-2.04-2 on branch devel from
perl-HTML-Format-2.04-2.src.rpm
This commit is contained in:
parent
c469a9d09c
commit
f63ba357d5
@ -0,0 +1 @@
|
||||
HTML-Format-2.04.tar.gz
|
||||
71
perl-HTML-Format.spec
Normal file
71
perl-HTML-Format.spec
Normal file
@ -0,0 +1,71 @@
|
||||
Name: perl-HTML-Format
|
||||
Version: 2.04
|
||||
Release: 2%{?dist}
|
||||
Summary: HTML::Format Perl module
|
||||
|
||||
Group: Development/Libraries
|
||||
License: GPL or Artistic
|
||||
URL: http://search.cpan.org/dist/HTML-Format/
|
||||
Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/HTML-Format-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(HTML::Element) >= 3.15
|
||||
BuildRequires: perl(Font::AFM) >= 1.17
|
||||
|
||||
# These must match
|
||||
# %FontFamilies in lib/HTML/FormatPS.pm
|
||||
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)
|
||||
|
||||
|
||||
%description
|
||||
A collection of modules that formats HTML as plaintext, PostScript or RTF.
|
||||
|
||||
%prep
|
||||
%setup -q -n HTML-Format-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes README
|
||||
%{perl_vendorlib}/HTML
|
||||
%{_mandir}/man3/HTML*
|
||||
|
||||
%changelog
|
||||
* Fri Aug 26 2005 Ralf Corsepius <ralf@links2linux.de> - 2.04-2
|
||||
- Add Requires: perl(Font::Metrics:*).
|
||||
- Minor Spec cleanup.
|
||||
|
||||
* Thu Aug 18 2005 Ralf Corsepius <ralf@links2linux.de> - 2.04-1
|
||||
- FE submission.
|
||||
Loading…
Reference in New Issue
Block a user