mirror of
https://abf.rosa.ru/djam/glpi-plugin-webservices.git
synced 2025-02-23 18:22:47 +00:00
Automatic import for version 1.2.0
This commit is contained in:
parent
3944168791
commit
3a1e049f8a
2 changed files with 29 additions and 21 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,2 +1,2 @@
|
|||
sources:
|
||||
"glpi-webservices-0.4.0.tar.gz": 8e5ddedfd598c8ca26c4fe697bd8937415a63894
|
||||
"glpi-webservices-1.2.0.tar.gz": 8b5c9ca66645f33fc4bc3f5790115949c4af44c4
|
||||
|
|
|
@ -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
|
||||
BuildArch: noarch
|
||||
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
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%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 <oeriksson@mandriva.com> 1.2.0-2mdv2012.0
|
||||
+ Revision: 771133
|
||||
- various fixes
|
||||
|
||||
* Sat Feb 04 2012 Oden Eriksson <oeriksson@mandriva.com> 1.2.0-1
|
||||
+ Revision: 771093
|
||||
- 1.2.0
|
||||
|
||||
* Tue Aug 03 2010 Guillaume Rousse <guillomovitch@mandriva.org> 0.4.0-2mdv2011.0
|
||||
+ Revision: 565525
|
||||
- fix dependencies
|
||||
|
|
Loading…
Add table
Reference in a new issue