2011-04-05 08:37:40 +00:00
|
|
|
#
|
2012-04-01 15:20:59 +00:00
|
|
|
# spec file for package perl-WebService-Solr
|
2011-04-05 08:37:40 +00:00
|
|
|
#
|
2024-07-20 22:24:26 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2011-04-05 08:37:40 +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-10-15 14:31:24 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-04-05 08:37:40 +00:00
|
|
|
#
|
2010-07-15 17:09:58 +00:00
|
|
|
|
2012-04-01 15:20:59 +00:00
|
|
|
|
2024-07-20 22:24:26 +00:00
|
|
|
%define cpan_name WebService-Solr
|
2010-07-15 17:09:58 +00:00
|
|
|
Name: perl-WebService-Solr
|
2024-07-20 22:24:26 +00:00
|
|
|
Version: 0.440.0
|
2012-04-01 15:20:59 +00:00
|
|
|
Release: 0
|
2024-07-20 22:24:26 +00:00
|
|
|
# 0.44 -> normalize -> 0.440.0
|
|
|
|
%define cpan_version 0.44
|
2020-10-15 14:31:24 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2024-07-20 22:24:26 +00:00
|
|
|
Summary: Interface to the Solr search engine
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{cpan_version}.tar.gz
|
2017-02-14 09:07:12 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:18:27 +02:00
|
|
|
Source100: README.md
|
2011-04-05 08:37:40 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2010-12-03 14:55:39 +00:00
|
|
|
BuildRequires: perl-macros
|
2011-04-05 08:37:40 +00:00
|
|
|
BuildRequires: perl(Data::Page)
|
|
|
|
BuildRequires: perl(Data::Pageset)
|
2010-07-15 17:09:58 +00:00
|
|
|
BuildRequires: perl(JSON::XS)
|
2012-04-01 15:20:59 +00:00
|
|
|
BuildRequires: perl(LWP::UserAgent)
|
2017-02-14 09:07:12 +00:00
|
|
|
BuildRequires: perl(Moo)
|
2015-04-15 05:38:19 +00:00
|
|
|
BuildRequires: perl(Test::Mock::LWP) >= 0.05
|
|
|
|
BuildRequires: perl(Test::More) >= 0.94
|
2017-02-14 09:07:12 +00:00
|
|
|
BuildRequires: perl(Types::Standard) >= 0.008
|
2011-04-05 08:37:40 +00:00
|
|
|
BuildRequires: perl(URI) >= 1.28
|
2011-05-06 06:43:22 +00:00
|
|
|
BuildRequires: perl(XML::Easy)
|
2011-04-05 08:37:40 +00:00
|
|
|
BuildRequires: perl(XML::Simple)
|
|
|
|
Requires: perl(Data::Page)
|
|
|
|
Requires: perl(Data::Pageset)
|
2010-07-15 17:09:58 +00:00
|
|
|
Requires: perl(JSON::XS)
|
2011-04-05 08:37:40 +00:00
|
|
|
Requires: perl(LWP::UserAgent)
|
2017-02-14 09:07:12 +00:00
|
|
|
Requires: perl(Moo)
|
2017-05-02 06:30:36 +00:00
|
|
|
Requires: perl(Test::Mock::LWP) >= 0.05
|
|
|
|
Requires: perl(Test::More) >= 0.94
|
2017-02-14 09:07:12 +00:00
|
|
|
Requires: perl(Types::Standard) >= 0.008
|
2011-04-05 08:37:40 +00:00
|
|
|
Requires: perl(URI) >= 1.28
|
2011-05-06 06:43:22 +00:00
|
|
|
Requires: perl(XML::Easy)
|
2017-05-02 06:30:36 +00:00
|
|
|
Requires: perl(XML::Simple)
|
2024-07-20 22:24:26 +00:00
|
|
|
Provides: perl(WebService::Solr) = %{version}
|
|
|
|
Provides: perl(WebService::Solr::Document)
|
|
|
|
Provides: perl(WebService::Solr::Field)
|
|
|
|
Provides: perl(WebService::Solr::Query)
|
|
|
|
Provides: perl(WebService::Solr::Response)
|
|
|
|
%undefine __perllib_provides
|
2011-04-05 08:37:40 +00:00
|
|
|
%{perl_requires}
|
2010-07-15 17:09:58 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
WebService::Solr is a client library for Apache Lucene's Solr; an
|
|
|
|
enterprise-grade indexing and searching platform.
|
|
|
|
|
|
|
|
%prep
|
2024-07-20 22:24:26 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2010-07-15 17:09:58 +00:00
|
|
|
|
|
|
|
%build
|
2020-10-15 14:31:24 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2024-07-20 22:24:26 +00:00
|
|
|
%make_build
|
2011-04-05 08:37:40 +00:00
|
|
|
|
|
|
|
%check
|
2020-10-15 14:31:24 +00:00
|
|
|
make test
|
2010-07-15 17:09:58 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
2011-04-05 08:37:40 +00:00
|
|
|
%perl_gen_filelist
|
2010-07-15 17:09:58 +00:00
|
|
|
|
2011-04-05 08:37:40 +00:00
|
|
|
%files -f %{name}.files
|
2017-02-14 09:07:12 +00:00
|
|
|
%doc Changes README.md
|
2010-07-15 17:09:58 +00:00
|
|
|
|
2011-04-05 08:37:40 +00:00
|
|
|
%changelog
|