Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
Summary(pl): XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki
Name: Xbae
-Version: 4.9.1
-Release: 2
+Version: 4.50.95
+Release: 1
License: BSD-like (Bell Communications Research)
Group: X11/Libraries
-Source0: ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/xbae/%{name}-%{version}.tar.gz
+# Source0-md5: 1b4a0666dc9b574b3be5675110906699
Patch0: %{name}-link.patch
-BuildRequires: lesstif-devel
+URL: http://xbae.sf.net/
BuildRequires: autoconf
BuildRequires: automake
+BuildRequires: motif-devel >= 2.0
+BuildRequires: %{_aclocaldir}/ac_find_motif.m4
BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
-
%description
The XbaeMatrix is a Motif-based widget which displays a grid of cells
in the same manner as a spreadsheet. The cell array is scrollable,
Summary: XbaeMatrix header files and development documentation
Summary(pl): Pliki nag³ówkowe i dokumentacja XbaeMatrix
Group: X11/Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name} = %{version}-%{release}
+Requires: motif-devel >= 2.0
%description devel
XbaeMatrix header files and development documentation.
Summary: XbaeMatrix static library
Summary(pl): Biblioteki statyczne XbaeMatrix
Group: X11/Development/Libraries
-Requires: %{name}-devel = %{version}
+Requires: %{name}-devel = %{version}-%{release}
%description static
XbaeMatrix static library.
%patch0 -p1
%build
-rm -f missing
%{__libtoolize}
%{__aclocal}
%{__autoconf}
install -d $RPM_BUILD_ROOT%{_aclocaldir}
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ mandir=%{_mandir}
# workaround - configure decides not to install *.m4 if aclocaldir is not writable
install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
rm -f doc/Makefile* doc/images/Makefile*
-gzip -9nf AUTHORS ChangeLog README NEWS
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,README,NEWS}.gz
+%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libXbae.so.*.*
%files devel
%defattr(644,root,root,755)
-%doc FAQ.html doc/*
+%doc doc/*
%attr(755,root,root) %{_libdir}/libXbae.so
%{_libdir}/libXbae.la
%{_includedir}/Xbae
%files static
%defattr(644,root,root,755)
-%attr(644,root,root) %{_libdir}/libXbae.a
+%{_libdir}/libXbae.a