update to 0.19.7
[platform/upstream/fribidi.git] / packaging / fribidi.spec
1 Name:           fribidi
2 Version:        0.19.7
3 Release:        1
4 Summary:        Free Implementation of BiDi Algorithm
5 License:        LGPL-2.1
6 Group:          System/Libraries
7 Url:            http://fribidi.org/
8 AutoReqProv:    on
9 Provides:       locale(ar;he)
10 Source:         fribidi-%{version}.tar.bz2
11 Source2:        baselibs.conf
12 Source1001:     fribidi.manifest
13 BuildRequires:  pkg-config
14
15 %description
16 This library implements the algorithm as described in the "Unicode
17 Standard Annex #9, the Bidirectional Algorithm,
18 http://www.unicode.org/unicode/reports/tr9/". FriBidi is exhaustively
19 tested against the Bidi Reference Code and, to the best of the
20 developers' knowledge, does notcontain any conformance bugs.
21
22 The API was inspired by the document "Bi-Di languages support - BiDi
23 API proposal" by Franck Portaneri, which he wrote as a proposal for
24 adding BiDi support to Mozilla.
25
26 %package devel
27 License:        LGPL-2.1
28 Summary:        Development Files for FriBiDi
29 Group:          Development/Libraries/C and C++
30 Requires:       %{name} = %{version}
31 Requires:       pkg-config
32
33 %description devel
34 This package provides headers and manual files for FriBiDi.
35
36 %prep
37 %setup -q
38 cp %{SOURCE1001} .
39
40 %build
41 %configure --disable-static
42 %__make %{?_smp_mflags}
43
44 %check
45 %__make check
46
47 %install
48 %make_install
49
50 %post -p /sbin/ldconfig
51
52 %postun -p /sbin/ldconfig
53
54 %files
55 %manifest %{name}.manifest
56 %defattr(-,root,root)
57 %{_bindir}/fribidi
58 %{_libdir}/libfribidi.so.*
59 %license COPYING
60
61 %files devel
62 %manifest %{name}.manifest
63 %defattr(-, root, root)
64 %dir %{_includedir}/fribidi
65 %{_includedir}/fribidi/*
66 %{_libdir}/libfribidi.so
67 %{_libdir}/pkgconfig/fribidi.pc
68 %doc %{_mandir}/man3/fribidi_*
69
70 %changelog