diff options
author | Remi Collet <fedora@famillecollet.com> | 2012-06-13 20:26:29 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2012-06-13 20:26:29 +0200 |
commit | c59cac4b967b707d9f2d48b5b31b0e7d70b5f8b8 (patch) | |
tree | e2c1d9fa661e551260bcd2173a3e3f28da54d9ec |
reorg repo
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | glpi-reports-dev.spec | 108 | ||||
-rw-r--r-- | glpi-reports.spec | 101 |
3 files changed, 213 insertions, 0 deletions
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-reports-dev.spec b/glpi-reports-dev.spec new file mode 100644 index 0000000..1928827 --- /dev/null +++ b/glpi-reports-dev.spec @@ -0,0 +1,108 @@ +%global pluginname reports +#global svnrelease 215 + +Name: glpi-reports +Version: 1.6.0 +%if 0%{?svnrelease} +Release: 0.1.svn%{svnrelease}%{?dist} +%else +Release: 1%{?dist} +%endif +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 + +%if 0%{?svnrelease} +# svn export -r 215 https://forge.indepnet.net/svn/reports/trunk reports +# tar czf glpi-reports-1.6.0-215.tar.gz reports +Source0: glpi-%{pluginname}-%{version}-%{svnrelease}.tar.gz +%else +Source0: https://forge.indepnet.net/attachments/download/1094/glpi-reports-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 + + +%description +This plugin enables additional reports. + +Main features : +* It also plugin allow you to add new reports in a simply way + (one PHP script for the report and one for the translation). +* It handle the right for each new report +* It provides some new reports (as sample) + + +%description -l fr +Ce plugin fournit des rapports supplémentaires. + +Fonctionnalités principales : +* Il permet d’ajouter très facilement de nouveaux rapports (via l’ajout d’un + fichier PHP pour le rapport et un fichier de langue associé). +* Il prend en charge la gestion de droits de tout nouveau rapport ajouté. +* Il fournit quelques rapports (pour exemple) + + +%prep +%setup -q -c + +mv %{pluginname}/docs docs + +# dos2unix to avoid rpmlint warnings +for doc in docs/* ; do + sed -i -e 's/\r//' $doc +done + + +%build +# empty build + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}/%{_datadir}/glpi/plugins +cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc docs/* %{pluginname}/LICENSE +%{_datadir}/glpi/plugins/%{pluginname} + + +%changelog +* Fri Apr 06 2012 Remi Collet <Fedora@FamilleCollet.com> - 1.6.0-1 +- version 1.6.0 + https://forge.indepnet.net/projects/reports/versions/636 + +* Sun Feb 26 2012 Remi Collet <Fedora@FamilleCollet.com> - 1.6.0-0.1.svn215 +- version 1.6.0 for glpi 0.83RC (svn snapshot) + +* Thu Jun 30 2011 Remi Collet <Fedora@FamilleCollet.com> - 1.5.0-1 +- version 1.5.0 released + +* Tue Jun 28 2011 Remi Collet <Fedora@FamilleCollet.com> - 1.5.0-0.1.svn158 +- version 1.5.0 for glpi 0.80 (svn snapshot) + +* Tue Oct 12 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.4.0-1 +- version 1.4.0 and GLPI 0.78 released + +* Sat Sep 18 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.4.0-0.1.svn100 +- new snapshot + +* Sat Sep 04 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.4.0-0.1.svn95 +- version 1.4.0 for glpi 0.78 RC (svn snapshot) +- initial RPM + diff --git a/glpi-reports.spec b/glpi-reports.spec new file mode 100644 index 0000000..50719ae --- /dev/null +++ b/glpi-reports.spec @@ -0,0 +1,101 @@ +%global pluginname reports +#global svnrelease 158 + +Name: glpi-reports +Version: 1.5.0 +%if 0%{?svnrelease} +Release: 0.1.svn%{svnrelease}%{?dist} +%else +Release: 1%{?dist} +%endif +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 + +%if 0%{?svnrelease} +# svn export -r 158 https://forge.indepnet.net/svn/reports/trunk reports +# tar czf glpi-reports-1.5.0-158.tar.gz reports +Source0: glpi-%{pluginname}-%{version}-%{svnrelease}.tar.gz +%else +Source0: https://forge.indepnet.net/attachments/download/926/glpi-reports-1.5.0.tar.gz +%endif + + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +Requires: glpi >= 0.80 +Requires: glpi < 0.81 + + +%description +This plugin enables additional reports. + +Main features : +* It also plugin allow you to add new reports in a simply way + (one PHP script for the report and one for the translation). +* It handle the right for each new report +* It provides some new reports (as sample) + + +%description -l fr +Ce plugin fournit des rapports supplémentaires. + +Fonctionnalités principales : +* Il permet d’ajouter très facilement de nouveaux rapports (via l’ajout d’un + fichier PHP pour le rapport et un fichier de langue associé). +* Il prend en charge la gestion de droits de tout nouveau rapport ajouté. +* Il fournit quelques rapports (pour exemple) + + +%prep +%setup -q -c + +mv %{pluginname}/docs docs + +# dos2unix to avoid rpmlint warnings +for doc in docs/* ; do + sed -i -e 's/\r//' $doc +done + + +%build +# empty build + +%install +rm -rf %{buildroot} + +mkdir -p %{buildroot}/%{_datadir}/glpi/plugins +cp -ar %{pluginname} %{buildroot}/%{_datadir}/glpi/plugins/%{pluginname} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc docs/* +%{_datadir}/glpi/plugins/%{pluginname} + + +%changelog +* Thu Jun 30 2011 Remi Collet <Fedora@FamilleCollet.com> - 1.5.0-1 +- version 1.5.0 released + +* Tue Jun 28 2011 Remi Collet <Fedora@FamilleCollet.com> - 1.5.0-0.1.svn158 +- version 1.5.0 for glpi 0.80 (svn snapshot) + +* Tue Oct 12 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.4.0-1 +- version 1.4.0 and GLPI 0.78 released + +* Sat Sep 18 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.4.0-0.1.svn100 +- new snapshot + +* Sat Sep 04 2010 Remi Collet <Fedora@FamilleCollet.com> - 1.4.0-0.1.svn95 +- version 1.4.0 for glpi 0.78 RC (svn snapshot) +- initial RPM + |