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
11 BuildRequires: pkgconfig(aul)
12 BuildRequires: pkgconfig(bundle)
13 BuildRequires: pkgconfig(dlog)
14 BuildRequires: pkgconfig(ecore)
15 BuildRequires: pkgconfig(launchpad)
16 BuildRequires: aul-devel
17 BuildRequires: corefx-managed-32b-ref
18 BuildRequires: mono-compiler
19 BuildRequires: mono-devel
20 BuildRequires: csapi-tizen
23 Requires(post): /sbin/ldconfig
24 Requires(post): /usr/bin/systemctl
25 Requires(postun): /sbin/ldconfig
26 Requires(postun): /usr/bin/systemctl
27 Requires(preun): /usr/bin/systemctl
29 %define _loaderdir %{_prefix}/share/aul
30 %define _configdir /etc
33 Launchpad plugin for launching dotnet apps
39 %if 0%{?tizen_build_devel_mode}
40 %define _buildmode Debug
42 %define _buildmode Release
45 -DCMAKE_INSTALL_PREFIX=%{_prefix} \
46 -DPACKAGE_NAME=%{name} \
49 -DLOADERDIR=%{_loaderdir} \
50 -DCONFIGDIR=%{_configdir} \
51 -DCMAKE_BUILD_TYPE=%{_buildmode} \
52 -DVERSION=%{version} \
57 xbuild /p:Configuration=%{_buildmode} Tizen.Runtime/Tizen.Runtime.csproj
62 install -p -m 644 Tizen.Runtime/bin/Tizen.Runtime.exe %{buildroot}%{_bindir}
65 %manifest dotnet-launcher.manifest
66 %config /etc/dotnet-launcher.ini
67 %{_loaderdir}/dotnet.loader
68 %caps(cap_mac_admin,cap_setgid=ei) %{_bindir}/dotnet-launcher
69 %caps(cap_mac_admin,cap_setgid=ei) %{_libdir}/libdnclauncher.so
70 %caps(cap_mac_admin,cap_setgid=ei) %{_bindir}/Tizen.Runtime.exe