Hi,
here is my fribidi spec-File, patched for compatibility with hackglib.
The patch is from the ftp.gtk.org site.
--
Goetz Waschk <> student of computer science <> university Rostock
http://www.informatik.uni-rostock.de/~waschk/waschk.asc for PGP key
--> Logout Fascism! <--
%define ver 0.1.12
%define rel 1mdk
Summary: library to support Bi-directional scripts
Name: fribidi
Version: %{ver}
Release: %{rel}
Copyright: LGPL
Group: System/Libraries
Source: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/fribidi-%{ver}.tar.bz2
Patch: %name-0.1.12-glib2.patch.bz2
URL: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/
BuildRoot: /var/tmp/fribidi
Requires: hackglib
%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.
The library uses unicode internally.
%package devel
Summary: Library implementing the Unicode BiDi algorithm
Group: Development/C
Requires: fribidi = %{ver}
Requires: hackglib-devel
%description devel
The fribidi-devel package includes the static libraries and header files
for the fribidi package.
Install fribidi-devel if you want to develop programs which will use
fribidi.
%prep
%setup
%patch -p1
%build
%configure
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc README AUTHORS COPYING ChangeLog TODO THANKS NEWS
%{_prefix}/lib/lib*.so.*
%{_prefix}/bin/fribidi
%files devel
%defattr(-, root, root)
%{_prefix}/bin/fribidi-config
%{_prefix}/include/fribidi/*
%{_prefix}/lib/lib*.so
%{_prefix}/lib/lib*a
%changelog
* Mon Jul 17 2000 G�tz Waschk <[EMAIL PROTECTED]> 0.1.12-1mdk
- updated to 0.1.12
- inclusion of patch for glib-1.3.x
- requires hackglib package now
- used %makeinstall
- updated filelist for the inclusion of the shared libraries and fribidi-config
- added %post and %postun scripts
* Sun Apr 02 2000 Pablo Saratxaga <[EMAIL PROTECTED]> 0.1.9-1mdk
- New Group: naming
- updated to 0.1.9
- splitted in a -devel rpm; to make it compatible with the rpms in
the http://www.pango.org/ site
* Mon Mar 13 2000 Pablo Saratxaga <[EMAIL PROTECTED]> 0.1.8-1mdk
- updated to 0.1.8
* Mon Jan 17 2000 Chmouel Boudjnah <[EMAIL PROTECTED]> 0.1.6-3mdk
- Use %configure.
* Tue Nov 02 1999 Pablo Saratxaga <[EMAIL PROTECTED]>
- rebuild for new environmint
* Thu Aug 05 1999 Pablo Saratxaga <[EMAIL PROTECTED]>
- first rpm version