forked from pool/perl-XML-Atom
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Atom?expand=0&rev=5
69 lines
1.9 KiB
RPMSpec
69 lines
1.9 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
# norootforbuild
|
|
|
|
Name: perl-XML-Atom
|
|
Version: 0.37
|
|
Release: 0
|
|
Summary: Atom feed and API implementation
|
|
Source: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/XML-Atom-%{version}.tar.gz
|
|
URL: http://search.cpan.org/dist/XML-Atom
|
|
Group: Development/Libraries/Perl
|
|
License: Perl License
|
|
BuildRoot: %{_tmppath}/build-%{name}-%{version}
|
|
%{perl_requires}
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: make
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
BuildRequires: perl(DateTime)
|
|
BuildRequires: perl(URI)
|
|
BuildRequires: perl(Digest::SHA1)
|
|
BuildRequires: perl(LWP::UserAgent)
|
|
BuildRequires: perl(MIME::Base64)
|
|
BuildRequires: perl(Class::Data::Inheritable)
|
|
BuildRequires: perl(XML::LibXML) >= 1.69
|
|
BuildRequires: perl(XML::XPath)
|
|
Requires: perl(DateTime)
|
|
Requires: perl(URI)
|
|
Requires: perl(Digest::SHA1)
|
|
Requires: perl(LWP::UserAgent)
|
|
Requires: perl(MIME::Base64)
|
|
Requires: perl(Class::Data::Inheritable)
|
|
Requires: perl(XML::LibXML) >= 1.69
|
|
Requires: perl(XML::XPath)
|
|
|
|
%description
|
|
Atom is a syndication, API, and archiving format for weblogs and other
|
|
data. XML::Atom implements the feed format as well as a client for the
|
|
API.
|
|
|
|
%prep
|
|
%setup -q -n "XML-Atom-%{version}"
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
%build
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
|
|
%check
|
|
%__make test
|
|
|
|
%clean
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc Changes README
|
|
%dir %{perl_vendorlib}/XML
|
|
%{perl_vendorlib}/XML/Atom.pm
|
|
%{perl_vendorlib}/XML/Atom
|
|
%dir %{perl_vendorarch}/auto/XML
|
|
%{perl_vendorarch}/auto/XML/Atom
|
|
%doc %{perl_man3dir}/XML::Atom.%{perl_man3ext}%{ext_man}
|
|
%doc %{perl_man3dir}/XML::Atom::*.%{perl_man3ext}%{ext_man}
|
|
|