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