summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJehun Lim <jehun.lim@samsung.com>2015-06-08 12:55:46 (GMT)
committerJehun Lim <jehun.lim@samsung.com>2015-06-10 12:23:39 (GMT)
commit8c86faef56056db0b76672496f2b95b7768b9995 (patch)
tree3322a5c2c62b0a2efd79451f9475ca57dee88bdf /packaging
parent873e28275f8e905aa973bb526b4deb44dda6d243 (diff)
downloadair_mediahub-8c86faef56056db0b76672496f2b95b7768b9995.zip
air_mediahub-8c86faef56056db0b76672496f2b95b7768b9995.tar.gz
air_mediahub-8c86faef56056db0b76672496f2b95b7768b9995.tar.bz2
Change-Id: I96bb0e2cb8aeca228b791834df2fd45486b7914d Signed-off-by: Jehun Lim <jehun.lim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/org.tizen.mediahub.manifest5
-rw-r--r--packaging/org.tizen.mediahub.spec50
2 files changed, 55 insertions, 0 deletions
diff --git a/packaging/org.tizen.mediahub.manifest b/packaging/org.tizen.mediahub.manifest
new file mode 100644
index 0000000..97e8c31
--- /dev/null
+++ b/packaging/org.tizen.mediahub.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/org.tizen.mediahub.spec b/packaging/org.tizen.mediahub.spec
new file mode 100644
index 0000000..d5a7724
--- /dev/null
+++ b/packaging/org.tizen.mediahub.spec
@@ -0,0 +1,50 @@
+Name: org.tizen.mediahub
+Summary: Media Hub application
+Version: 0.1
+Release: 1
+Group: Applications/Core Applications
+License: Apache-2.0
+Source0: %{name}-%{version}.tar.gz
+Source1: %{name}.manifest
+
+BuildRequires: cmake
+BuildRequires: pkgconfig(elementary)
+BuildRequires: pkgconfig(capi-appfw-application)
+BuildRequires: pkgconfig(app-utils)
+
+%define _appdir /usr/apps/%{name}
+%define _bindir %{_appdir}/bin
+%define _resdir %{_appdir}/res
+%define _localedir %{_resdir}/locale
+%define _pkgdir %{_datadir}/packages
+
+%description
+Media Hub Application
+
+%prep
+%setup -q
+cp %{SOURCE1} .
+
+cmake \
+ -DCMAKE_INSTALL_PREFIX=%{_appdir} \
+ -DPACKAGE_NAME=%{name} \
+ -DBINDIR=%{_bindir} \
+ -DLOCALEDIR=%{_localedir} \
+ -DPACKAGEDIR=%{_pkgdir} \
+ -DVERSION=%{version}
+
+make %{?jobs:-j%jobs}
+
+%install
+%make_install
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_resdir}/*
+%{_pkgdir}/%{name}.xml
+%defattr(-,app,app,-)