fribidi/fribidi.spec

Name: fribidi
Summary: Library implementing the Unicode Bidirectional Algorithm
Version: 0.10.9
Release: 1
License: LGPL
Group: System Environment/Libraries
URL: http://fribidi.org/
Description: A library to handle bidirectional scripts (eg. hebrew, arabic), so that the display is done in the proper way; while the text data itself is always written in logical order.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL5 ships with fribidi-0.10.7-5.1
### EL4 ships with fribidi-0.10.4-6
# ExcludeDist: el4 el5

Summary: Library implementing the Unicode Bidirectional Algorithm
Name: fribidi
Version: 0.10.9
Release: 1%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://fribidi.org/

Source0: http://fribidi.org/download/fribidi-%{version}.tar.gz
Patch0: fribidi-0.10.7-multiarchdevel.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool

%description
A library to handle bidirectional scripts (eg. hebrew, arabic), so that
the display is done in the proper way; while the text data itself is
always written in logical order.

%package devel
Summary: Libraries and include files for fribidi
Group: System Environment/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig

%description devel
Include files and libraries needed for developing applications which use
fribidi.

%prep
%setup
%patch0 -p1 -b .multiarchdevel

%build
#aclocal
#autoconf
#automake
autoreconf -i
%configure --disable-static
%{__make} #%{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
%{_bindir}/fribidi
%{_libdir}/libfribidi.so.*
%exclude %{_libdir}/libfribidi.la

%files devel
%defattr(-, root, root, 0755)
%{_bindir}/fribidi-config
%{_includedir}/fribidi
%{_libdir}/libfribidi.so
%{_libdir}/pkgconfig/*.pc

%changelog
* Mon Dec 06 2010 Dag Wieers <dag@wieers.com> - 0.10.9-1
- Initial package. (using DAR)