3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: Text::Trac - extension for formatting text with Trac Wiki Style
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 57757c5e9c742232b811af33b224357a
17 URL: http://search.cpan.org/dist/Text-Trac/
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: perl-Test-Base
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Text::Trac parses text with Trac WikiFormatting and convert it to html
30 %setup -q -n %{pdir}-%{pnam}-%{version}
33 %{__perl} Makefile.PL \
37 %{?with_tests:%{__make} test}
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{perl_vendorlib}/Text/Trac.pm
52 %{perl_vendorlib}/Text/Trac