]>
Commit | Line | Data |
---|---|---|
14bf28e9 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without tests # do not perform "make test" | |
4 | # | |
14bf28e9 | 5 | Summary: Plagger - Pluggable RSS/Atom Aggregator |
b4695d21 | 6 | Summary(pl.UTF-8): Plagger - agregator RSS/Atom z obsługą wtyczek |
14bf28e9 | 7 | Name: Plagger |
8 | Version: 0.7.17 | |
9 | Release: 1 | |
10 | # same as perl | |
11 | License: GPL v1+ or Artistic | |
12 | Group: Development/Languages/Perl | |
13 | Source0: http://www.cpan.org/modules/by-authors/id/M/MI/MIYAGAWA/%{name}-%{version}.tar.gz | |
14 | # Source0-md5: bb78c8c141e030f70efaccd9206a48d9 | |
15 | URL: http://plagger.org/ | |
16 | BuildRequires: perl-devel >= 1:5.8.0 | |
17 | BuildRequires: rpm-perlprov >= 4.1-13 | |
18 | BuildArch: noarch | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
228132d8 | 21 | %define _noautoreq 'perl(Plagger.*)' |
22 | ||
14bf28e9 | 23 | %description |
24 | Plagger is a pluggable RSS/Atom feed aggregator and remixer platform. | |
25 | ||
26 | Everything is implemented as a small plugin just like qpsmtpd, blosxom | |
27 | and perlbal. All you have to do is write a flow of aggregation, | |
28 | filters, syndication, publishing and notification plugins in config | |
29 | YAML file. | |
30 | ||
b4695d21 JB |
31 | %description -l pl.UTF-8 |
32 | Plagger to obsługująca wtyczki platforma agregatora i remiksera | |
33 | informacji w formacie RSS/Atom. | |
34 | ||
35 | Wszystko jest zaimplementowane jako małe wtyczki, jak qpsmtpd, blosxom | |
36 | i perlbal. Jedyne co trzeba zrobić to wpisanie wtyczek przepływu | |
37 | agregacji, filtrów, zespalania, publikowania i powiadamiania w pliku | |
38 | konfiguracyjnym YAML. | |
14bf28e9 | 39 | |
40 | %prep | |
41 | %setup -q | |
42 | ||
43 | %build | |
44 | %{__perl} Makefile.PL \ | |
45 | --skipdeps \ | |
46 | INSTALLDIRS=vendor | |
47 | %{__make} | |
48 | ||
49 | %{?with_tests:%{__make} test} | |
50 | ||
51 | %install | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %{__make} install \ | |
55 | DESTDIR=$RPM_BUILD_ROOT | |
56 | ||
57 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
58 | cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS Changes | |
66 | %attr(755,root,root) %{_bindir}/* | |
67 | %{perl_vendorlib}/*.pm | |
b4695d21 | 68 | %{perl_vendorlib}/Plagger |
14bf28e9 | 69 | %{_mandir}/man3/* |
70 | %{_examplesdir}/%{name}-%{version} |