]> git.pld-linux.org Git - packages/perl-HTML-Quoted.git/blame - perl-HTML-Quoted.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-Quoted.git] / perl-HTML-Quoted.spec
CommitLineData
63333291 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%define pdir HTML
6%define pnam Quoted
63333291 7Summary: HTML::Quoted - extract structure of quoted HTML mail message
8#Summary(pl.UTF-8):
9Name: perl-HTML-Quoted
4d909f20 10Version: 0.04
63333291 11Release: 1
12# same as perl
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
4d909f20 16# Source0-md5: 1624801f0f505e65e8b067816039a296
63333291 17# generic URL, check or change before uncommenting
f1b68cd5 18URL: http://search.cpan.org/dist/HTML-Quoted/
63333291 19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl-HTML-Parser >= 3.0
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28Parses and extracts quotation structure out of a HTML message.
29Purpose and returned structures are very similar to
30Text::Quoted.
31
32
33
34# %description -l pl.UTF-8
35# TODO
36
37%prep
38%setup -q -n %{pdir}-%{pnam}-%{version}
39
40%build
41%{__perl} Makefile.PL \
42 INSTALLDIRS=vendor
43%{__make}
44
45%{?with_tests:%{__make} test}
46
47%install
48rm -rf $RPM_BUILD_ROOT
49
50%{__make} pure_install \
51 DESTDIR=$RPM_BUILD_ROOT
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files
57%defattr(644,root,root,755)
58%doc Changes README
59%{perl_vendorlib}/HTML/*.pm
60%{_mandir}/man3/*
This page took 0.113219 seconds and 4 git commands to generate.