2015-04-15 09:42:08 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-XML-Atom
|
|
|
|
#
|
2021-05-04 14:40:11 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2015-04-15 09:42:08 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-02-10 11:53:15 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-15 09:42:08 +00:00
|
|
|
#
|
|
|
|
|
2008-07-22 19:40:01 +00:00
|
|
|
|
2021-05-04 14:40:11 +00:00
|
|
|
%define cpan_name XML-Atom
|
2010-08-31 23:11:49 +00:00
|
|
|
Name: perl-XML-Atom
|
2021-05-04 14:40:11 +00:00
|
|
|
Version: 0.43
|
2010-08-31 23:11:49 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Atom feed and API implementation
|
2020-02-10 11:53:15 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2017-05-18 08:29:31 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:18:33 +02:00
|
|
|
Source100: README.md
|
2015-04-15 09:42:08 +00:00
|
|
|
BuildArch: noarch
|
2010-08-31 23:11:49 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:55:54 +00:00
|
|
|
BuildRequires: perl-macros
|
2015-04-15 09:42:08 +00:00
|
|
|
BuildRequires: perl(Class::Data::Inheritable)
|
2010-08-31 23:11:49 +00:00
|
|
|
BuildRequires: perl(DateTime)
|
2015-04-15 09:42:08 +00:00
|
|
|
BuildRequires: perl(DateTime::TimeZone)
|
2021-05-04 14:40:11 +00:00
|
|
|
BuildRequires: perl(Digest::SHA)
|
2017-05-18 08:29:31 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
2010-08-31 23:11:49 +00:00
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
2017-05-18 08:29:31 +00:00
|
|
|
BuildRequires: perl(Module::Build::Tiny) >= 0.034
|
2015-04-15 09:42:08 +00:00
|
|
|
BuildRequires: perl(URI)
|
2021-05-04 14:40:11 +00:00
|
|
|
BuildRequires: perl(XML::LibXML) >= 2.0202
|
|
|
|
BuildRequires: perl(XML::XPath) >= 1.20
|
2015-04-15 09:42:08 +00:00
|
|
|
Requires: perl(Class::Data::Inheritable)
|
2010-08-31 23:11:49 +00:00
|
|
|
Requires: perl(DateTime)
|
2015-04-15 09:42:08 +00:00
|
|
|
Requires: perl(DateTime::TimeZone)
|
2021-05-04 14:40:11 +00:00
|
|
|
Requires: perl(Digest::SHA)
|
2010-08-31 23:11:49 +00:00
|
|
|
Requires: perl(LWP::UserAgent)
|
2015-04-15 09:42:08 +00:00
|
|
|
Requires: perl(URI)
|
2021-05-04 14:40:11 +00:00
|
|
|
Requires: perl(XML::LibXML) >= 2.0202
|
|
|
|
Requires: perl(XML::XPath) >= 1.20
|
2015-04-15 09:42:08 +00:00
|
|
|
%{perl_requires}
|
2008-07-22 19:40:01 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Atom is a syndication, API, and archiving format for weblogs and other
|
2015-04-15 09:42:08 +00:00
|
|
|
data. _XML::Atom_ implements the feed format as well as a client for the
|
2010-08-31 23:11:49 +00:00
|
|
|
API.
|
2008-07-22 19:40:01 +00:00
|
|
|
|
|
|
|
%prep
|
2021-05-04 14:40:11 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
2008-07-22 19:40:01 +00:00
|
|
|
|
|
|
|
%build
|
2020-02-10 11:53:15 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
2017-05-18 08:29:31 +00:00
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2015-04-15 09:42:08 +00:00
|
|
|
|
|
|
|
%check
|
2017-05-18 08:29:31 +00:00
|
|
|
./Build test
|
2008-07-22 19:40:01 +00:00
|
|
|
|
|
|
|
%install
|
2017-05-18 08:29:31 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2015-04-15 09:42:08 +00:00
|
|
|
%perl_gen_filelist
|
2008-07-22 19:40:01 +00:00
|
|
|
|
2015-04-15 09:42:08 +00:00
|
|
|
%files -f %{name}.files
|
2008-07-22 19:40:01 +00:00
|
|
|
%doc Changes README
|
2017-05-18 08:29:31 +00:00
|
|
|
%license LICENSE
|
2008-07-22 19:40:01 +00:00
|
|
|
|
2015-04-15 09:42:08 +00:00
|
|
|
%changelog
|