]> git.pld-linux.org Git - packages/Plagger.git/blame - Plagger.spec
- _noautoreq Plagger::*
[packages/Plagger.git] / Plagger.spec
CommitLineData
14bf28e9 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6Summary: Plagger - Pluggable RSS/Atom Aggregator
7#Summary(pl.UTF-8):
8Name: Plagger
9Version: 0.7.17
10Release: 1
11# same as perl
12License: GPL v1+ or Artistic
13Group: Development/Languages/Perl
14Source0: http://www.cpan.org/modules/by-authors/id/M/MI/MIYAGAWA/%{name}-%{version}.tar.gz
15# Source0-md5: bb78c8c141e030f70efaccd9206a48d9
16URL: http://plagger.org/
17BuildRequires: perl-devel >= 1:5.8.0
18BuildRequires: rpm-perlprov >= 4.1-13
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
228132d8 22%define _noautoreq 'perl(Plagger.*)'
23
14bf28e9 24%description
25Plagger is a pluggable RSS/Atom feed aggregator and remixer platform.
26
27Everything is implemented as a small plugin just like qpsmtpd, blosxom
28and perlbal. All you have to do is write a flow of aggregation,
29filters, syndication, publishing and notification plugins in config
30YAML file.
31
14bf28e9 32# %description -l pl.UTF-8
33# TODO
34
35%prep
36%setup -q
37
38%build
39%{__perl} Makefile.PL \
40 --skipdeps \
41 INSTALLDIRS=vendor
42%{__make}
43
44%{?with_tests:%{__make} test}
45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc AUTHORS Changes
61%attr(755,root,root) %{_bindir}/*
62%{perl_vendorlib}/*.pm
63%{perl_vendorlib}/Plagger/
64%{_mandir}/man3/*
65%{_examplesdir}/%{name}-%{version}
This page took 0.033364 seconds and 4 git commands to generate.