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
|
|
|
#
|
2014-07-20 04:20:12 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:13:05 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2008-04-10 14:13:44 +02:00
|
|
|
|
2007-01-16 00:13:05 +01:00
|
|
|
Name: fribidi
|
2014-07-20 04:20:12 +02:00
|
|
|
%define lname libfribidi0
|
2011-02-21 00:51:03 +01:00
|
|
|
Version: 0.19.2
|
2013-03-27 03:45:30 +01:00
|
|
|
Release: 0
|
2014-07-20 04:20:12 +02:00
|
|
|
Summary: Free Implementation of Unicode BiDi Algorithm
|
2011-12-06 18:10:20 +01:00
|
|
|
License: LGPL-2.1
|
2014-07-20 04:20:12 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2011-02-21 00:51:03 +01:00
|
|
|
Url: http://fribidi.org/
|
2008-11-02 15:41:08 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: fribidi-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2007-01-16 00:13:05 +01:00
|
|
|
Provides: locale(ar;he)
|
2013-03-27 03:45:30 +01:00
|
|
|
Source: http://fribidi.org/download/%{name}-%{version}.tar.gz
|
2009-12-26 11:53:50 +01:00
|
|
|
Source2: baselibs.conf
|
2007-01-16 00:13:05 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-05-03 21:32:06 +02:00
|
|
|
BuildRequires: pkg-config
|
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".
|
|
|
|
|
|
|
|
%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
|
2007-01-16 00:13:05 +01:00
|
|
|
Standard Annex #9, the Bidirectional Algorithm,
|
|
|
|
http://www.unicode.org/unicode/reports/tr9/". FriBidi is exhaustively
|
2008-01-07 02:48:08 +01:00
|
|
|
tested against the Bidi Reference Code and, to the best of the
|
|
|
|
developers' knowledge, does notcontain 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++
|
2011-02-21 00:51:03 +01:00
|
|
|
Requires: %{name} = %{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
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%build
|
2011-02-21 00:51:03 +01:00
|
|
|
%configure --disable-static
|
|
|
|
%__make %{?_smp_mflags}
|
2008-01-07 02:48:08 +01:00
|
|
|
|
|
|
|
%check
|
2011-02-21 00:51:03 +01:00
|
|
|
%__make check
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%install
|
2011-02-21 00:51:03 +01:00
|
|
|
%__make DESTDIR=%buildroot install
|
|
|
|
%__rm %buildroot%{_libdir}/libfribidi.la
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%clean
|
2011-02-21 00:51:03 +01:00
|
|
|
%__rm -rf %buildroot
|
2007-01-16 00:13:05 +01:00
|
|
|
|
2014-07-20 04:20:12 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2007-01-16 00:13:05 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-02-21 00:51:03 +01:00
|
|
|
%{_bindir}/fribidi
|
|
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO
|
2007-01-16 00:13:05 +01:00
|
|
|
|
2014-07-20 04:20:12 +02:00
|
|
|
%files -n %lname
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libfribidi.so.0*
|
|
|
|
|
2007-01-16 00:13:05 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
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
|
|
|
|
%doc %{_mandir}/man3/fribidi_*
|
2008-01-07 02:48:08 +01:00
|
|
|
|
|
|
|
%changelog
|