3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
6 Summary: Plagger - Pluggable RSS/Atom Aggregator
12 License: GPL v1+ or Artistic
13 Group: Development/Languages/Perl
14 Source0: http://www.cpan.org/modules/by-authors/id/M/MI/MIYAGAWA/%{name}-%{version}.tar.gz
15 # Source0-md5: bb78c8c141e030f70efaccd9206a48d9
16 URL: http://plagger.org/
17 BuildRequires: perl-devel >= 1:5.8.0
18 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 %define _noautoreq 'perl(Plagger.*)'
25 Plagger is a pluggable RSS/Atom feed aggregator and remixer platform.
27 Everything is implemented as a small plugin just like qpsmtpd, blosxom
28 and perlbal. All you have to do is write a flow of aggregation,
29 filters, syndication, publishing and notification plugins in config
32 # %description -l pl.UTF-8
39 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*
62 %{perl_vendorlib}/*.pm
63 %{perl_vendorlib}/Plagger/
65 %{_examplesdir}/%{name}-%{version}