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