summaryrefslogtreecommitdiff
path: root/packaging/fribidi.spec
blob: 36f8a73d8d539700307fab7479dbc883799ebf62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Name:           fribidi
Version:        0.19.7
Release:        1
Summary:        Free Implementation of BiDi Algorithm
License:        LGPL-2.1
Group:          System/Libraries
Url:            http://fribidi.org/
AutoReqProv:    on
Provides:       locale(ar;he)
Source:         fribidi-%{version}.tar.bz2
Source2:        baselibs.conf
Source1001: 	fribidi.manifest
BuildRequires:  pkg-config

%description
This library implements the algorithm as described in the "Unicode
Standard Annex #9, the Bidirectional Algorithm,
http://www.unicode.org/unicode/reports/tr9/". FriBidi is exhaustively
tested against the Bidi Reference Code and, to the best of the
developers' knowledge, does notcontain any conformance bugs.

The API was inspired by the document "Bi-Di languages support - BiDi
API proposal" by Franck Portaneri, which he wrote as a proposal for
adding BiDi support to Mozilla.

%package devel
License:        LGPL-2.1
Summary:        Development Files for FriBiDi
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}
Requires:       pkg-config

%description devel
This package provides headers and manual files for FriBiDi.

%prep
%setup -q
cp %{SOURCE1001} .

%build
%configure --disable-static
%__make %{?_smp_mflags}

%check
%__make check

%install
%make_install

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%manifest %{name}.manifest
%defattr(-,root,root)
%{_bindir}/fribidi
%{_libdir}/libfribidi.so.*
%license COPYING

%files devel
%manifest %{name}.manifest
%defattr(-, root, root)
%dir %{_includedir}/fribidi
%{_includedir}/fribidi/*
%{_libdir}/libfribidi.so
%{_libdir}/pkgconfig/fribidi.pc
%doc %{_mandir}/man3/fribidi_*

%changelog