summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glpi-pdf.spec17
1 files changed, 8 insertions, 9 deletions
diff --git a/glpi-pdf.spec b/glpi-pdf.spec
index 346579d..24ecbf1 100644
--- a/glpi-pdf.spec
+++ b/glpi-pdf.spec
@@ -9,7 +9,7 @@
%global pluginname pdf
Name: glpi-pdf
-Version: 1.1
+Version: 1.2
Release: 1%{?dist}
Summary: GLPI Plugin to print PDF of equipment
Summary(fr): Extension GLPI pour créer des PDF des matériels
@@ -18,9 +18,8 @@ Group: Applications/Internet
License: GPLv2+
URL: https://forge.glpi-project.org/projects/pdf
-Source0: https://forge.glpi-project.org/attachments/download/2171/glpi-pdf-1.1.tar.gz
+Source0: https://forge.glpi-project.org/attachments/download/2207/glpi-pdf-1.2.0.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
@@ -44,6 +43,9 @@ informations sur un équipement ou un logiciel de l'inventaire.
# Create link to LICENSE for standard doc folder
ln -s %{_datadir}/glpi/plugins/%{pluginname}/LICENSE LICENSE
+# Display compatibility check
+grep version_compare %{pluginname}/setup.php
+
%build
# Regenerate the locales
@@ -54,8 +56,6 @@ done
%install
-rm -rf %{buildroot}
-
mkdir -p %{buildroot}/%{_datadir}/glpi/plugins
cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}
@@ -66,12 +66,8 @@ do
done | tee %{name}.lang
-%clean
-rm -rf %{buildroot}
-
%files -f %{name}.lang
-%defattr(-,root,root,-)
%{!?_licensedir:%global license %%doc}
%license LICENSE
%dir %{_datadir}/glpi/plugins/%{pluginname}
@@ -86,6 +82,9 @@ rm -rf %{buildroot}
%changelog
+* Tue Oct 24 2017 Remi Collet <remi@remirepo.net> - 1.2-1
+- version 1.2 for GLPI >= 9.1
+
* Mon Jan 9 2017 Remi Collet <remi@fedoraproject.org> - 1.1-1
- version 1.1 for GLPI >= 9.1
https://forge.glpi-project.org/versions/1216