f8e5b2f7e83b4be72bee8b342a92c24582bc4b58
[profile/ivi/saythis.git] / packaging / saythis.spec
1 Name:       saythis
2 Summary:    A HTML5 speech to text app
3 Version:    0.0.1
4 Release:    1
5 Group:      Applications/System
6 License:    Apache 2.0
7 URL:        http://www.tizen.org2
8 Source0:    %{name}-%{version}.tar.bz2
9 Requires:   remotecontrol
10 Requires:   webskeleton
11 BuildRequires:  desktop-file-utils
12
13 %description
14 A HTML5 speech to text app
15
16 %prep
17 %setup -q -n %{name}-%{version}
18
19 %build
20
21 make %{?jobs:-j%jobs}
22
23 %install
24 rm -rf %{buildroot}
25 %make_install
26
27 desktop-file-install --delete-original       \
28   --dir %{buildroot}%{_datadir}/applications             \
29    %{buildroot}%{_datadir}/applications/*.desktop
30
31 %files
32 %defattr(-,root,root,-)
33 %{_datadir}/saythis
34 %{_datadir}/applications/saythis.desktop
35 %{_datadir}/pixmaps/saythis.png