]> git.pld-linux.org Git - packages/perl-Text-WikiFormat.git/blame - perl-Text-WikiFormat.spec
use generic url
[packages/perl-Text-WikiFormat.git] / perl-Text-WikiFormat.spec
CommitLineData
b8d578ba
AM
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
e9e517a1
ER
4
5%define pdir Text
6%define pnam WikiFormat
b8d578ba
AM
7%include /usr/lib/rpm/macros.perl
8Summary: Text::WikiFormat perl module for translating Wiki formatted text into other formats
9Name: perl-Text-WikiFormat
10Version: 0.79
7f57dc41 11Release: 2
b8d578ba 12# same as perl
b8d578ba
AM
13License: GPL v1+ or Artistic
14Group: Development/Languages/Perl
b8d578ba 15Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/Text-WikiFormat-%{version}.tar.gz
7f57dc41 16# Source0-md5: 7f3e888ff898f67332216c4a25523f30
e9e517a1
ER
17URL: http://search.cpan.org/dist/Text-WikiFormat/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
b8d578ba
AM
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Text::WikiFormat - the original Wiki web site had a very simple
25interface to edit and to add pages. Its formatting rules are simple
26and easy to use. They are also easy to translate into other, more
27complicated markup languages with this module. It creates HTML by
28default, but can produce valid POD, DocBook, XML, or any other format
29imaginable.
30
31%prep
32%setup -q -n Text-WikiFormat-%{version}
33
34%build
35%{__perl} Makefile.PL \
36 INSTALLDIRS=vendor
37%{__make}
38
39%{?with_tests:%{__make} test}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
52%doc Changes README
53%{perl_vendorlib}/Text/WikiFormat.pm
54%{perl_vendorlib}/Text/WikiFormat
55%{_mandir}/man3/*
This page took 0.035052 seconds and 4 git commands to generate.