summaryrefslogtreecommitdiff
path: root/packaging/d2d-conv-setting.spec
diff options
context:
space:
mode:
authorsegwon <segwon.han@samsung.com>2016-08-31 23:31:57 +0900
committerJihoon Park <jpark0@samsung.com>2016-09-01 09:23:07 +0900
commit5a37487acf61d1c2401b0d8c94972c458b13fe7f (patch)
treeb94ae8058a3a77d3ace76b4e3aac04d74a168e91 /packaging/d2d-conv-setting.spec
parent421eb8ca2da9414d583fff78687759d817102406 (diff)
downloadd2d-conv-setting-5a37487acf61d1c2401b0d8c94972c458b13fe7f.tar.gz
d2d-conv-setting-5a37487acf61d1c2401b0d8c94972c458b13fe7f.tar.bz2
d2d-conv-setting-5a37487acf61d1c2401b0d8c94972c458b13fe7f.zip
Create the D2D convergence setting application.
Signed-off-by: segwon <segwon.han@samsung.com> Change-Id: I0b6b2de2326779b5a045ec02588fb60ef876e35b
Diffstat (limited to 'packaging/d2d-conv-setting.spec')
-rw-r--r--packaging/d2d-conv-setting.spec55
1 files changed, 55 insertions, 0 deletions
diff --git a/packaging/d2d-conv-setting.spec b/packaging/d2d-conv-setting.spec
new file mode 100644
index 0000000..fc07f77
--- /dev/null
+++ b/packaging/d2d-conv-setting.spec
@@ -0,0 +1,55 @@
+Name: org.tizen.d2d-conv-setting
+Version: 1.0
+Release: 1
+Summary: Tizen D2D Convergence Setting Application
+Source: %{name}-%{version}.tar.gz
+License: Apache-2.0
+Group: tizen/Application
+BuildRequires: pkgconfig(dlog)
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(efl-extension)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(capi-system-system-settings)
+BuildRequires: pkgconfig(capi-appfw-app-manager)
+BuildRequires: pkgconfig(d2d-conv-manager)
+BuildRequires: app-core-efl-devel
+BuildRequires: efl-extension-devel
+BuildRequires: cmake
+BuildRequires: gettext-tools
+
+%description
+Tizen D2D Convergence Setting Application
+
+%prep
+%setup -q
+
+%define _pkg_dir %{TZ_SYS_RO_APP}/%{name}
+
+%build
+rm -rf CMakeFiles CMakeCache.txt && cmake . -DCMAKE_INSTALL_PREFIX=%{_pkg_dir} -DPKG_MANIFEST_PATH=%{TZ_SYS_RO_PACKAGES} -DPKG_VERSION=%{version}
+make %{?jobs:-j%jobs}
+
+%post
+echo -e '\033[1m\033[36m ===== Import to package DB using tpk-backend ===== \033[0m'
+echo 'tpk-backend -y %{name} --preload'
+tpk-backend -y %{name} --preload
+echo -e '\033[1m\033[36m ===== done ===== \033[0m'
+
+%install
+%make_install
+
+mkdir -p %{buildroot}/%{_datadir}/packages/
+cp %{_builddir}/%{buildsubdir}/org.tizen.d2d-conv-setting.xml %{buildroot}/%{_datadir}/packages/org.tizen.d2d-conv-setting.xml
+
+mkdir -p %{buildroot}/%{_datadir}/license
+cp %{_builddir}/%{buildsubdir}/LICENSE %{buildroot}/%{_datadir}/license/%{name}
+
+%files
+%defattr(-,root,root,-)
+%{_pkg_dir}/bin/*
+%{_pkg_dir}/res/*
+%{_pkg_dir}/shared/*
+%{_pkg_dir}/res/locale/*/LC_MESSAGES/*
+%{TZ_SYS_RO_PACKAGES}/%{name}.xml
+%{_datadir}/license/%{name}
+%manifest %{name}.manifest