2 Summary: Launchpad plugin for dotnet apps
5 Group: Application Framework/Application State Management
6 License: Apache License, Version 2.0
7 Source0: %{name}-%{version}.tar.gz
10 BuildRequires: pkgconfig(aul)
11 BuildRequires: pkgconfig(bundle)
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(ecore)
14 BuildRequires: pkgconfig(launchpad)
15 BuildRequires: aul-devel
16 BuildRequires: corefx-managed-32b-ref
17 BuildRequires: mono-compiler
18 BuildRequires: mono-devel
19 BuildRequires: csapi-tizen
22 Requires(post): /sbin/ldconfig
23 Requires(post): /usr/bin/systemctl
24 Requires(postun): /sbin/ldconfig
25 Requires(postun): /usr/bin/systemctl
26 Requires(preun): /usr/bin/systemctl
28 %define _loaderdir %{_prefix}/share/aul
29 %define _configdir /etc
32 Launchpad plugin for launching dotnet apps
38 %if 0%{?tizen_build_devel_mode}
39 %define _buildmode Debug
41 %define _buildmode Release
44 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
45 -DPACKAGE_NAME=%{name} \
48 -DLOADERDIR=%{_loaderdir} \
49 -DCONFIGDIR=%{_configdir} \
50 -DCMAKE_BUILD_TYPE=%{_buildmode} \
51 -DVERSION=%{version} \
56 xbuild /p:Configuration=%{_buildmode} Tizen.Runtime/Tizen.Runtime.csproj
61 install -p -m 644 Tizen.Runtime/bin/Tizen.Runtime.exe %{buildroot}%{_bindir}
64 %manifest dotnet-launcher.manifest
65 %config /etc/dotnet-launcher.ini
66 %{_loaderdir}/dotnet.loader
67 %caps(cap_mac_admin,cap_setgid=ei) %{_bindir}/dotnet-launcher
68 %caps(cap_mac_admin,cap_setgid=ei) %{_libdir}/libdnclauncher.so
69 %caps(cap_mac_admin,cap_setgid=ei) %{_bindir}/Tizen.Runtime.exe