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} \
47 -DLOADERDIR=%{_loaderdir} \
48 -DCONFIGDIR=%{_configdir} \
49 -DCMAKE_BUILD_TYPE=%{_buildmode} \
50 -DVERSION=%{version} \
55 xbuild /p:Configuration=%{_buildmode} Tizen.Runtime/Tizen.Runtime.csproj
60 install -p -m 644 Tizen.Runtime/bin/Tizen.Runtime.dll %{buildroot}%{_bindir}
63 %manifest dotnet-launcher.manifest
64 %config /etc/dotnet-launcher.ini
65 %{_loaderdir}/dotnet.loader
66 %caps(cap_mac_admin,cap_setgid=ei) %{_bindir}/dotnet-launcher
67 %caps(cap_mac_admin,cap_setgid=ei) %{_bindir}/Tizen.Runtime.dll