From 6b2b09db8ee3cf88b09b59696d50b4fa2de79a72 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Thu, 11 Apr 2019 13:09:56 +0200 Subject: Reordering of sample and tutorial bindings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The main idea here is to install the sample and tutorial bindings in specific directory. This will at the end help to package parts of the binder. It also includes a simplification of CMakeLists files. Also fix an error in packaging rpm. Bug-AGL: SPEC-2165 Change-Id: I494cc753796848cde849de1c3596893c78fa228f Signed-off-by: José Bollo --- conf.d/packaging/rpm/agl-app-framework-binder.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'conf.d/packaging/rpm/agl-app-framework-binder.spec') diff --git a/conf.d/packaging/rpm/agl-app-framework-binder.spec b/conf.d/packaging/rpm/agl-app-framework-binder.spec index 4f701469..7102e863 100644 --- a/conf.d/packaging/rpm/agl-app-framework-binder.spec +++ b/conf.d/packaging/rpm/agl-app-framework-binder.spec @@ -51,13 +51,19 @@ Summary: AGL app-framework-binder-devel Provides a test agl binder service which can be used to test agl bindings on Linux PC This service is evolving permanently and is only designed as a helper for developper. +%package samples +Requires: %{name} = %{version} +Summary: AGL app-framework-binder-samples +%description samples +Provides sample bindings for testing AGL framework binder + %prep %setup -q -n app-framework-binder-%{version} %build export PKG_CONFIG_PATH=%{_libdir}/pkgconfig -%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON" +%cmake -DAGL_DEVEL=1 -DINCLUDE_MONITORING=ON %__make %{?_smp_mflags} @@ -112,6 +118,12 @@ EOF %dir %{_libdir}/pkgconfig %{_libdir}/pkgconfig/*.pc +%files samples +%defattr(-,root,root) +%dir %{_datadir} +%dir %{_datadir}/af-binder +%{_datadir}/af-binder/* + %changelog * Wed Sep 27 2017 Dominig - move to git repo -- cgit 1.2.3-korg