From 7e4fb1515d7cedc06ab06b171a38bb923bcafbcc Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 28 Jun 2016 17:29:06 +0200 Subject: glpi-ocsinventoryng: switch the spec --- glpi-ocsinventoryng-dev.spec | 190 ------------------------------------------- glpi-ocsinventoryng.spec | 21 +++-- 2 files changed, 13 insertions(+), 198 deletions(-) delete mode 100644 glpi-ocsinventoryng-dev.spec diff --git a/glpi-ocsinventoryng-dev.spec b/glpi-ocsinventoryng-dev.spec deleted file mode 100644 index d7ecfad..0000000 --- a/glpi-ocsinventoryng-dev.spec +++ /dev/null @@ -1,190 +0,0 @@ -# remirepo spec file for glpi-ocsinventoryng -# -# Copyright (c) 2013-2015 Remi Collet -# License: CC-BY-SA -# http://creativecommons.org/licenses/by-sa/4.0/ -# -# Please, preserve the changelog entries -# -%global pluginname ocsinventoryng -%global lockname ocsinventoryng.lock - -Name: glpi-ocsinventoryng -Version: 1.2.1 -Release: 1%{?dist} -Summary: Plugin to synchronize GLPI with OCS Inventory NG - -Group: Applications/Internet -License: GPLv2+ -URL: https://forge.glpi-project.org/projects/ocsinventoryng - -Source0: https://forge.glpi-project.org/attachments/download/2114/glpi-ocsinventoryng-1.2.1.tar.gz -Source1: %{name}-httpd.conf - -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildArch: noarch -BuildRequires: gettext - -Requires: glpi >= 0.90 -Requires: glpi < 0.91 -Requires: crontabs -Requires: php-cli -# phpcompatinfo for version 1.0.2 -Requires: php-date -Requires: php-json -Requires: php-pcre - -# Latest version is 1.6.x for GLPI 0.83.x -Obsoletes: glpi-mass-ocs-import < 1.7 -Provides: glpi-mass-ocs-import = 1.7.0 -Provides: glpi-massocsimport = 1.7.0 - - -%description -This plugin allows you to synchronize GLPI inventory with OCS Inventory NG. - -It's intended to replace native mode OCS of GLPI and use the massocsimport -plugin features to provide better compatibility and extensibility with OCS. - - -%prep -%setup -q -c - -mv %{pluginname}/docs docs - -# dos2unix to avoid rpmlint warnings -for doc in docs/* ; do - sed -i -e 's/\r//' $doc - chmod -x $doc -done - -# Create link to LICENSE for standard doc folder -ln -s %{_datadir}/glpi/plugins/%{pluginname}/LICENSE LICENSE - -# For developer only -rm -rf %{pluginname}/tools - -# For Windows only -rm %{pluginname}/scripts/run.** - -# Access retricted in apache config -rm ocsinventoryng/scripts/.htaccess \ - ocsinventoryng/install/mysql/.htaccess - -cat < - 1.2.1-1 -- Update to 1.2.1 for GLPI 0.90 - https://forge.glpi-project.org/versions/1181 - -* Thu Oct 8 2015 Remi Collet - 1.2.0-1 -- Update to 1.2.0 for GLPI 0.90 - https://forge.glpi-project.org/versions/1179 - -* Wed Sep 16 2015 Remi Collet - 1.1.2-1 -- Update to 1.1.2 for GLPI 0.85+ - https://forge.glpi-project.org/versions/1131 - -* Mon Jun 8 2015 Remi Collet - 1.1.1-1 -- Update to 1.1.1 for GLPI 0.85+ -- add upstream patch for https://forge.indepnet.net/issues/5359 - -* Sun Mar 1 2015 Remi Collet - 1.1.0-1 -- Update to 1.1.0 for GLPI 0.85+ - https://forge.indepnet.net/versions/1116 - -* Mon Sep 8 2014 Remi Collet - 1.0.3-1 -- Update to 1.0.3 for GLPI 0.84+ - https://forge.indepnet.net/versions/957 - -* Wed Oct 2 2013 Remi Collet - 1.0.2-1 -- Initial RPM (from glpi-mass-ocs-import.spec) \ No newline at end of file diff --git a/glpi-ocsinventoryng.spec b/glpi-ocsinventoryng.spec index fa3cdf0..d7ecfad 100644 --- a/glpi-ocsinventoryng.spec +++ b/glpi-ocsinventoryng.spec @@ -10,23 +10,23 @@ %global lockname ocsinventoryng.lock Name: glpi-ocsinventoryng -Version: 1.1.2 -Release: 1.1%{?dist} +Version: 1.2.1 +Release: 1%{?dist} Summary: Plugin to synchronize GLPI with OCS Inventory NG Group: Applications/Internet License: GPLv2+ URL: https://forge.glpi-project.org/projects/ocsinventoryng -Source0: https://forge.glpi-project.org/attachments/download/2094/glpi-ocsinventoryng-1.1.2.tar.gz +Source0: https://forge.glpi-project.org/attachments/download/2114/glpi-ocsinventoryng-1.2.1.tar.gz Source1: %{name}-httpd.conf BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: gettext -Requires: glpi >= 0.85 -Requires: glpi < 0.86 +Requires: glpi >= 0.90 +Requires: glpi < 0.91 Requires: crontabs Requires: php-cli # phpcompatinfo for version 1.0.2 @@ -162,8 +162,13 @@ grep %{lockname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/setup.php | %changelog -* Tue Jun 28 2016 Johan Cwiklinski - 1.1.2-1.1 -- Change URL +* Fri Nov 27 2015 Remi Collet - 1.2.1-1 +- Update to 1.2.1 for GLPI 0.90 + https://forge.glpi-project.org/versions/1181 + +* Thu Oct 8 2015 Remi Collet - 1.2.0-1 +- Update to 1.2.0 for GLPI 0.90 + https://forge.glpi-project.org/versions/1179 * Wed Sep 16 2015 Remi Collet - 1.1.2-1 - Update to 1.1.2 for GLPI 0.85+ @@ -182,4 +187,4 @@ grep %{lockname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname}/setup.php | https://forge.indepnet.net/versions/957 * Wed Oct 2 2013 Remi Collet - 1.0.2-1 -- Initial RPM (from glpi-mass-ocs-import.spec) +- Initial RPM (from glpi-mass-ocs-import.spec) \ No newline at end of file -- cgit