]> git.pld-linux.org Git - packages/perl-HTML-WikiConverter-Markdown.git/blob - perl-HTML-WikiConverter-Markdown.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-WikiConverter-Markdown.git] / perl-HTML-WikiConverter-Markdown.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    HTML
6 %define         pnam    WikiConverter-Markdown
7 Summary:        HTML::WikiConverter::Markdown - Convert HTML to Markdown markup
8 Summary(pl.UTF-8):      HTML::WikiConverter::Markdown - konwertowanie HTML-a do znaczników Markdown
9 Name:           perl-HTML-WikiConverter-Markdown
10 Version:        0.06
11 Release:        1
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  b3db779cd034cdf2da2164b63a857f03
17 URL:            http://search.cpan.org/dist/HTML-WikiConverter-Markdown/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-HTML-Tagset
22 BuildRequires:  perl-HTML-WikiConverter >= 0.67
23 BuildRequires:  perl-Params-Validate
24 BuildRequires:  perl-URI
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 This module contains rules for converting HTML into Markdown markup.
31 You should not use this module directly; HTML::WikiConverter is the
32 entry point for html->wiki conversion.
33
34 %description -l pl.UTF-8
35 Ten moduł zawiera reguły do konwersji HTML-a do znaczników Markdown.
36 Nie należy używać go bezpośrednio - punktem wejściowym do konwersji
37 HTML->Wiki jest HTML::WikiConverter.
38
39 %prep
40 %setup -q -n %{pdir}-%{pnam}-%{version}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45 %{__make}
46
47 %{?with_tests:%{__make} test}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} pure_install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changes README
61 %{perl_vendorlib}/HTML/WikiConverter/Markdown.pm
62 %{_mandir}/man3/HTML::WikiConverter::Markdown.3pm*
This page took 0.763005 seconds and 4 git commands to generate.