X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=conf.d%2Fpackaging%2Frpm%2Fagl-app-framework-binder.spec;fp=conf.d%2Fpackaging%2Fagl-app-framework-binder.spec;h=c35cffbbe2d963ec3c1a87ee1af0c21adb4da8bc;hb=b61a20c6244f2009719b6b3df8292a8196323215;hp=9f3a2509902ddf82d5a43b98d6c78f5f2162b947;hpb=5647364dea5f7cc47d027b708b8f1ee3f5c3c987;p=src%2Fapp-framework-binder.git diff --git a/conf.d/packaging/agl-app-framework-binder.spec b/conf.d/packaging/rpm/agl-app-framework-binder.spec similarity index 65% rename from conf.d/packaging/agl-app-framework-binder.spec rename to conf.d/packaging/rpm/agl-app-framework-binder.spec index 9f3a2509..c35cffbb 100644 --- a/conf.d/packaging/agl-app-framework-binder.spec +++ b/conf.d/packaging/rpm/agl-app-framework-binder.spec @@ -6,14 +6,16 @@ %define __cmake cmake Name: agl-app-framework-binder +# WARNING {name} is not used for tar file name in source nor for setup +# Check hard coded values required to match git directory naming Version: 2.0 Release: 0 -License: GPL-2.0 -Summary: app-framework-binder +License: Apache-2.0 +Summary: AGL app-framework-binder Group: Development/Libraries/C and C++ Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder -Source: %{name}_%{version}.orig.tar.gz -#BuildRequires: gdb +Source: app-framework-binder-%{version}.tar.gz +#BuildRequires: gdb BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.55 BuildRequires: make BuildRequires: cmake @@ -24,23 +26,26 @@ BuildRequires: libgcrypt-devel BuildRequires: pkgconfig(gnutls) BuildRequires: pkgconfig(json-c) BuildRequires: file-devel +BuildRequires: gcc-c++ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -app-framework-binder +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 devel -Summary: app-framework-binder-devel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} Provides: pkgconfig(%{name}) = %{version} - +Summary: AGL app-framework-binder-devel %description devel -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. + %prep -%setup -q +%setup -q -n app-framework-binder-%{version} %build export PKG_CONFIG_PATH=%{_libdir}/pkgconfig @@ -53,8 +58,8 @@ export PKG_CONFIG_PATH=%{_libdir}/pkgconfig %make_install mkdir -p %{buildroot}%{_sysconfdir}/profile.d -cat << EOF > %{buildroot}%{_sysconfdir}/profile.d/AGL_%{name}.sh -#---------- AGL %{name} options Start ---------" +cat << EOF > %{buildroot}%{_sysconfdir}/profile.d/AGL-%{name}.sh +#---------- AGL %%{name} options Start ---------" # Object: AGL cmake option for binder/bindings export LD_LIBRARY_PATH=%{_libdir}:\${LD_LIBRARY_PATH} export LIBRARY_PATH=%{_libdir}:\${LIBRARY_PATH} @@ -81,15 +86,15 @@ EOF %{_libdir}/afb/afb-dbus-binding.so %{_libdir}/afb/authLogin.so %{_libdir}/libafbwsc.so.1 -%{_libdir}/libafbwsc.so.1.0 +%{_libdir}/libafbwsc.so.1.1 #app-framework-binder demo %{_libdir}/afb/demoContext.so %{_libdir}/afb/demoPost.so %{_libdir}/afb/helloWorld.so %{_libdir}/afb/tic-tac-toe.so -%{_libdir}/afb/monitoring/* -%{_sysconfdir}/profile.d/AGL_%{name}.sh +%{_libdir}/afb/ave.so +%config(noreplace) %{_sysconfdir}/profile.d/AGL-%{name}.sh #app-framework-binder monitoring %dir %{_libdir}/afb/monitoring @@ -102,5 +107,13 @@ EOF %dir %{_includedir} %dir %{_includedir}/afb %{_includedir}/afb/*.h +%{_includedir}/afb/*.hpp +%{_includedir}/afb/afb-binding %dir %{_libdir}/pkgconfig %{_libdir}/pkgconfig/*.pc + +%changelog +* Wed Sep 27 2017 Dominig +- move to git repo +* Tue Aug 01 2017 Ronan +- initial creation