2007-01-16 00:13:05 +01:00
|
|
|
#
|
2011-02-21 00:51:09 +01:00
|
|
|
# spec file for package fribidi
|
2007-01-16 00:13:05 +01:00
|
|
|
#
|
2020-05-25 09:09:38 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-16 00:13:05 +01:00
|
|
|
#
|
2008-11-02 15:41:08 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-10-24 11:20:52 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:13:05 +01:00
|
|
|
#
|
|
|
|
|
2008-04-10 14:13:44 +02:00
|
|
|
|
2014-07-20 04:20:12 +02:00
|
|
|
%define lname libfribidi0
|
2014-11-06 14:48:26 +01:00
|
|
|
Name: fribidi
|
2018-10-24 11:20:52 +02:00
|
|
|
Version: 1.0.5
|
2013-03-27 03:45:30 +01:00
|
|
|
Release: 0
|
2018-02-24 06:20:05 +01:00
|
|
|
Summary: An implementation of the Unicode BiDi algorithm
|
2018-10-24 11:20:52 +02:00
|
|
|
License: LGPL-2.1-only
|
2014-07-20 04:20:12 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2019-11-29 12:02:49 +01:00
|
|
|
URL: https://github.com/fribidi/fribidi
|
2018-02-18 02:51:46 +01:00
|
|
|
Source: https://github.com/fribidi/fribidi/releases/download/v%{version}/%{name}-%{version}.tar.bz2
|
2014-11-06 14:48:26 +01:00
|
|
|
Source2: baselibs.conf
|
2020-05-25 09:09:38 +02:00
|
|
|
# PATCH-FIX-UPSTREAM no-config-h.diff - copied from Debian
|
|
|
|
Patch1: no-config-h.diff
|
|
|
|
# PATCH-FIX-UPSTREAM Truncate-isolate_level-to-FRIBIDI_BIDI_MAX_EXPLICIT_.diff - copied from Debian
|
|
|
|
Patch2: Truncate-isolate_level-to-FRIBIDI_BIDI_MAX_EXPLICIT_.diff
|
|
|
|
BuildRequires: pkgconfig
|
2014-11-06 14:48:26 +01:00
|
|
|
#
|
|
|
|
Provides: locale(ar;he)
|
2008-11-02 15:41:08 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: fribidi-64bit
|
|
|
|
%endif
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%description
|
2014-07-20 04:20:12 +02:00
|
|
|
This library implements the algorithm as described in "Unicode
|
|
|
|
Standard Annex #9, the Bidirectional Algorithm".
|
|
|
|
|
2014-11-06 14:48:26 +01:00
|
|
|
%package -n %{lname}
|
2018-02-24 06:20:05 +01:00
|
|
|
Summary: An implementation of the Unicode BiDi algorithm
|
2014-07-20 04:20:12 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2014-11-06 14:48:26 +01:00
|
|
|
%description -n %{lname}
|
2014-07-20 04:20:12 +02:00
|
|
|
This library implements the algorithm as described in "Unicode
|
2007-01-16 00:13:05 +01:00
|
|
|
Standard Annex #9, the Bidirectional Algorithm,
|
2018-02-24 06:20:05 +01:00
|
|
|
http://www.unicode.org/unicode/reports/tr9/". FriBidi is
|
2008-01-07 02:48:08 +01:00
|
|
|
tested against the Bidi Reference Code and, to the best of the
|
2018-02-24 06:20:05 +01:00
|
|
|
developers' knowledge, does not contain any conformance bugs.
|
2007-01-16 00:13:05 +01:00
|
|
|
|
2008-01-07 02:48:08 +01:00
|
|
|
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.
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%package devel
|
2011-02-21 00:51:03 +01:00
|
|
|
Summary: Development Files for FriBiDi
|
2007-01-16 00:13:05 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-09-13 04:56:29 +02:00
|
|
|
Requires: %{lname} = %{version}
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%description devel
|
2011-02-21 00:51:03 +01:00
|
|
|
This package provides headers and manual files for FriBiDi.
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%prep
|
2008-01-07 02:48:08 +01:00
|
|
|
%setup -q
|
2020-05-25 09:09:38 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%build
|
2018-02-18 02:51:46 +01:00
|
|
|
%configure --disable-static
|
2019-11-29 12:02:49 +01:00
|
|
|
%make_build
|
2008-01-07 02:48:08 +01:00
|
|
|
|
|
|
|
%check
|
2019-11-29 12:02:49 +01:00
|
|
|
%make_build check
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%install
|
2018-02-18 02:51:46 +01:00
|
|
|
%make_install
|
2014-11-06 14:48:26 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-16 00:13:05 +01:00
|
|
|
|
2014-11-06 14:48:26 +01:00
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%files
|
2018-02-18 02:51:46 +01:00
|
|
|
%doc NEWS README
|
2011-02-21 00:51:03 +01:00
|
|
|
%{_bindir}/fribidi
|
2007-01-16 00:13:05 +01:00
|
|
|
|
2014-11-06 14:48:26 +01:00
|
|
|
%files -n %{lname}
|
2018-02-18 02:51:46 +01:00
|
|
|
%license COPYING
|
2014-07-20 04:20:12 +02:00
|
|
|
%{_libdir}/libfribidi.so.0*
|
|
|
|
|
2007-01-16 00:13:05 +01:00
|
|
|
%files devel
|
2018-02-18 02:51:46 +01:00
|
|
|
%doc AUTHORS ChangeLog THANKS TODO
|
2020-05-25 09:09:38 +02:00
|
|
|
%{_mandir}/man3/fribidi_*
|
2014-07-20 04:20:12 +02:00
|
|
|
%{_includedir}/fribidi/
|
2011-02-21 00:51:03 +01:00
|
|
|
%{_libdir}/libfribidi.so
|
|
|
|
%{_libdir}/pkgconfig/fribidi.pc
|
2008-01-07 02:48:08 +01:00
|
|
|
|
|
|
|
%changelog
|