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/rpm | |
parent | dcdff18c4f09406ca1ec522fbde3f6f7342d8423 (diff) |
Adding packaging files
Change-Id: I70d30588c59e6a0d3c451c74fc6cc565b5eea167
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'packaging/rpm')
-rw-r--r-- | packaging/rpm/agl-cmake-apps-module.spec | 49 |
1 files changed, 49 insertions, 0 deletions
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 |