Name: dotnet-launcher Summary: Launchpad plugin for dotnet apps Version: 0.1.0 Release: 1 Group: Application Framework/Daemons License: Apache License, Version 2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconfig(aul) BuildRequires: pkgconfig(bundle) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(ecore) BuildRequires: pkgconfig(launchpad) BuildRequires: aul-devel Requires: aul Requires(post): /sbin/ldconfig Requires(post): /usr/bin/systemctl Requires(postun): /sbin/ldconfig Requires(postun): /usr/bin/systemctl Requires(preun): /usr/bin/systemctl %define _sys_bin %{TZ_SYS_BIN} %define _sys_sbin %{TZ_SYS_SBIN} %define _sys_share %{TZ_SYS_RO_SHARE} %define _manifestdir %{TZ_SYS_RO_PACKAGES} %define _loaderdir %{TZ_SYS_RO_SHARE}/aul %description Launchpad for dotnet apps %prep %setup -q %build cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DMANIFESTDIR=%{_manifestdir} \ -DPACKAGE_NAME=%{name} \ -DBINDIR=%{_bindir} \ -DLOADERDIR=%{_loaderdir} \ -DVERSION=%{version} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %post %files %manifest dotnet-launchpad.manifest %{_manifestdir}/%{name}.xml %{_loaderdir}/dotnet.loader %attr(0755,root,root) %{_bindir}/dotnet-loader %caps(cap_mac_admin,cap_mac_override,cap_setgid=ei) %{_bindir}/dotnet-loader