Files
perl-Data-SearchEngine-Solr/perl-Data-SearchEngine-Solr.spec
2025-08-12 18:13:07 +02:00

82 lines
2.7 KiB
RPMSpec

#
# spec file for package perl-Data-SearchEngine-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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Data-SearchEngine-Solr
Name: perl-Data-SearchEngine-Solr
Version: 0.200.0
Release: 0
# 0.20 -> normalize -> 0.200.0
%define cpan_version 0.20
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Data::SearchEngine backend for Solr
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/G/GP/GPHAT/%{cpan_name}-%{cpan_version}.tar.gz
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Clone)
BuildRequires: perl(Data::SearchEngine) >= 0.280
BuildRequires: perl(Data::SearchEngine::Item)
BuildRequires: perl(Data::SearchEngine::Paginator)
BuildRequires: perl(Data::SearchEngine::Query)
BuildRequires: perl(Data::SearchEngine::Results)
BuildRequires: perl(Data::SearchEngine::Results::Spellcheck::Suggestion)
BuildRequires: perl(HTTP::Headers)
BuildRequires: perl(HTTP::Response)
BuildRequires: perl(Moose)
BuildRequires: perl(WebService::Solr) >= 0.110
BuildRequires: perl(WebService::Solr::Response)
Requires: perl(Clone)
Requires: perl(Data::SearchEngine) >= 0.280
Requires: perl(Data::SearchEngine::Item)
Requires: perl(Data::SearchEngine::Paginator)
Requires: perl(Data::SearchEngine::Results)
Requires: perl(Data::SearchEngine::Results::Spellcheck::Suggestion)
Requires: perl(Moose)
Requires: perl(WebService::Solr) >= 0.110
Provides: perl(Data::SearchEngine::Solr) = 0.180.0
Provides: perl(Data::SearchEngine::Solr::Results) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
Data::SearchEngine::Solr is a Data::SearchEngine backend for the Solr
search server.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes ignore.txt README README.mkdn
%license LICENSE
%changelog