2024-07-29 19:28:53 +00:00
#
# spec file for package perl-Solr
#
# Copyright (c) 2024 SUSE LLC
#
# 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.
2010-07-15 15:30:16 +00:00
2024-07-29 19:28:53 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Solr
2010-07-15 15:30:16 +00:00
Name : perl-Solr
2024-07-29 19:28:53 +00:00
Version : 0.30.0
2010-07-15 15:30:16 +00:00
Release : 0
2024-07-29 19:28:53 +00:00
# 0.03 -> normalize -> 0.30.0
%define cpan_version 0.03
#Upstream: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =cut
License : Apache-2.0
Summary : Perl extension for interfacing with Solr, a lucene based search engine
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/G/GA/GARAFOLA/%{cpan_name} /%{cpan_name} -%{cpan_version} .tar.gz
Source1 : cpanspec.yml
2025-08-12 18:17:08 +02:00
Source100 : README.md
2024-07-29 19:28:53 +00:00
BuildArch : noarch
BuildRequires : perl
2010-12-03 14:50:03 +00:00
BuildRequires : perl-macros
2024-07-29 19:28:53 +00:00
BuildRequires : perl(File::Slurp)
BuildRequires : perl(HTTP::Request)
BuildRequires : perl(LWP::UserAgent)
BuildRequires : perl(Log::Log4perl) >= 1.14
BuildRequires : perl(XML::Simple)
Requires : perl(File::Slurp)
Requires : perl(HTTP::Request)
Requires : perl(LWP::UserAgent)
Requires : perl(Log::Log4perl) >= 1.14
Requires : perl(XML::Simple)
Provides : perl(Solr) = %{version}
Provides : perl(Solr::HTTPUpdateHandler) = %{version}
Provides : perl(Solr::Schema) = %{version}
%undefine __perllib_provides
%{perl_requires}
2010-07-15 15:30:16 +00:00
%description
This module provides a set of methods for adding (updating) and deleting
entries in an existing solr server.
%prep
2024-07-29 19:28:53 +00:00
%autosetup -n %{cpan_name}
2010-07-15 15:30:16 +00:00
%build
2024-07-29 19:28:53 +00:00
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
2010-07-15 15:30:16 +00:00
%install
%perl_make_install
%perl_process_packlist
2024-07-29 19:28:53 +00:00
%perl_gen_filelist
2010-07-15 15:30:16 +00:00
2024-07-29 19:28:53 +00:00
%files -f %{name}.files
2010-07-15 15:30:16 +00:00
%doc Changes README
%changelog