93 lines
3.2 KiB
RPMSpec
93 lines
3.2 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-Data-SearchEngine-Solr
|
||
|
#
|
||
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
#
|
||
|
# 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 http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
|
||
|
|
||
|
Name: perl-Data-SearchEngine-Solr
|
||
|
Version: 0.19
|
||
|
Release: 0
|
||
|
Summary: Data::SearchEngine backend for Solr
|
||
|
Source: http://search.cpan.org/CPAN/authors/id/G/GP/GPHAT/Data-SearchEngine-Solr-%{version}.tar.gz
|
||
|
Url: http://search.cpan.org/dist/Data-SearchEngine-Solr
|
||
|
Group: Development/Libraries/Perl
|
||
|
License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic)
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
%{perl_requires}
|
||
|
BuildRequires: perl-macros
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl(Test::More)
|
||
|
BuildRequires: perl(HTTP::Response)
|
||
|
BuildRequires: perl(HTTP::Headers)
|
||
|
BuildRequires: perl(WebService::Solr::Response)
|
||
|
BuildRequires: perl(Data::SearchEngine::Query)
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||
|
BuildRequires: perl(Data::SearchEngine) >= 0.27
|
||
|
BuildRequires: perl(Time::HiRes)
|
||
|
BuildRequires: perl(Clone)
|
||
|
BuildRequires: perl(Data::SearchEngine::Paginator)
|
||
|
BuildRequires: perl(Data::SearchEngine::Results)
|
||
|
BuildRequires: perl(Data::SearchEngine::Item)
|
||
|
BuildRequires: perl(Data::SearchEngine::Results::Spellcheck::Suggestion)
|
||
|
BuildRequires: perl(Moose)
|
||
|
BuildRequires: perl(WebService::Solr) >= 0.11
|
||
|
Requires: perl(Data::SearchEngine) >= 0.27
|
||
|
Requires: perl(Time::HiRes)
|
||
|
Requires: perl(Clone)
|
||
|
Requires: perl(Data::SearchEngine::Paginator)
|
||
|
Requires: perl(Data::SearchEngine::Results)
|
||
|
Requires: perl(Data::SearchEngine::Item)
|
||
|
Requires: perl(Data::SearchEngine::Results::Spellcheck::Suggestion)
|
||
|
Requires: perl(Moose)
|
||
|
Requires: perl(WebService::Solr) >= 0.11
|
||
|
%if 0%{?suse_version} >= 1120
|
||
|
BuildArch: noarch
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
Data::SearchEngine::Solr is a Data::SearchEngine backend for the Solr
|
||
|
search server.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "Data-SearchEngine-Solr-%{version}"
|
||
|
%__sed -i '/^auto_install/d' Makefile.PL
|
||
|
|
||
|
%build
|
||
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
||
|
%__make %{?_smp_flags}
|
||
|
|
||
|
%install
|
||
|
%perl_make_install
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%check
|
||
|
%__make test
|
||
|
|
||
|
%clean
|
||
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%doc Changes ignore.txt LICENSE README README.mkdn
|
||
|
%dir %{perl_vendorlib}/Data
|
||
|
%dir %{perl_vendorlib}/Data/SearchEngine
|
||
|
%{perl_vendorlib}/Data/SearchEngine/Solr.pm
|
||
|
%{perl_vendorlib}/Data/SearchEngine/Solr
|
||
|
%doc %{perl_man3dir}/Data::SearchEngine::Solr.%{perl_man3ext}%{ext_man}
|
||
|
%doc %{perl_man3dir}/Data::SearchEngine::Solr::*.%{perl_man3ext}%{ext_man}
|
||
|
|
||
|
%changelog
|