diff options
Diffstat (limited to 'packaging/org.tizen.mediahub.spec')
-rw-r--r-- | packaging/org.tizen.mediahub.spec | 50 |
1 files changed, 50 insertions, 0 deletions
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,-) |