]> git.pld-linux.org Git - packages/perl-Feed-Find.git/blob - perl-Feed-Find.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Feed-Find.git] / perl-Feed-Find.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    Feed
6 %define pnam    Find
7 Summary:        Feed::Find - Syndication feed auto-discovery
8 Summary(pl.UTF-8):      Feed::Find - automatyczne wykrywanie feedów zespolonych
9 Name:           perl-Feed-Find
10 Version:        0.07
11 Release:        2
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-authors/id/B/BT/BTROTT/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  9235e3ca061d0beb9cf23cb579522669
17 URL:            http://search.cpan.org/dist/Feed-Find/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 %if %{with tests}
21 BuildRequires:  perl-Class-ErrorHandler
22 BuildRequires:  perl-HTML-Parser
23 BuildRequires:  perl-URI
24 BuildRequires:  perl-libwww
25 %endif
26 BuildArch:      noarch
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 Feed::Find implements feed auto-discovery for finding syndication feeds,
31 given a URI. It (currently) passes all of the auto-discovery tests at
32 <http://diveintomark.org/tests/client/autodiscovery/>.
33
34 %description -l pl.UTF-8
35 Feed::Find implementuje automatyczne wykrywanie feedów do znajdowania
36 feedów zespolonych dla danego URI. (Aktualnie) przechodzi wszystkie
37 testy automatycznego wykrywania pod
38 <http://diveintomark.org/tests/client/autodiscovery/>.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         destdir=$RPM_BUILD_ROOT \
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
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc Changes
62 %{perl_vendorlib}/Feed
63 %{_mandir}/man3/*
This page took 0.086199 seconds and 4 git commands to generate.