Name: aul
Summary: App utility library
-Version: 0.39.3
+Version: 0.42.1
Release: 1
Group: Application Framework/Libraries
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: %{name}.manifest
Source1002: %{name}-server.manifest
+Source1003: %{name}-exec-checker-plugin.manifest
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/systemctl
BuildRequires: pkgconfig(libsmack)
BuildRequires: pkgconfig(gmock)
BuildRequires: pkgconfig(parcel)
-BuildRequires: pkgconfig(libelf)
%if 0%{?gcov:1}
BuildRequires: lcov
%description devel
Application utility library (devel)
+%package exec-checker-plugin
+Summary: App binary executable cheker
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description exec-checker-plugin
+Application utility library (exec checker)
+
%package test
Summary: App utility test tools
Group: Development/Libraries
sed -i 's|TZ_SYS_DB|%{TZ_SYS_DB}|g' %{SOURCE1001}
cp %{SOURCE1001} .
cp %{SOURCE1002} .
+cp %{SOURCE1003} .
%build
%if 0%{?gcov:1}
%{_datadir}/aul/miregex/*
%{_datadir}/aul/preexec_list.txt
%{_datadir}/appsvc/*
-%{_datadir}/parser-plugins/*
+%{_datadir}/parser-plugins/component.info
+%{_datadir}/parser-plugins/alias-appid.info
+%{_datadir}/parser-plugins/allowed-appid.info
%{TZ_SYS_DB}/.appsvc.db*
%{TZ_SYS_DB}/.component.db*
%{_sysconfdir}/package-manager/parserlib/metadata/*.so
%{_sysconfdir}/package-manager/parserlib/libcomponent-based-application.so
-%{_sysconfdir}/package-manager/parserlib/libexec-checker.so*
%attr(0755,root,root) %{_sysconfdir}/gumd/useradd.d/*
%attr(0755,root,root) %{_datadir}/upgrade/scripts/501.component_upgrade.sh
+%files exec-checker-plugin
+%manifest %{name}-exec-checker-plugin.manifest
+%{_datadir}/parser-plugins/exec-checker.info
+%{_sysconfdir}/package-manager/parserlib/libexec-checker.so*
+
%files test
%{_bindir}/app-control-tests
%{_bindir}/aul-unit-tests