summaryrefslogtreecommitdiffstats
path: root/glpi-data-injection.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2014-03-31 07:46:02 +0200
committerRemi Collet <fedora@famillecollet.com>2014-03-31 07:46:02 +0200
commit54eb29f60fa0f36a1403a93994ad58ac083b1bb0 (patch)
tree5551152691b642c877132f7f530f396e10571bce /glpi-data-injection.spec
parente6f232ad6780d3167fb64e259c47c0e3a820cded (diff)
glpi-data-injection: 2.3.1
Diffstat (limited to 'glpi-data-injection.spec')
-rw-r--r--glpi-data-injection.spec23
1 files changed, 18 insertions, 5 deletions
diff --git a/glpi-data-injection.spec b/glpi-data-injection.spec
index ccefa5a..d7ac19e 100644
--- a/glpi-data-injection.spec
+++ b/glpi-data-injection.spec
@@ -10,7 +10,7 @@
#global svnrelease 703
Name: glpi-data-injection
-Version: 2.2.1
+Version: 2.3.1
%if 0%{?svnrelease}
Release: 0.1.svn%{svnrelease}%{?dist}
%else
@@ -29,14 +29,14 @@ URL: https://forge.indepnet.net/projects/datainjection
Source0: glpi-datainjection-2.2.0-%{svnrelease}.tar.gz
%else
# This change for each new version
-Source0: https://forge.indepnet.net/attachments/download/1189/glpi-datainjection-2.2.1.tar.gz
+Source0: https://forge.indepnet.net/attachments/download/1719/glpi-datainjection-2.3.1.tar.gz
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: glpi >= 0.83
-Requires: glpi < 0.84
+Requires: glpi >= 0.84
+Requires: glpi < 0.85
Requires: glpi-pdf
# This plugin have been renamed
@@ -76,7 +76,8 @@ for fic in docs/*; do
done
# don't need this
-rm -f testwebservice.php
+rm -f %{pluginname}/testwebservice.php
+rm -rf %{pluginname}/tools
%build
@@ -86,6 +87,8 @@ rm -f testwebservice.php
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_localstatedir}/lib/glpi/files/_plugins/%{pluginname}
+
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
@@ -113,9 +116,19 @@ rm -rf %{buildroot}
%{_datadir}/glpi/plugins/%{pluginname}/pics
# Need here, required from the Interface
%{_datadir}/glpi/plugins/%{pluginname}/LICENSE
+# Data
+%attr(750,apache,root) %{_localstatedir}/lib/glpi/files/_plugins/%{pluginname}
%changelog
+* Mon Mar 31 2014 Remi Collet <Fedora@FamilleCollet.com> - 2.3.1-1
+- version 2.3.1 for GLPI 0.84
+ https://forge.indepnet.net/projects/datainjection/versions/1004
+
+* Tue Nov 12 2013 Remi Collet <Fedora@FamilleCollet.com> - 2.3.0-1
+- version 2.3.0 for GLPI 0.84
+ https://forge.indepnet.net/projects/datainjection/versions/934
+
* Wed Jun 13 2012 Remi Collet <Fedora@FamilleCollet.com> - 2.2.1-1
- version 2.2.1
https://forge.indepnet.net/projects/datainjection/versions/748