From a9be3c9902f8567cba0af0f2f2a4aee4925e9368 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Nov 2013 15:58:42 +0100 Subject: glpi-webservices: 1.4.0 --- glpi-webservices-dev.spec | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) (limited to 'glpi-webservices-dev.spec') diff --git a/glpi-webservices-dev.spec b/glpi-webservices-dev.spec index be6c3b2..953a7b6 100644 --- a/glpi-webservices-dev.spec +++ b/glpi-webservices-dev.spec @@ -2,7 +2,7 @@ #global svnrelease 322 Name: glpi-webservices -Version: 1.3.1 +Version: 1.4.0 %if 0%{?svnrelease} Release: 0.1.svn%{svnrelease}%{?dist} %else @@ -20,16 +20,17 @@ URL: https://forge.indepnet.net/projects/webservices # tar czf glpi-webservices-1.3.0-322.tar.gz webservices Source0: glpi-%{pluginname}-%{version}-%{svnrelease}.tar.gz %else -Source0: https://forge.indepnet.net/attachments/download/1205/glpi-webservices-1.3.1.tar.gz +Source0: https://forge.indepnet.net/attachments/download/1623/glpi_webservices-1.4.0.tar.gz %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -Requires: glpi >= 0.83.3 -Requires: glpi < 0.84 -Requires: php-xmlrpc php-soap +Requires: glpi >= 0.84 +Requires: glpi < 0.85 +Requires: php-xmlrpc +Requires: php-soap %description This plugin provides a server for Web Services which allow @@ -43,6 +44,14 @@ Cette extension fournit un serveur de services web permettant %prep %setup -q -c +rm -rf %{pluginname}/tools \ + %{pluginname}/.htaccess \ + %{pluginname}/scripts/.htaccess +mv %{pluginname}/AUTHORS.txt . + +# Create link to LICENSE for standard doc folder +ln -s %{_datadir}/glpi/plugins/%{pluginname}/LICENSE LICENSE + cat >httpd < @@ -73,8 +82,6 @@ mkdir -p %{buildroot}/%{_datadir}/glpi/plugins cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname} # ===== apache ===== -rm -f %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/.htaccess -rm -f %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/scripts/.htaccess mkdir -p %{buildroot}/%{_sysconfdir}/httpd/conf.d/ install --mode 644 httpd %{buildroot}/%{_sysconfdir}/httpd/conf.d/%{name}.conf @@ -84,12 +91,16 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc %{pluginname}/LICENSE +%doc LICENSE AUTHORS.txt %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %{_datadir}/glpi/plugins/%{pluginname} %changelog +* Wed Nov 13 2013 Remi Collet - 1.4.0-1 +- version 1.4.0 for GLPI 0.84 + https://forge.indepnet.net/projects/webservices/versions/921 + * Thu Jul 12 2012 Remi Collet - 1.3.1-1 - version 1.3.1 for GLPI 0.83.3 https://forge.indepnet.net/projects/webservices/versions/703 @@ -111,7 +122,7 @@ rm -rf %{buildroot} * Tue Sep 20 2011 Remi Collet - 1.2.0-0.2.svn282 - new snapshot -* Tue Jul 17 2011 Remi Collet - 1.2.0-0.1.svn264 +* Sun Jul 17 2011 Remi Collet - 1.2.0-0.1.svn264 - update to 1.2.0 for glpi 0.80 RC (svn snapshot) * Tue Oct 12 2010 Remi Collet - 1.0.0-1 -- cgit