+%define srcname xbae
Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
-Summary(pl): XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki
+Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
Name: Xbae
-Version: 4.50.97
-Release: 1
+Version: 4.60.4
+Release: 5
License: BSD-like (Bell Communications Research)
Group: X11/Libraries
-Source0: http://dl.sourceforge.net/xbae/%{name}-%{version}.tar.gz
-# Source0-md5: f5518adff4cf031fd429c7f47bc0b49d
-Patch0: %{name}-link.patch
-URL: http://xbae.sf.net/
-BuildRequires: autoconf
+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 >= 2.50
BuildRequires: automake
-BuildRequires: motif-devel >= 2.0
-BuildRequires: %{_aclocaldir}/ac_find_motif.m4
BuildRequires: libtool
+BuildRequires: motif-devel >= 2.0
+BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-lib-libXpm-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
XmTextField. This means a big performance improvement due to less
overhead.
-%description -l pl
-XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki z³o¿one z
-pól w sposób podobny do arkuszy kalkulacyjnych. Tabelê mo¿na przewijaæ
-i poddawaæ edycji. Ka¿de pole zazwyczaj wy¶wietla tekst, ale mo¿e
-tak¿e bitmapê (bez mo¿liwo¶ci edycji).
+%description -l pl.UTF-8
+XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z
+pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać
+i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może
+także bitmapę (bez możliwości edycji).
%package devel
Summary: XbaeMatrix header files and development documentation
-Summary(pl): Pliki nag³ówkowe i dokumentacja XbaeMatrix
+Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: motif-devel >= 2.0
%description devel
XbaeMatrix header files and development documentation.
-%description devel -l pl
-Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
%package static
Summary: XbaeMatrix static library
-Summary(pl): Biblioteki statyczne XbaeMatrix
+Summary(pl.UTF-8): Biblioteka statyczna XbaeMatrix
Group: X11/Development/Libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
XbaeMatrix static library.
-%description static -l pl
-Biblioteki statyczne XbaeMatrix.
+%description static -l pl.UTF-8
+Biblioteka statyczna XbaeMatrix.
%prep
-%setup -q
+%setup -q -n %{srcname}-%{version}
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
%configure \
--enable-shared \
--enable-static \
- --with-editres \
- --with-x-includes=/usr/X11R6/include
+ --with-editres
%{__make}
mandir=%{_mandir}
# workaround - configure decides not to install *.m4 if aclocaldir is not writable
-install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
+install ac_find_xbae.m4 $RPM_BUILD_ROOT%{_aclocaldir}
rm -f doc/Makefile* doc/images/Makefile*
%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
%defattr(644,root,root,755)
%{_libdir}/libXbae.la
%{_includedir}/Xbae
%{_aclocaldir}/ac_find_xbae.m4
-%{_mandir}/man3/*
+%{_mandir}/man3/Xbae*.3*
%files static
%defattr(644,root,root,755)