6d5be3b22f
Copy from M17N/fribidi based on submit request 27613 from user coolo OBS-URL: https://build.opensuse.org/request/show/27613 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fribidi?expand=0&rev=8
109 lines
2.7 KiB
RPMSpec
109 lines
2.7 KiB
RPMSpec
#
|
|
# spec file for package fribidi (Version 0.10.9)
|
|
#
|
|
# Copyright (c) 2009 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: fribidi
|
|
Version: 0.10.9
|
|
Release: 58
|
|
Summary: Free Implementation of BiDi Algorithm
|
|
License: GPLv2+
|
|
Group: System/Libraries
|
|
Url: http://fribidi.sourceforge.net/
|
|
AutoReqProv: on
|
|
# bug437293
|
|
%ifarch ppc64
|
|
Obsoletes: fribidi-64bit
|
|
%endif
|
|
#
|
|
Provides: locale(ar;he)
|
|
Source: fribidi-%{version}.tar.bz2
|
|
Source2: baselibs.conf
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dov Grobgeld <dov@imagic.weizmann.ac.il>
|
|
|
|
%package devel
|
|
License: GPLv2+
|
|
Summary: Static Libraries and Header Files for FriBiDi
|
|
Group: Development/Libraries/C and C++
|
|
Requires: %name = %version
|
|
|
|
%description devel
|
|
This package provides the static libraries and header files for
|
|
FriBiDi.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dov Grobgeld <dov@imagic.weizmann.ac.il>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -i -f
|
|
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|
%configure --disable-static --with-pic
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%check
|
|
make check
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING* ChangeLog INSTALL NEWS README THANKS TODO tests run.tests
|
|
%_bindir/fribidi
|
|
%_libdir/libfribidi.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%_libdir/lib*.so
|
|
%_libdir/pkgconfig/*.pc
|
|
%_includedir/fribidi
|
|
%_bindir/fribidi-config
|
|
%exclude %_libdir/lib*.la
|
|
|
|
%changelog
|