]> git.pld-linux.org Git - packages/Plagger.git/blob - Plagger.spec
- _noautoreq Plagger::*
[packages/Plagger.git] / Plagger.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        Plagger - Pluggable RSS/Atom Aggregator
7 #Summary(pl.UTF-8):     
8 Name:           Plagger
9 Version:        0.7.17
10 Release:        1
11 # same as perl
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
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _noautoreq      'perl(Plagger.*)'
23
24 %description
25 Plagger is a pluggable RSS/Atom feed aggregator and remixer platform.
26
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
30 YAML file.
31
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
47 rm -rf $RPM_BUILD_ROOT
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
53 cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
54
55 %clean
56 rm -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.060828 seconds and 3 git commands to generate.