]> git.pld-linux.org Git - packages/perl-XML-Atom.git/blame - perl-XML-Atom.spec
- updated to 0.35
[packages/perl-XML-Atom.git] / perl-XML-Atom.spec
CommitLineData
cbe74a8f
MP
1#
2# Conditional build:
3%bcond_without autodeps # don't BR packages needed only for resolving deps
4%bcond_without tests # do not perform "make test"
5#
6%include /usr/lib/rpm/macros.perl
7%define pdir XML
8%define pnam Atom
adc19379 9Summary: XML::Atom - Atom feed and API implementation
36514860 10Summary(pl.UTF-8): XML::Atom - implementacja API Atom
cbe74a8f 11Name: perl-XML-Atom
52c1b34c 12Version: 0.35
5309221a 13Release: 1
adc19379
JB
14# same as perl
15License: GPL v1+ or Artistic
cbe74a8f
MP
16Group: Development/Languages/Perl
17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
52c1b34c 18# Source0-md5: d6b1b28b32db100de5dbb45a3f561953
adc19379 19URL: http://search.cpan.org/dist/XML-Atom/
cbe74a8f
MP
20BuildRequires: perl-devel >= 1:5.8.0
21BuildRequires: rpm-perlprov >= 4.1-13
2b9c2f1a 22BuildRequires: perl-Class-Data-Inheritable
23BuildRequires: perl-URI
5ea931a6 24%if %{with autodeps} && %{with tests}
cbe74a8f
MP
25BuildRequires: perl-DateTime
26%endif
cbe74a8f
MP
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
adc19379
JB
31Atom is a syndication, API, and archiving format for weblogs and other
32data. XML::Atom implements the feed format as well as a client for the
33API.
34
5971fc2b
JR
35%description -l pl.UTF-8
36Atom to API i format archiwów dla blogów i innych danych. XML::Atom
37implementuje ten format, a także klienta dla tego API.
cbe74a8f
MP
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41# yes i know, its crude, but works, and its simple
adc19379 42%{__perl} -pi -e 's/^auto_install/#auto_install/' Makefile.PL;
cbe74a8f
MP
43
44%build
cbe74a8f
MP
45%{__perl} Makefile.PL \
46 INSTALLDIRS=vendor
47
48%{__make}
cbe74a8f
MP
49
50%{?with_tests:%{__make} test}
51
52%install
53rm -rf $RPM_BUILD_ROOT
54
55%{__make} pure_install \
56 DESTDIR=$RPM_BUILD_ROOT
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
63%doc Changes README
64%{perl_vendorlib}/XML/Atom.pm
65%dir %{perl_vendorlib}/XML/Atom
66%{perl_vendorlib}/XML/Atom/*.pm
67%{_mandir}/man3/*
This page took 0.086719 seconds and 4 git commands to generate.