46eae7dd72
update 0.19.6 OBS-URL: https://build.opensuse.org/request/show/260070 OBS-URL: https://build.opensuse.org/package/show/M17N/fribidi?expand=0&rev=14
103 lines
2.9 KiB
RPMSpec
103 lines
2.9 KiB
RPMSpec
#
|
|
# spec file for package fribidi
|
|
#
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define lname libfribidi0
|
|
Name: fribidi
|
|
Version: 0.19.6
|
|
Release: 0
|
|
Summary: Free Implementation of Unicode BiDi Algorithm
|
|
License: LGPL-2.1
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://fribidi.org/
|
|
Source: http://fribidi.org/download/%{name}-%{version}.tar.bz2
|
|
Source2: baselibs.conf
|
|
BuildRequires: fdupes
|
|
BuildRequires: pkg-config
|
|
#
|
|
Provides: locale(ar;he)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: fribidi-64bit
|
|
%endif
|
|
|
|
%description
|
|
This library implements the algorithm as described in "Unicode
|
|
Standard Annex #9, the Bidirectional Algorithm".
|
|
|
|
%package -n %{lname}
|
|
Summary: Free Implementation of the Unicode BiDi Algorithm
|
|
Group: System/Libraries
|
|
|
|
%description -n %{lname}
|
|
This library implements the algorithm as described in "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
|
|
Summary: Development Files for FriBiDi
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %{lname} = %{version}
|
|
|
|
%description devel
|
|
This package provides headers and manual files for FriBiDi.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static \
|
|
--enable-malloc
|
|
make %{?_smp_mflags}
|
|
|
|
%check
|
|
make %{?_smp_mflags} check
|
|
|
|
%install
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%fdupes %{buildroot}
|
|
|
|
%post -n %{lname} -p /sbin/ldconfig
|
|
|
|
%postun -n %{lname} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/fribidi
|
|
%doc AUTHORS COPYING ChangeLog NEWS README THANKS TODO
|
|
|
|
%files -n %{lname}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libfribidi.so.0*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%{_includedir}/fribidi/
|
|
%{_libdir}/libfribidi.so
|
|
%{_libdir}/pkgconfig/fribidi.pc
|
|
%doc %{_mandir}/man3/fribidi_*
|
|
|
|
%changelog
|