Tizen 2.1 base
[platform/core/uifw/stt.git] / packaging / stt.spec
1 Name:       stt
2 Summary:    Speech To Text client library and daemon
3 Version:    0.1.1
4 Release:    1
5 Group:      libs
6 License:    Samsung
7 Source0:    stt-0.1.1.tar.gz
8 Requires(post): /sbin/ldconfig
9 Requires(postun): /sbin/ldconfig
10 BuildRequires:  pkgconfig(glib-2.0)
11 BuildRequires:  pkgconfig(dbus-1)
12 BuildRequires:  pkgconfig(ecore)
13 BuildRequires:  pkgconfig(ecore-file)
14 BuildRequires:  pkgconfig(mm-player)
15 BuildRequires:  pkgconfig(mm-common)
16 BuildRequires:  pkgconfig(mm-sound)
17 BuildRequires:  pkgconfig(mm-camcorder)
18 BuildRequires:  pkgconfig(dlog)
19 BuildRequires:  pkgconfig(vconf)
20
21 BuildRequires:  cmake
22
23 %description
24 Speech To Text client library and daemon.
25
26
27 %package devel
28 Summary:    Speech To Text header files for STT development
29 Group:      libdevel
30 Requires:   %{name} = %{version}-%{release}
31
32 %description devel
33 Speech To Text header files for STT development.
34
35
36 %prep
37 %setup -q -n %{name}-%{version}
38
39
40 %build
41 cmake . -DCMAKE_INSTALL_PREFIX=/usr
42 make %{?jobs:-j%jobs}
43
44 %install
45 rm -rf %{buildroot}
46 mkdir -p %{buildroot}/usr/share/license
47 %make_install
48
49 %post -p /sbin/ldconfig
50
51 %postun -p /sbin/ldconfig
52
53 %files
54 %manifest stt-server.manifest
55 %defattr(-,root,root,-)
56 %{_libdir}/libstt.so
57 %{_libdir}/libstt_setting.so
58 %{_libdir}/voice/stt/1.0/sttd.conf
59 %{_bindir}/stt-daemon
60 /usr/share/license/*
61
62 %files devel
63 %defattr(-,root,root,-)
64 %{_libdir}/pkgconfig/stt.pc
65 %{_libdir}/pkgconfig/stt-setting.pc
66 %{_includedir}/stt.h
67 %{_includedir}/stt_setting.h
68 %{_includedir}/sttp.h