2 Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
3 Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
7 License: BSD-like (Bell Communications Research)
9 Source0: http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz
10 # Source0-md5: 9690059474bb05191dccd041ff5052bd
11 Patch0: %{name}-ac.patch
12 URL: http://xbae.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
16 BuildRequires: motif-devel >= 2.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The XbaeMatrix is a Motif-based widget which displays a grid of cells
21 in the same manner as a spreadsheet. The cell array is scrollable,
22 editable, and otherwise reasonably configurable in appearance. Each
23 cell usually displays text, but pixmaps can also be displayed (not
24 editable). The XbaeMatrix looks to some extent like a grid of
25 XmTextField widgets, but is actually implemented with a single
26 XmTextField. This means a big performance improvement due to less
29 %description -l pl.UTF-8
30 XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z
31 pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać
32 i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może
33 także bitmapę (bez możliwości edycji).
36 Summary: XbaeMatrix header files and development documentation
37 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix
38 Group: X11/Development/Libraries
39 Requires: %{name} = %{version}-%{release}
40 Requires: motif-devel >= 2.0
43 XbaeMatrix header files and development documentation.
45 %description devel -l pl.UTF-8
46 Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
49 Summary: XbaeMatrix static library
50 Summary(pl.UTF-8): Biblioteki statyczne XbaeMatrix
51 Group: X11/Development/Libraries
52 Requires: %{name}-devel = %{version}-%{release}
55 XbaeMatrix static library.
57 %description static -l pl.UTF-8
58 Biblioteki statyczne XbaeMatrix.
61 %setup -q -n %{_truename}-%{version}
77 rm -rf $RPM_BUILD_ROOT
78 install -d $RPM_BUILD_ROOT%{_aclocaldir}
81 DESTDIR=$RPM_BUILD_ROOT \
84 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
85 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
87 rm -f doc/Makefile* doc/images/Makefile*
90 rm -rf $RPM_BUILD_ROOT
92 %post -p /sbin/ldconfig
93 %postun -p /sbin/ldconfig
96 %defattr(644,root,root,755)
97 %doc AUTHORS COPYING ChangeLog NEWS README
98 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
102 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/libXbae.so
105 %{_libdir}/libXbae.la
107 %{_aclocaldir}/ac_find_xbae.m4
111 %defattr(644,root,root,755)