[icinga-checkins] icinga.org: icingaweb2-module-elasticsearch/master: Add specfile [WIP]

git at icinga.org git at icinga.org
Thu Jun 30 17:08:11 CEST 2016


Module: icingaweb2-module-elasticsearch
Branch: master
Commit: 62e74a8249ade62172f25108b8f5a8aafc464255
URL:    https://git.icinga.org/?p=icingaweb2-module-elasticsearch.git;a=commit;h=62e74a8249ade62172f25108b8f5a8aafc464255

Author: Johannes Meyer <johannes.meyer at netways.de>
Date:   Mon May 23 15:17:41 2016 +0200

Add specfile [WIP]

This specfile covers only a stripped file and directory structure
and is thus subject to change.

---

 icingaweb2-module-elasticsearch.spec |   63 ++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/icingaweb2-module-elasticsearch.spec b/icingaweb2-module-elasticsearch.spec
new file mode 100644
index 0000000..23d2cad
--- /dev/null
+++ b/icingaweb2-module-elasticsearch.spec
@@ -0,0 +1,63 @@
+# Icinga Web 2 Elasticsearch Module | (c) 2016 Icinga Development Team | GPLv2+
+
+%define revision    1
+%define pre_release_tag a
+%define basedir     %{_datadir}/icingaweb2/modules/elasticsearch
+
+Name:       icingaweb2-module-elasticsearch
+Version:    0.2
+Summary:    Elasticsearch Module
+Group:      Applications/System
+License:    GPLv2+
+URL:        https://dev.icinga.org/projects/icingaweb2-module-elasticsearch
+Source0:    https://github.com/Icinga/icingaweb2-module-elasticsearch/archive/v%{version}%{?pre_release_tag}.tar.gz
+Vendor:     Icinga Team <info at icinga.org>
+Packager:   Icinga Team <info at icinga.org>
+
+%if %{?pre_release_tag}
+Release:    0.%{revision}.%{pre_release_tag}%{?dist}
+%else
+Release:    %{revision}%{?dist}
+%endif
+
+BuildArch:      noarch
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}
+
+Requires:   icingaweb2 >= 2.3.0
+
+%description
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS COPYING
+%{basedir}/application
+%{basedir}/configuration.php
+%{basedir}/library
+%{basedir}/module.info
+
+
+%prep
+%setup -q -c
+
+%build
+
+%install
+mkdir -p %{buildroot}/%{basedir}
+cp -prv application %{buildroot}/%{basedir}
+cp -prv library %{buildroot}/%{basedir}
+cp -pv configuration.php %{buildroot}/%{basedir}
+cp -pv module.info %{buildroot}/%{basedir}
+
+%clean
+rm -rf %{buildroot}
+
+
+%pre
+
+%post
+
+
+%preun
+
+%postun
+



More information about the icinga-checkins mailing list