packaging: update version to 1.0.3
[platform/core/uifw/libtdm.git] / packaging / libtdm.spec
1 Name:           libtdm
2 Version:        1.0.3
3 Release:        0
4 Summary:        User Library of Tizen Display Manager
5 Group:          Development/Libraries
6 License:        MIT
7 Source0:        %{name}-%{version}.tar.gz
8 Source1001:         %{name}.manifest
9 BuildRequires:  pkgconfig(pthread-stubs)
10 BuildRequires:  pkgconfig(libtbm)
11 BuildRequires:  pkgconfig(libpng)
12
13 %description
14 Common user library of Tizen Display Manager : libtdm front-end library
15
16 %package devel
17 Summary:        Devel of Tizen Display Manager Library
18 Group:          Development/Libraries
19 Requires:       libtdm = %{version}
20 Requires:       pkgconfig(libtbm)
21
22 %description devel
23 This supports frontend & backend library header and so
24
25 %prep
26 %setup -q
27 cp %{SOURCE1001} .
28
29 %build
30 %reconfigure --disable-static \
31              CFLAGS="${CFLAGS} -Wall -Werror" \
32              LDFLAGS="${LDFLAGS} -Wl,--hash-style=both -Wl,--as-needed"
33 make %{?_smp_mflags}
34
35 %install
36 %make_install
37
38 %post -p /sbin/ldconfig
39 %postun -p /sbin/ldconfig
40
41
42 %files
43 %manifest %{name}.manifest
44 %license COPYING
45 %defattr(-,root,root,-)
46 %{_libdir}/libtdm.so.*
47
48 %files devel
49 %manifest %{name}.manifest
50 %defattr(-,root,root,-)
51 %{_includedir}/*
52 %{_libdir}/pkgconfig/*
53 %{_libdir}/libtdm.so
54
55 %changelog