summaryrefslogtreecommitdiffstats
path: root/glpi-data-injection-dev.spec
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-data-injection-dev.spec')
-rw-r--r--glpi-data-injection-dev.spec28
1 files changed, 22 insertions, 6 deletions
diff --git a/glpi-data-injection-dev.spec b/glpi-data-injection-dev.spec
index bdd9b31..0a41aa7 100644
--- a/glpi-data-injection-dev.spec
+++ b/glpi-data-injection-dev.spec
@@ -1,8 +1,16 @@
+# spec file for glpi-data-injection
+#
+# Copyright (c) 2007-2013 Remi Collet
+# License: CC-BY-SA
+# http://creativecommons.org/licenses/by-sa/3.0/
+#
+# Please, preserve the changelog entries
+#
%global pluginname datainjection
#global svnrelease 703
Name: glpi-data-injection
-Version: 2.2.1
+Version: 2.3.0
%if 0%{?svnrelease}
Release: 0.1.svn%{svnrelease}%{?dist}
%else
@@ -21,15 +29,15 @@ 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/1610/glpi-datainjection-2.3.0.tar.gz
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-Requires: glpi >= 0.83
-Requires: glpi < 0.84
-Requires: glpi-pdf
+Requires: glpi >= 0.84
+Requires: glpi < 0.85
+#Requires: glpi-pdf
# This plugin have been renamed
Provides: glpi-%{pluginname} = %{version}-%{release}
@@ -78,6 +86,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}
@@ -105,9 +115,15 @@ 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
+* 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
@@ -156,7 +172,7 @@ rm -rf %{buildroot}
* Wed Jan 19 2011 Remi Collet <Fedora@FamilleCollet.com> - 2.0.0-0.1.beta
- update to 2.0.0-beta
-* Sun Dec 10 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.7.2-1
+* Fri Dec 10 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.7.2-1
- update to 1.7.2
- fix URL + Source (link to new forge)