License: Apache License, Version 2.0
URL: N/A
Source0: %{name}-%{version}.tar.gz
+Source1001: packaging/wrt-commons.manifest
BuildRequires: cmake
BuildRequires: pkgconfig(ecore)
BuildRequires: pkgconfig(appcore-efl)
%setup -q
%build
+cp %{SOURCE1001} .
export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"
cmake . -DVERSION=%{version} \
-DDPL_LOG="OFF" \
echo "[WRT] wrt-commons postinst done ..."
%files
+%manifest wrt-commons.manifest
%{_libdir}/*.so
%{_libdir}/*.so.*
/usr/share/wrt-engine/*
%attr(775,root,root) %{_bindir}/wrt_commons_create_clean_db.sh
%files devel
+%manifest wrt-commons.manifest
%{_includedir}/dpl-efl/*
%{_libdir}/pkgconfig/*.pc