3 %bcond_without tests # do not perform "make test"
6 %define pnam WikiFormat
7 Summary: Text::WikiFormat perl module for translating Wiki formatted text into other formats
8 Name: perl-Text-WikiFormat
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/Text-WikiFormat-%{version}.tar.gz
15 # Source0-md5: 7f3e888ff898f67332216c4a25523f30
16 URL: http://search.cpan.org/dist/Text-WikiFormat/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Text::WikiFormat - the original Wiki web site had a very simple
24 interface to edit and to add pages. Its formatting rules are simple
25 and easy to use. They are also easy to translate into other, more
26 complicated markup languages with this module. It creates HTML by
27 default, but can produce valid POD, DocBook, XML, or any other format
31 %setup -q -n Text-WikiFormat-%{version}
34 %{__perl} Makefile.PL \
38 %{?with_tests:%{__make} test}
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %{perl_vendorlib}/Text/WikiFormat.pm
53 %{perl_vendorlib}/Text/WikiFormat