resetting manifest requested domain to floor
[platform/upstream/libthai.git] / packaging / libthai.spec
1 Name:           libthai
2 Version:        0.1.18
3 Release:        0
4 License:        LGPL-2.1+
5 Summary:        Thai Language Support Routines
6 Url:            http://linux.thai.net/plone/TLWG/libthai/
7 Group:          System/Libraries
8 Source:         %{name}-%{version}.tar.gz
9 Source99:       baselibs.conf
10 Source1001:     libthai.manifest
11 BuildRequires:  pkgconfig(datrie-0.2)
12 BuildRequires:  pkg-config
13 Requires:       libthai-data >= %{version}
14
15 %description
16 LibThai is a set of Thai language support routines aimed to ease
17 developers' tasks to incorporate Thai language support in their
18 applications. It includes important Thai-specific functions, such as
19 word breaking, input and output methods, and basic character and string
20 support.
21
22 %package data
23 Summary:        Thai Language Support Routines - Data files
24 Group:          System/Libraries
25
26 %description data
27 LibThai is a set of Thai language support routines aimed to ease
28 developers' tasks to incorporate Thai language support in their
29 applications. It includes important Thai-specific functions, such as
30 word breaking, input and output methods, and basic character and string
31 support.
32
33 This package contains the data files for libthai.
34
35 %package devel
36 Summary:        Thai Language Support Routines (development files)
37 Group:          Development/Languages/C and C++
38 Requires:       libthai = %{version}
39
40 %description devel
41 LibThai is a set of Thai language support routines aimed to ease
42 developers' tasks to incorporate Thai language support in their
43 applications. It includes important Thai-specific functions, such as
44 word breaking, input and output methods, and basic character and string
45 support.
46
47 This package contains headers and libraries required for developing
48 software using libthai.
49
50 %prep
51 %setup -q
52 cp %{SOURCE1001} .
53
54 %build
55 %configure --disable-static --with-pic
56 make %{?_smp_mflags}
57
58 %install
59 %make_install
60
61
62 %post  -p /sbin/ldconfig
63
64 %postun  -p /sbin/ldconfig
65
66 %files
67 %manifest %{name}.manifest
68 %license COPYING
69 %defattr(-,root,root)
70 %{_libdir}/libthai.so.*
71
72 %files data
73 %manifest %{name}.manifest
74 %defattr(-, root, root)
75 %{_datadir}/libthai/
76
77 %files devel
78 %manifest %{name}.manifest
79 %defattr(-,root,root)
80 %{_includedir}/thai/
81 %{_libdir}/libthai.so
82 %{_libdir}/pkgconfig/*.pc
83
84 %changelog