File fribidi.spec of Package fribidi

#
# spec file for package fribidi (Version 0.10.9)
#
# Copyright (c) 2008 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:        57
Summary:        Free Implementation of BiDi Algorithm
License:        GPL v2 or later
Group:          System/Libraries
Url:            http://fribidi.sourceforge.net/
AutoReqProv:    on
# bug437293
%ifarch ppc64
Obsoletes:      fribidi-64bit
%endif
%ifarch  ppc
Obsoletes:      fribidi-32bit
%endif
#
Provides:       locale(ar;he)
Source:         fribidi-%{version}.tar.bz2
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:        GPL v2 or later
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
* Tue Dec 09 2008 ro@suse.de
- remove ix86 from ifarch statement obsoleting 32bit package
* Thu Oct 30 2008 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Sun Jan 06 2008 crrodriguez@suse.de
- update to version 0.10.9
  * Fixed type sizes when stdint.h is not available.
  * Update to Unicode Character Database 5.0.0
  * Fixed type sizes on 64-bit architectures.
- disable static libraries
- remove libtool archive with empty dependency_libs
- do not require gtk2-devel for build as it is unused
- spec file cleanups
* Tue Feb 28 2006 mfabian@suse.de
- add "Provides: locale(ar,he)".
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Mar 09 2004 mfabian@suse.de
- Bugzilla #34267: fix this by adding the compiler option
  "-fno-strict-aliasing".
* Sat Jan 10 2004 adrian@suse.de
- add %%run_ldconfig
* Mon May 12 2003 nashif@suse.de
- package forgotten files
* Sat Aug 10 2002 nashif@suse.de
- added missing requires to devel package
* Wed Jul 03 2002 meissner@suse.de
- rerun auto* tools
* Sun Jun 09 2002 nashif@suse.de
- Update to version 0.10.4
* Fri May 03 2002 nashif@suse.de
- Update to 0.10.3
- Use _libdir macro and fix for x86_64
* Fri Mar 01 2002 nashif@suse.de
- Fixed for s390x: using _libdir instead of plain path
* Sat Feb 09 2002 nashif@suse.de
- Update to version 0.10.1
* Wed Apr 11 2001 nashif@suse.de
- Update to version 0.9.0
* Fri Feb 09 2001 nashif@suse.de
- Update to version 0.1.15
* Sun Nov 05 2000 nashif@suse.de
- Update to 0.1.14
- Changed neededforbuild
- add sub packages fribidi-devel
* Fri Sep 22 2000 nashif@suse.de
- Updated to 0.1.12
* Tue Jun 20 2000 schwab@suse.de
- Fix use of suse_update_config macro.
* Fri Apr 28 2000 nashif@suse.de
- Update to version 0.1.10
* Wed Apr 12 2000 nashif@suse.de
- Update to version 0.1.9
* Sat Apr 08 2000 bk@suse.de
- added suse update config macro
* Sun Feb 13 2000 nashif@suse.de
- Initial Release ( Version: 0.1.8 )
openSUSE Build Service is sponsored by