From 0db7451dcd782166b6ec7bac810819657893fdb3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 13 Jun 2012 20:26:29 +0200 Subject: reorg repo --- Makefile | 4 + glpi-mass-ocs-import-dev.spec | 225 ++++++++++++++++++++++++++++++++++++++++++ glpi-mass-ocs-import.spec | 215 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 444 insertions(+) create mode 100644 Makefile create mode 100644 glpi-mass-ocs-import-dev.spec create mode 100644 glpi-mass-ocs-import.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e65467 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../common/Makefile + diff --git a/glpi-mass-ocs-import-dev.spec b/glpi-mass-ocs-import-dev.spec new file mode 100644 index 0000000..6171f56 --- /dev/null +++ b/glpi-mass-ocs-import-dev.spec @@ -0,0 +1,225 @@ +%global pluginname massocsimport +%global lockname massocsimport.lock +#global svnrelease 138 + +Name: glpi-mass-ocs-import +Version: 1.6.0 +%if 0%{?svnrelease} +Release: 0.1.svn%{svnrelease}%{?dist} +%else +Release: 1%{?dist} +%endif +Summary: GLPI Plugin for OCS Massive import +Summary(fr): Extension GLPI d'import en masse OCS + +Group: Applications/Internet +License: GPLv2+ +URL: https://forge.indepnet.net/projects/massocsimport + +%if 0%{?svnrelease} +# svn export -r 138 https://forge.indepnet.net/svn/massocsimport/trunk massocsimport +# tar czf glpi-massocsimport-1.6.0-138.tar.gz massocsimport +Source0: glpi-massocsimport-1.6.0-%{svnrelease}.tar.gz +%else +Source0: https://forge.indepnet.net/attachments/download/1132/glpi-massocsimport-1.6.0.tar.gz +%endif + + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: glpi >= 0.83 +Requires: glpi < 0.84 +Requires: php-cli +Requires: %{_sysconfdir}/cron.d + +# This plugin have been renamed +Provides: glpi-%{pluginname} = %{version}-%{release} + + +%description +Plugin which allow OCS continuous synchronization and massive importation. + +The extension Config panel is provided to handle the synchronization options. + +%description -l fr +Extension permettant de réaliser une importation au fil de l'eau depuis OCS +et de suivre leur traitement. + +Le module de configuration intégré permet de gérer les options de +synchronisation. + +%prep +%setup -q -c + +# fix wrong-file-end-of-line-encoding, preserving timestamp +mv %{pluginname}/docs docs +for fic in docs/*; do + mv $fic $fic.ref + sed -e 's/\r//' $fic.ref >$fic + touch -r $fic.ref $fic + rm $fic.ref +done + +cat >README-RPM-POSTINTALL.txt <%{name}.httpd < + + Require all denied + + + Order Allow,Deny + Deny from all + + +EOF + +cat >cron < - 1.6.0-1 +- version 1.6.0 + https://forge.indepnet.net/projects/massocsimport/versions/639 +- fix config for httpd 2.4 + +* Sun Feb 26 2012 Remi Collet - 1.6.0-0.1.svn138 +- update to 1.6.0 for glpi 0.83 RC (svn snapshot) + +* Tue Sep 27 2011 Remi Collet - 1.5.2-1 +- version 1.5.1 released + https://forge.indepnet.net/projects/massocsimport/versions/618 + +* Tue Jul 30 2011 Remi Collet - 1.5.1-1 +- version 1.5.1 released + +* Thu Jun 30 2011 Remi Collet - 1.5.0-1 +- version 1.5.0 released + +* Tue Jun 28 2011 Remi Collet - 1.5.0-0.1.svn108 +- update to 1.5.0 for glpi 0.80 (svn snapshot) + +* Sat Jun 11 2011 Remi Collet - 1.4.2-1 +- version 1.4.2 + https://forge.indepnet.net/projects/massocsimport/versions/534 + +* Sun Oct 31 2010 Remi Collet - 1.4.1-1 +- version 1.4.1 (minor bugfix) + +* Tue Oct 12 2010 Remi Collet - 1.4.0-1 +- version 1.4.0 and GLPI 0.78 released + +* Wed Aug 25 2010 Remi Collet - 1.4.0-0.1.svn60 +- new snapshot + +* Wed Jul 07 2010 Remi Collet - 1.4.0-0.1.svn57 +- new snapshot + +* Fri Jul 02 2010 Remi Collet - 1.4.0-0.1.svn56 +- new snapshot + +* Fri Jun 18 2010 Remi Collet - 1.4.0-0.1.svn54 +- update to 1.4.0 for glpi 0.78 RC (svn snapshot) + +* Fri May 21 2010 Remi Collet - 1.3.0-2 +- spec cleanup + +* Tue Aug 18 2009 Remi Collet - 1.3.0-1 +- update to 1.3.0 finale for glpi 0.72 + +* Fri Jul 24 2009 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Apr 09 2009 Remi Collet - 1.2.2-1 +- update to 1.2.2 (bugfixes) + +* Tue Mar 03 2009 Remi Collet - 1.2.1-1 +- update to 1.2.1 (bugfixes) +- rename README.fedora to README-RPM-POSTINTALL.txt +- add some docs + +* Tue Feb 24 2009 Fedora Release Engineering - 1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Sep 28 2008 Remi Collet - 1.2-1.el4.1 +- Fix MySQL 4.1 compatibility issue + +* Sat Jul 12 2008 Remi Collet - 1.2-1 +- update to 1.2 for glpi 0.71 + +* Thu Feb 14 2008 Remi Collet - 1.1-1 +- update to 1.1 (setup bug fixes) + +* Sat Dec 22 2007 Remi Collet - 1.0-1 +- update to 1.0 finale + +* Fri Jul 06 2007 Remi Collet - 1.0-0.20070706 +- Initial RPM + diff --git a/glpi-mass-ocs-import.spec b/glpi-mass-ocs-import.spec new file mode 100644 index 0000000..9f1051b --- /dev/null +++ b/glpi-mass-ocs-import.spec @@ -0,0 +1,215 @@ +%global pluginname massocsimport +%global lockname massocsimport.lock +#global svnrelease 108 + +Name: glpi-mass-ocs-import +Version: 1.5.2 +%if 0%{?svnrelease} +Release: 0.1.svn%{svnrelease}%{?dist} +%else +Release: 1%{?dist} +%endif +Summary: GLPI Plugin for OCS Massive import +Summary(fr): Extension GLPI d'import en masse OCS + +Group: Applications/Internet +License: GPLv2+ +URL: https://forge.indepnet.net/projects/massocsimport + +%if 0%{?svnrelease} +# svn export -r 108 https://forge.indepnet.net/svn/massocsimport/trunk massocsimport +# tar czf glpi-massocsimport-1.5.0-108.tar.gz massocsimport +Source0: glpi-massocsimport-1.5.0-%{svnrelease}.tar.gz +%else +Source0: https://forge.indepnet.net/attachments/download/975/glpi-massocsimport-1.5.2.tar.gz +%endif + + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: glpi >= 0.80.4 +Requires: glpi < 0.81 +Requires: php-cli +Requires: %{_sysconfdir}/cron.d + +# This plugin have been renamed +Provides: glpi-%{pluginname} = %{version}-%{release} + + +%description +Plugin which allow OCS continuous synchronization and massive importation. + +The extension Config panel is provided to handle the synchronization options. + +%description -l fr +Extension permettant de réaliser une importation au fil de l'eau depuis OCS +et de suivre leur traitement. + +Le module de configuration intégré permet de gérer les options de +synchronisation. + +%prep +%setup -q -c + +# Temporary +sed -i -e s/1.5.0/1.5.1/ %{pluginname}/setup.php + +# fix wrong-file-end-of-line-encoding, preserving timestamp +mv %{pluginname}/docs docs +for fic in docs/*; do + mv $fic $fic.ref + sed -e 's/\r//' $fic.ref >$fic + touch -r $fic.ref $fic + rm $fic.ref +done + +cat >README-RPM-POSTINTALL.txt <%{name}.httpd < + Order Allow,Deny + Deny from all + +EOF + +cat >cron < - 1.5.2-1 +- version 1.5.1 released + https://forge.indepnet.net/projects/massocsimport/versions/618 + +* Tue Jul 30 2011 Remi Collet - 1.5.1-1 +- version 1.5.1 released + +* Thu Jun 30 2011 Remi Collet - 1.5.0-1 +- version 1.5.0 released + +* Tue Jun 28 2011 Remi Collet - 1.5.0-0.1.svn108 +- update to 1.5.0 for glpi 0.80 (svn snapshot) + +* Sat Jun 11 2011 Remi Collet - 1.4.2-1 +- version 1.4.2 + https://forge.indepnet.net/projects/massocsimport/versions/534 + +* Sun Oct 31 2010 Remi Collet - 1.4.1-1 +- version 1.4.1 (minor bugfix) + +* Tue Oct 12 2010 Remi Collet - 1.4.0-1 +- version 1.4.0 and GLPI 0.78 released + +* Wed Aug 25 2010 Remi Collet - 1.4.0-0.1.svn60 +- new snapshot + +* Wed Jul 07 2010 Remi Collet - 1.4.0-0.1.svn57 +- new snapshot + +* Fri Jul 02 2010 Remi Collet - 1.4.0-0.1.svn56 +- new snapshot + +* Fri Jun 18 2010 Remi Collet - 1.4.0-0.1.svn54 +- update to 1.4.0 for glpi 0.78 RC (svn snapshot) + +* Fri May 21 2010 Remi Collet - 1.3.0-2 +- spec cleanup + +* Tue Aug 18 2009 Remi Collet - 1.3.0-1 +- update to 1.3.0 finale for glpi 0.72 + +* Fri Jul 24 2009 Fedora Release Engineering - 1.2.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Apr 09 2009 Remi Collet - 1.2.2-1 +- update to 1.2.2 (bugfixes) + +* Tue Mar 03 2009 Remi Collet - 1.2.1-1 +- update to 1.2.1 (bugfixes) +- rename README.fedora to README-RPM-POSTINTALL.txt +- add some docs + +* Tue Feb 24 2009 Fedora Release Engineering - 1.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Sep 28 2008 Remi Collet - 1.2-1.el4.1 +- Fix MySQL 4.1 compatibility issue + +* Sat Jul 12 2008 Remi Collet - 1.2-1 +- update to 1.2 for glpi 0.71 + +* Thu Feb 14 2008 Remi Collet - 1.1-1 +- update to 1.1 (setup bug fixes) + +* Sat Dec 22 2007 Remi Collet - 1.0-1 +- update to 1.0 finale + +* Fri Jul 06 2007 Remi Collet - 1.0-0.20070706 +- Initial RPM + -- cgit