-Name: org.tizen.browser
+%define alias org.tizen.browser
+
+Name: org.tizen.browser-profile_mobile
Summary: Tizen TV Open Browser
Version: 2.0.0
Release: 0
+Provides: org.tizen.browser = %{version}-%{release}
+Conflicts: org.tizen.browser-profile_common
+Conflicts: org.tizen.browser-profile_tv
License: Apache-2.0
Group: Applications/Web
Source0: %{name}-%{version}.tar.gz
BuildRequires: pkgconfig(capi-media-image-util)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libtzplatform-config)
-%if "%{?profile}" == "mobile"
BuildRequires: pkgconfig(capi-system-device)
BuildRequires: pkgconfig(capi-system-system-settings)
BuildRequires: pkgconfig(libsoup-2.4)
-%endif
BuildRequires: browser-provider-devel
BuildRequires: pkgconfig(efl-extension)
BuildRequires: boost-filesystem
BuildRequires: boost-system
-%if "%{?profile}" == "mobile"
BuildRequires: pkgconfig(notification)
BuildRequires: pkgconfig(appsvc)
BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: pkgconfig(capi-content-media-content)
BuildRequires: pkgconfig(shortcut)
-%endif
%define BUILD_UT %{?build_ut:ON}%{!?build_ut:OFF}
%if %BUILD_UT == "ON"
BuildRequires: pkgconfig(libtzplatform-config)
-%define _appdir %{TZ_SYS_RO_APP}/%{name}
+%define _appdir %{TZ_SYS_RO_APP}/%{alias}
%define _bindir %{_appdir}/bin
%define COVERAGE_STATS %{?coverage_stats:ON}%{!?coverage_stats:OFF}
cmake .. \
-DCMAKE_BUILD_TYPE=%{?build_type}%{!?build_type:RELEASE} \
-DCMAKE_INSTALL_PREFIX=%{_appdir} \
- -DPACKAGE_NAME=%{name} \
+ -DPACKAGE_NAME=%{alias} \
-DBINDIR=%{_bindir} \
-DVERSION=%{version} \
-DMANIFESTDIR=%{_manifestdir} \
-DICONDIR=%{_icondir} \
-DBUILD_UT=%{BUILD_UT} \
-DCOVERAGE_STATS=%{COVERAGE_STATS} \
- -DPROFILE=%{profile} \
+ -DPROFILE=mobile \
-DTZ_SYS_RO_PACKAGES=%{TZ_SYS_RO_PACKAGES} \
-DTZ_SYS_RO_ICONS=%{TZ_SYS_RO_ICONS} \
%if "%{?_with_wayland}" == "1"
%files
%manifest org.tizen.browser.manifest
%{_icondir}/org.tizen.browser.png
-%{_manifestdir}/%{name}.xml
+%{_manifestdir}/%{alias}.xml
%defattr(-,root,root,-)
%{_appdir}/bin/browser
%{_appdir}/res/edje/*/*.edj