summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/deb/agl-cmake-apps-module.dsc14
-rw-r--r--packaging/deb/debian.agl-cmake-apps-module-bin.install1
-rw-r--r--packaging/deb/debian.changelog5
-rw-r--r--packaging/deb/debian.compat1
-rw-r--r--packaging/deb/debian.control14
-rw-r--r--packaging/deb/debian.rules9
-rw-r--r--packaging/rpm/agl-cmake-apps-module.spec49
7 files changed, 93 insertions, 0 deletions
diff --git a/packaging/deb/agl-cmake-apps-module.dsc b/packaging/deb/agl-cmake-apps-module.dsc
new file mode 100644
index 0000000..11749b5
--- /dev/null
+++ b/packaging/deb/agl-cmake-apps-module.dsc
@@ -0,0 +1,14 @@
+Format: 3.0 (native)
+Source: agl-cmake-apps-module
+Binary: agl-cmake-apps-module-bin, agl-cmake-apps-module-dev
+Architecture: any
+Version: 6.90-0
+Maintainer: Romain Forlot <romain.forlot@iot.bzh>
+Standards-Version: 3.8.2
+Homepage: https://gerrit.automotivelinux.org/gerrit/src/cmake-apps-module
+Build-Depends: debhelper (>= 5),
+ dpkg-dev,
+ cmake,
+DEBTRANSFORM-RELEASE: 1
+Files:
+ cmake-apps-module_6.90.tar.gz
diff --git a/packaging/deb/debian.agl-cmake-apps-module-bin.install b/packaging/deb/debian.agl-cmake-apps-module-bin.install
new file mode 100644
index 0000000..d9da1b1
--- /dev/null
+++ b/packaging/deb/debian.agl-cmake-apps-module-bin.install
@@ -0,0 +1 @@
+usr/share/*/Modules/CMakeAfbTemplates*
diff --git a/packaging/deb/debian.changelog b/packaging/deb/debian.changelog
new file mode 100644
index 0000000..a245cdf
--- /dev/null
+++ b/packaging/deb/debian.changelog
@@ -0,0 +1,5 @@
+agl-cmake-apps-module (6.90-0) unstable; urgency=low
+
+ * init build
+
+ -- Romain Forlot <romain.forlot@iot.bzh> Mon, 5 Oct 2018 10:50:38 +0100
diff --git a/packaging/deb/debian.compat b/packaging/deb/debian.compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/packaging/deb/debian.compat
@@ -0,0 +1 @@
+9
diff --git a/packaging/deb/debian.control b/packaging/deb/debian.control
new file mode 100644
index 0000000..0bac4c7
--- /dev/null
+++ b/packaging/deb/debian.control
@@ -0,0 +1,14 @@
+Priority: optional
+Maintainer: Romain Forlot <romain.forlot@iot.bzh>
+Source: agl-cmake-apps-module
+Build-Depends:
+ debhelper (>= 5),
+ cmake,
+Standards-Version: 3.8.2
+Homepage: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module
+
+Package: agl-cmake-apps-module-bin
+Section: devel
+Architecture: any
+Description: agl-cmake-apps-module is a CMake module made to ease application
+ framework binding.
diff --git a/packaging/deb/debian.rules b/packaging/deb/debian.rules
new file mode 100644
index 0000000..9a535f2
--- /dev/null
+++ b/packaging/deb/debian.rules
@@ -0,0 +1,9 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Uncomment this to turn on verbose mode.
+
+%:
+ dh $@
+
+override_dh_auto_install:
+ dh_auto_install --destdir=/usr/src/packages/BUILD/debian/tmp
diff --git a/packaging/rpm/agl-cmake-apps-module.spec b/packaging/rpm/agl-cmake-apps-module.spec
new file mode 100644
index 0000000..950514c
--- /dev/null
+++ b/packaging/rpm/agl-cmake-apps-module.spec
@@ -0,0 +1,49 @@
+#
+# spec file for package cmake-apps-module
+#
+
+%define __cmake cmake
+
+%if 0%{?fedora_version}
+%global debug_package %{nil}
+%endif
+
+Name: agl-cmake-apps-module
+# WARNING {name} is not used for tar file name in source nor for setup
+# Check hard coded values required to match git directory naming
+BuildArchitectures: noarch
+Version: 6.90
+Release: 0
+License: Apache-2.0
+Summary: AGL cmake-apps-module
+Group: Development/Libraries/C and C++
+Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module
+Source: cmake-apps-module-%{version}.tar.gz
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+This is a CMake module made to ease development of binding and application
+framework binder apps.
+
+%prep
+%setup -q -n cmake-apps-module-%{version}
+
+%build
+[ ! -d build ] && mkdir build
+cd build
+cmake ..
+
+%install
+[ -d build ] && cd build
+%make_install
+
+%files
+%defattr(-,root,root)
+%dir %{_datadir}/cmake/Modules/
+%{_datadir}/cmake/Modules/*
+
+%changelog
+* Thu Nov 5 2018 Romain
+- initial creation