From 3a1e049f8a7c1ba4625d76c005b6f818ae12b99c Mon Sep 17 00:00:00 2001 From: Rosa Date: Mon, 6 Feb 2012 05:25:33 +0400 Subject: [PATCH] Automatic import for version 1.2.0 --- .abf.yml | 2 +- glpi-plugin-webservices.spec | 48 +++++++++++++++++++++--------------- 2 files changed, 29 insertions(+), 21 deletions(-) diff --git a/.abf.yml b/.abf.yml index 5e88bda..fc13653 100644 --- a/.abf.yml +++ b/.abf.yml @@ -1,2 +1,2 @@ sources: - "glpi-webservices-0.4.0.tar.gz": 8e5ddedfd598c8ca26c4fe697bd8937415a63894 + "glpi-webservices-1.2.0.tar.gz": 8b5c9ca66645f33fc4bc3f5790115949c4af44c4 diff --git a/glpi-plugin-webservices.spec b/glpi-plugin-webservices.spec index 575f7fa..b83a793 100644 --- a/glpi-plugin-webservices.spec +++ b/glpi-plugin-webservices.spec @@ -1,43 +1,51 @@ -%define plugin webservices -%define name glpi-plugin-%{plugin} -%define version 0.4.0 +%if %mandriva_branch == Cooker %define release %mkrel 2 +%else +%define subrel 1 +%define release %mkrel 0 +%endif -Name: %{name} -Version: %{version} -Release: %{release} Summary: Web Services plugin +Name: glpi-plugin-webservices +Version: 1.2.0 +Release: %{release} License: GPL Group: Monitoring -Url: https://forge.indepnet.net/projects/%{plugin} -Source0: https://forge.indepnet.net/attachments/download/528/glpi-webservices-%{version}.tar.gz +URL: https://forge.indepnet.net/projects/webservices +Source0: https://forge.indepnet.net/attachments/download/980/glpi-webservices-%{version}.tar.gz +Requires: php-soap +Requires: php-xmlrpc BuildArch: noarch -Requires: php-soap -Requires: php-xmlrpc -BuildRoot: %{_tmppath}/%{name}-%{version} %description This plugin provides a server for Web Services which allow an external application to check and control GLPI. %prep -%setup -q -n %{plugin} + +%setup -q -n webservices + +find . -type f | xargs chmod 644 +find . -type d | xargs chmod 755 %install -rm -rf %{buildroot} -install -d -m 755 %{buildroot}%{_datadir}/glpi/plugins/%{plugin} -cp -ap * %{buildroot}%{_datadir}/glpi/plugins/%{plugin} - -%clean -rm -rf %{buildroot} +install -d -m 755 %{buildroot}%{_datadir}/glpi/plugins/webservices +cp -ap * %{buildroot}%{_datadir}/glpi/plugins/webservices %files -%defattr(-,root,root) -%{_datadir}/glpi/plugins/%{plugin} +%{_datadir}/glpi/plugins/webservices %changelog +* Sat Feb 04 2012 Oden Eriksson 1.2.0-2mdv2012.0 ++ Revision: 771133 +- various fixes + +* Sat Feb 04 2012 Oden Eriksson 1.2.0-1 ++ Revision: 771093 +- 1.2.0 + * Tue Aug 03 2010 Guillaume Rousse 0.4.0-2mdv2011.0 + Revision: 565525 - fix dependencies