]> git.pld-linux.org Git - packages/libthai.git/blob - libthai.spec
- updated to 0.1.9
[packages/libthai.git] / libthai.spec
1 Summary:        LibThai - Thai language support routines
2 Summary(pl.UTF-8):      LibThai - biblioteka wspomagająca obsługę języka tajskiego
3 Name:           libthai
4 Version:        0.1.9
5 Release:        1
6 License:        LGPL v2.1
7 Group:          Libraries
8 Source0:        http://linux.thai.net/pub/thailinux/software/libthai/%{name}-%{version}.tar.gz
9 # Source0-md5:  7002d111b293f202d20b28aa2b4ed68f
10 URL:            http://linux.thai.net/projects/libthai
11 BuildRequires:  libdatrie-devel
12 BuildRequires:  pkgconfig
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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 e.g. word
19 breaking, input and output methods as well as basic character and
20 string supports. LibThai is an Open Source and collaborative effort
21 initiated by Thai Linux Working Group and opened for all contributors.
22
23 %description -l pl.UTF-8
24 LibThai to zbiór funkcji wspomagających obsługę języka tajskiego,
25 mających ułatwić programistom wprowadzanie obsługi języka tajskiego w
26 swoich aplikacjach. Zawiera istotne funkcje specyficzne dla języka
27 tajskiego, takie jak łamanie słów, metody wejścia i wyjścia, a także
28 podstawową obsługę znaków i łańcuchów. LibThai ma otwarte źródła i
29 jest wspólną pracą zapoczątkowaną przez Thai Linux Working Group,
30 otwartą na każdą współpracę.
31
32 %package devel
33 Summary:        Header files for LibThai library
34 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki LibThai
35 Group:          Development/Libraries
36 Requires:       %{name} = %{version}-%{release}
37 Requires:       libdatrie-devel
38
39 %description devel
40 Header files for LibThai library.
41
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe biblioteki LibThai.
44
45 %package static
46 Summary:        Static LibThai library
47 Summary(pl.UTF-8):      Statyczna biblioteka LibThai
48 Group:          Development/Libraries
49 Requires:       %{name}-devel = %{version}-%{release}
50
51 %description static
52 Static LibThai library.
53
54 %description static -l pl.UTF-8
55 Statyczna biblioteka LibThai.
56
57 %prep
58 %setup -q
59
60 %build
61 %configure
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %files
77 %defattr(644,root,root,755)
78 %doc AUTHORS ChangeLog NEWS README TODO
79 %attr(755,root,root) %{_libdir}/libthai.so.*.*.*
80 %{_datadir}/libthai
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libthai.so
85 %{_libdir}/libthai.la
86 %{_includedir}/thai
87 %{_pkgconfigdir}/libthai.pc
88 %{_mandir}/man3/*.3*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/libthai.a
This page took 0.066472 seconds and 3 git commands to generate.