]> git.pld-linux.org Git - SPECS.git/blob - php-solarium-Solarium.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / php-solarium-Solarium.spec
1 %define         package Solarium
2 %define         php_min_version 5.3.0
3 Summary:        Solarium PHP Solr client library
4 Name:           php-solarium-Solarium
5 Version:        3.1.2
6 Release:        1
7 License:        BSD
8 Group:          Development/Languages/PHP
9 Source0:        https://github.com/basdenooijer/solarium/archive/%{version}/%{package}-%{version}.tar.gz
10 # Source0-md5:  99fa934be12783063b140717c819ebac
11 URL:            http://www.solarium-project.org/
12 BuildRequires:  rpm-php-pearprov >= 4.4.2-11
13 BuildRequires:  rpmbuild(macros) >= 1.610
14 Requires:       php(core) >= %{php_min_version}
15 Requires:       php(curl)
16 Requires:       php(date)
17 Requires:       php(json)
18 Requires:       php(pcre)
19 Requires:       php(spl)
20 Requires:       php-symfony2-EventDispatcher
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Solarium is a PHP Solr client library that accurately model Solr
26 concepts. Where many other Solr libraries only handle the
27 communication with Solr, Solarium also relieves you of handling all
28 the complex Solr query parameters using a well documented API.
29
30 %prep
31 %setup -q -n solarium-%{version}
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{php_data_dir},%{_examplesdir}/%{name}-%{version}}
36 cp -a library/Solarium $RPM_BUILD_ROOT%{php_data_dir}
37 cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc README.md COPYING
45 %{php_data_dir}/Solarium
46 %{_examplesdir}/%{name}-%{version}
This page took 0.186526 seconds and 3 git commands to generate.