diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-11-05 10:38:16 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-11-06 20:30:35 +0100 |
commit | 5f06de040287a5df88d21367da9e8725d8585ba1 (patch) | |
tree | bba4fb8aa6474b451f4f6f7af327c46ed6e181ae /packaging | |
parent | dcdff18c4f09406ca1ec522fbde3f6f7342d8423 (diff) |
Adding packaging files
Change-Id: I70d30588c59e6a0d3c451c74fc6cc565b5eea167
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/deb/agl-cmake-apps-module.dsc | 14 | ||||
-rw-r--r-- | packaging/deb/debian.agl-cmake-apps-module-bin.install | 1 | ||||
-rw-r--r-- | packaging/deb/debian.changelog | 5 | ||||
-rw-r--r-- | packaging/deb/debian.compat | 1 | ||||
-rw-r--r-- | packaging/deb/debian.control | 14 | ||||
-rw-r--r-- | packaging/deb/debian.rules | 9 | ||||
-rw-r--r-- | packaging/rpm/agl-cmake-apps-module.spec | 49 |
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 |