+%define snap 20011029
Summary: Library implementing the Unicode BiDi algorithm
+Summary(pl): Biblioteka implementuj±ca algorytm Unicode BiDi
Name: fribidi
-Version: 0.1.14
-Release: 1
+Version: 0.10.1
+Release: 2
License: LGPL
Group: Libraries
Group(de): Libraries
+Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
-Source0: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi/%{name}-%{version}.tar.gz
-Patch0: %{name}-0.1.12-glib2.patch
+Group(pt_BR): Bibliotecas
+Group(ru): âÉÂÌÉÏÔÅËÉ
+Group(uk): â¦Â̦ÏÔÅËÉ
+Source0: http://telia.dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Source1: %{name}.pc
+URL: http://fribi.sf.net/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
-BuildRequires: glib-devel >= 1.3.1
-URL: http://imagic.weizmann.ac.il/~dov/freesw/FriBidi
+BuildRequires: glib2-devel >= 1.3.14
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes: libfribidi0
%description
A Free Implementation of the Unicode BiDi algorithm.
+%description -l pl
+Implementacja algorytmu Unicde BiDi.
+
%package devel
Summary: Library implementing the Unicode BiDi algorithm
+Summary(pl): Implementacja algorytmu Unicode BiDi
Group: Development/Libraries
Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name} = %{version}
+Requires: glib2-devel
+Obsoletes: libfribidi0-devel
%description devel
-The fribidi-devel package includes the static libraries and header
-files for the fribidi package.
+The fribidi-devel package includes header files for the fribidi
+package.
Install fribidi-devel if you want to develop programs which will use
fribidi.
+%description -l pl devel
+Pliki developerskie pozwalaj±ce na wykorzystywanie biblioteki fribidi
+w swoim oprogramowaniu.
+
%package static
Summary: Static %{name} libraries
Summary(pl): Biblioteki statyczne %{name}
Group: Development/Libraries
Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name}-devel = %{version}
%description static
%prep
%setup -q
-%patch -p1
+%build
+rm -f acinclude.m4
libtoolize --force --copy
+aclocal
+autoheader
autoconf
-automake
-
-%build
+automake -a -c
%configure
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pkgconfigdir}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_pkgconfigdir}/%{name}.pc
%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf AUTHORS ChangeLog NEWS README
+gzip -9nf AUTHORS ChangeLog NEWS README THANKS TODO
%clean
rm -rf $RPM_BUILD_ROOT
%doc *.gz
%attr(755,root,root) %{_bindir}/fribidi-config
%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.la
%{_includedir}/fribidi
+%{_pkgconfigdir}/*.pc
%files static
%defattr(644,root,root,755)