Remove unnecessary files
[framework/api/radio.git] / packaging / capi-media-radio.spec
1 #sbs-git:slp/api/radio capi-media-radio 0.1.0 59dddd8ea3de373c44c66ce2a298ca81240305a8
2 Name:       capi-media-radio
3 Summary:    A Radio library in Tizen Native API
4 Version: 0.1.0
5 Release:    9
6 Group:      TO_BE_FILLED
7 License:    TO_BE_FILLED
8 Source0:    %{name}-%{version}.tar.gz
9 BuildRequires:  pkgconfig(dbus-glib-1)
10 BuildRequires:  pkgconfig(dlog)
11 BuildRequires:  pkgconfig(vconf)
12 BuildRequires:  pkgconfig(mm-radio)
13 BuildRequires:  pkgconfig(capi-base-common)
14 BuildRequires:  cmake
15 BuildRequires:  gettext-devel
16
17 %description
18 A Radio library in Tizen Native API
19
20
21 %package devel 
22 Summary:    A Radio library in Tizen Native API (Developement)
23 Group:      TO_BE_FILLED 
24 Requires:   %{name} = %{version}-%{release}
25
26 %description devel
27 A Radio library in Tizen Native API (Developement)
28
29 %prep
30 %setup -q
31
32 %build
33 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
34 cmake . -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
35
36
37 make %{?jobs:-j%jobs}
38
39 %install
40 rm -rf %{buildroot}
41 %make_install
42
43 %post
44
45 %postun
46
47
48 %files
49 %defattr(-,root,root,-)
50 /usr/lib/libcapi-media-radio.so.*
51
52 %files devel 
53 %defattr(-,root,root,-)
54 /usr/include/media/radio.h
55 /usr/lib/pkgconfig/capi-media-radio.pc
56 /usr/lib/libcapi-media-radio.so