summaryrefslogtreecommitdiffstats
path: root/glpi-webservices.spec
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-webservices.spec')
-rw-r--r--glpi-webservices.spec32
1 files changed, 9 insertions, 23 deletions
diff --git a/glpi-webservices.spec b/glpi-webservices.spec
index 6f98d25..15aa92b 100644
--- a/glpi-webservices.spec
+++ b/glpi-webservices.spec
@@ -7,15 +7,10 @@
# Please, preserve the changelog entries
#
%global pluginname webservices
-#global svnrelease 322
Name: glpi-webservices
-Version: 1.6.0
-%if 0%{?svnrelease}
-Release: 0.1.svn%{svnrelease}%{?dist}
-%else
-Release: 1.1%{?dist}
-%endif
+Version: 1.7.0
+Release: 1%{?dist}
Summary: GLPI Plugin which provides web services
Summary(fr): Extension GLPI fournissant des services web
@@ -23,20 +18,13 @@ Group: Applications/Internet
License: GPLv2+
URL: https://forge.glpi-project.org/projects/webservices
-%if 0%{?svnrelease}
-# svn export -r 322 https://forge.glpi-project.org/svn/webservices/trunk webservices
-# tar czf glpi-webservices-1.3.0-322.tar.gz webservices
-Source0: glpi-%{pluginname}-%{version}-%{svnrelease}.tar.gz
-%else
-Source0: https://forge.glpi-project.org/attachments/download/2099/glpi-webservices-1.6.0.tar.gz
-%endif
+Source0: https://forge.glpi-project.org/attachments/download/2186/glpi-webservices-1.7.0.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: glpi >= 0.85.3
-Requires: glpi < 0.91
+Requires: glpi >= 9.1
+Requires: glpi < 9.2
Requires: php-xmlrpc
Requires: php-soap
@@ -84,9 +72,8 @@ EOF
%build
# empty build
-%install
-rm -rf %{buildroot}
+%install
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
@@ -95,11 +82,7 @@ mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/
install --mode 644 httpd %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
@@ -107,6 +90,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Jun 13 2017 Remi Collet <remi@remirepo.net> - 1.7.0-1
+- version 1.7.0 for GLPI 9.1
+
* Tue Jun 28 2016 Johan Cwiklinski <jcwiklinski AT teclib DOT com> - 1.6.0-1.1
- Change URL