Code Review
/
src
/
app-framework-binder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add gitreview file for icefish branch
[src/app-framework-binder.git]
/
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
c35cffb
..
7102e86
100644
(file)
--- a/
conf.d/packaging/rpm/agl-app-framework-binder.spec
+++ b/
conf.d/packaging/rpm/agl-app-framework-binder.spec
@@
-16,7
+16,7
@@
Group: Development/Libraries/C and C++
Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder
Source: app-framework-binder-%{version}.tar.gz
#BuildRequires: gdb
Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/app-framework-binder
Source: app-framework-binder-%{version}.tar.gz
#BuildRequires: gdb
-BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.
55
+BuildRequires: pkgconfig(libmicrohttpd) >= 0.9.
60
BuildRequires: make
BuildRequires: cmake
BuildRequires: pkgconfig(libsystemd) >= 222
BuildRequires: make
BuildRequires: cmake
BuildRequires: pkgconfig(libsystemd) >= 222
@@
-28,6
+28,14
@@
BuildRequires: pkgconfig(json-c)
BuildRequires: file-devel
BuildRequires: gcc-c++
BuildRequires: file-devel
BuildRequires: gcc-c++
+%if 0%{?suse_version}
+Requires: libmicrohttpd12 >= 0.9.60
+%endif
+
+%if 0%{?fedora_version}
+Requires: libmicrohttpd >= 0.9.60
+%endif
+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@
-43,6
+51,12
@@
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.
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}
%prep
%setup -q -n app-framework-binder-%{version}
@@
-58,7
+72,7
@@
export PKG_CONFIG_PATH=%{_libdir}/pkgconfig
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
%make_install
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
-cat << EOF > %{buildroot}%{_sysconfdir}/profile.d/
AGL-
%{name}.sh
+cat << EOF > %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh
#---------- AGL %%{name} options Start ---------"
# Object: AGL cmake option for binder/bindings
export LD_LIBRARY_PATH=%{_libdir}:\${LD_LIBRARY_PATH}
#---------- AGL %%{name} options Start ---------"
# Object: AGL cmake option for binder/bindings
export LD_LIBRARY_PATH=%{_libdir}:\${LD_LIBRARY_PATH}
@@
-83,18
+97,12
@@
EOF
%dir %{_libdir}
%dir %{_libdir}/afb
%dir %{_libdir}
%dir %{_libdir}/afb
-%{_libdir}/afb/afb-dbus-binding.so
-%{_libdir}/afb/authLogin.so
%{_libdir}/libafbwsc.so.1
%{_libdir}/libafbwsc.so.1.1
#app-framework-binder demo
%{_libdir}/libafbwsc.so.1
%{_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/ave.so
-%config(noreplace) %{_sysconfdir}/profile.d/AGL-%{name}.sh
+%{_libdir}/afb/*.so
+%config(noreplace) %{_sysconfdir}/profile.d/%{name}.sh
#app-framework-binder monitoring
%dir %{_libdir}/afb/monitoring
#app-framework-binder monitoring
%dir %{_libdir}/afb/monitoring
@@
-106,12
+114,16
@@
EOF
%{_libdir}/libafbwsc.so
%dir %{_includedir}
%dir %{_includedir}/afb
%{_libdir}/libafbwsc.so
%dir %{_includedir}
%dir %{_includedir}/afb
-%{_includedir}/afb/*.h
-%{_includedir}/afb/*.hpp
-%{_includedir}/afb/afb-binding
+%{_includedir}/afb/*
%dir %{_libdir}/pkgconfig
%{_libdir}/pkgconfig/*.pc
%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
%changelog
* Wed Sep 27 2017 Dominig
- move to git repo