summaryrefslogtreecommitdiffstats
path: root/glpi-reports.spec
diff options
context:
space:
mode:
Diffstat (limited to 'glpi-reports.spec')
-rw-r--r--glpi-reports.spec30
1 files changed, 17 insertions, 13 deletions
diff --git a/glpi-reports.spec b/glpi-reports.spec
index a7467c2..a9630ea 100644
--- a/glpi-reports.spec
+++ b/glpi-reports.spec
@@ -1,4 +1,4 @@
-# spec file for glpi-reports
+# remirepo spec file for glpi-reports
#
# Copyright (c) 2010-2015 Remi Collet
# License: CC-BY-SA
@@ -9,23 +9,23 @@
%global pluginname reports
Name: glpi-reports
-Version: 1.7.3
+Version: 1.9.0
Release: 1%{?dist}
Summary: GLPI Plugin providing additional reports
Summary(fr): Extension GLPI fournissant des rapports supplémentaires
Group: Applications/Internet
License: GPLv2+
-URL: https://forge.indepnet.net/projects/reports
+URL: https://forge.glpi-project.org/projects/reports
-Source0: https://forge.indepnet.net/attachments/download/1920/glpi_reports-1.7.3.tar.gz
+Source0: https://forge.glpi-project.org/attachments/download/2101/glpi-reports-1.9.0.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: gettext
-Requires: glpi >= 0.84
-Requires: glpi < 0.85
+Requires: glpi >= 0.85
+Requires: glpi < 0.91
%description
@@ -51,16 +51,11 @@ Fonctionnalités principales :
%prep
%setup -q -c
-mv %{pluginname}/docs docs
+rm -r %{pluginname}/tools
# Create link to LICENSE for standard doc folder
ln -s %{_datadir}/glpi/plugins/%{pluginname}/LICENSE LICENSE
-# dos2unix to avoid rpmlint warnings
-for doc in docs/* ; do
- sed -i -e 's/\r//' $doc
-done
-
%build
# Regenerate the locales
@@ -89,7 +84,8 @@ rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root,-)
-%doc docs/* LICENSE
+%{!?_licensedir:%global license %%doc}
+%license LICENSE
%dir %{_datadir}/glpi/plugins/%{pluginname}
%dir %{_datadir}/glpi/plugins/%{pluginname}/locales
%{_datadir}/glpi/plugins/%{pluginname}/*.php
@@ -101,6 +97,14 @@ rm -rf %{buildroot}
%changelog
+* Sat Oct 3 2015 Remi Collet <remi@fedoraproject.org> - 1.9.0-1
+- version 1.9.0 for GLPI 0.85 and 0.90
+ https://forge.glpi-project.org/versions/1152
+
+* Mon Jun 1 2015 Remi Collet <remi@fedoraproject.org> - 1.8.0-1
+- version 1.8.0 for GLPI 0.85
+ https://forge.indepnet.net/versions/1108
+
* Mon Dec 1 2014 Remi Collet <remi@fedoraproject.org> - 1.7.3-1
- version 1.7.3
https://forge.indepnet.net/versions/1093