Imported Upstream version 1.0.10
[platform/upstream/fribidi.git] / packaging / fribidi.spec
1 Name:           fribidi
2 Version:        1.0.10
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.xz
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 %reconfigure --disable-static \
42       --disable-docs
43 %__make %{?_smp_mflags}
44
45 %check
46 %__make check
47
48 %install
49 %make_install
50
51 %post -p /sbin/ldconfig
52
53 %postun -p /sbin/ldconfig
54
55 %files
56 %manifest %{name}.manifest
57 %defattr(-,root,root)
58 %{_bindir}/fribidi
59 %{_libdir}/libfribidi.so.*
60 %license COPYING
61 %exclude %{_datadir}/man/*
62
63 %files devel
64 %manifest %{name}.manifest
65 %defattr(-, root, root)
66 %dir %{_includedir}/fribidi
67 %{_includedir}/fribidi/*
68 %{_libdir}/libfribidi.so
69 %{_libdir}/pkgconfig/fribidi.pc
70
71 %changelog