--- /dev/null
+--- xbae-4.60.4/doc/images/Makefile.am.orig 2004-11-04 15:47:31.000000000 +0100
++++ xbae-4.60.4/doc/images/Makefile.am 2010-04-29 08:14:40.564988896 +0200
+@@ -34,7 +34,7 @@
+ bg.png updated.png coverplus.png add.jpg \
+ caption.png choice.png colors.jpg draw.png fifteen.jpg \
+ input.png list.jpg matrix.jpg multifixed.jpg select-push.jpg \
+- mailbox.png bg.png pricing.jpg LDO.jpg risk.jpg \
++ mailbox.png pricing.jpg LDO.jpg risk.jpg \
+ organize.jpg xbasket.png xbum1-2.png xbill2-2.png capfloor1.png \
+ capfloor3.png taam.png \
+ grohtml-XbaeCaption1.png \
-%define _truename xbae
+%define srcname xbae
Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
Name: Xbae
Release: 3
License: BSD-like (Bell Communications Research)
Group: X11/Libraries
-Source0: http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz
+Source0: http://downloads.sourceforge.net/xbae/%{srcname}-%{version}.tar.gz
# Source0-md5: 9690059474bb05191dccd041ff5052bd
Patch0: %{name}-ac.patch
+Patch1: %{name}-am.patch
URL: http://xbae.sourceforge.net/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.50
BuildRequires: automake
BuildRequires: libtool
BuildRequires: motif-devel >= 2.0
%package static
Summary: XbaeMatrix static library
-Summary(pl.UTF-8): Biblioteki statyczne XbaeMatrix
+Summary(pl.UTF-8): Biblioteka statyczna XbaeMatrix
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
XbaeMatrix static library.
%description static -l pl.UTF-8
-Biblioteki statyczne XbaeMatrix.
+Biblioteka statyczna XbaeMatrix.
%prep
-%setup -q -n %{_truename}-%{version}
+%setup -q -n %{srcname}-%{version}
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
%files
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libXbae.so.*.*
+%attr(755,root,root) %{_libdir}/libXbae.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libXbae.so.4
%{_datadir}/Xbae
%files devel
%{_libdir}/libXbae.la
%{_includedir}/Xbae
%{_aclocaldir}/ac_find_xbae.m4
-%{_mandir}/man3/*
+%{_mandir}/man3/Xbae*.3*
%files static
%defattr(644,root,root,755)