Summary: Library implementing the Unicode BiDi algorithm
Name: fribidi
-Version: 0.1.12
-Release: 2
+Version: 0.1.14
+Release: 1
License: LGPL
Group: Libraries
+Group(de): Libraries
+Group(fr): Librairies
Group(pl): Biblioteki
-Source0: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/fribidi-%{version}.tar.gz
-Patch0: fribidi-0.1.12-glib2.patch
-
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-URL: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi
-## this spec is prepared for glib,gtk 2.0
+Source0: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/%{name}-%{version}.tar.gz
+Patch0: %{name}-0.1.12-glib2.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: libtool
BuildRequires: glib-devel >= 1.3.1
+URL: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-A Free Implementation of the Unicode BiDi algorithm
+A Free Implementation of the Unicode BiDi algorithm.
%package devel
Summary: Library implementing the Unicode BiDi algorithm
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name} = %{version}
Summary: Static %{name} libraries
Summary(pl): Biblioteki statyczne %{name}
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name}-devel = %{version}
%setup -q
%patch -p1
-# .gtkbeta patch changes Makefile.am
libtoolize --force --copy
autoconf
automake
%build
-CFLAGS="$RPM_OPT_FLAGS"; export CFLAGS
-##GLIB_CONFIG="%{_bindir}/glib-config-2.0"; export GLIB_CONFIG
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf AUTHORS ChangeLog NEWS README
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
+%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
-%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_bindir}/fribidi
%attr(755,root,root) %{_libdir}/libfribidi.so.*.*.*
%files devel
%defattr(644,root,root,755)
-%{_libdir}/lib*.so
-%{_includedir}/fribidi
+%doc *.gz
%attr(755,root,root) %{_bindir}/fribidi-config
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/fribidi
%files static
%defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/lib*.a