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://downloads.sourceforge.net/xbae/%{srcname}-%{version}.tar.gz
10 # Source0-md5: 9690059474bb05191dccd041ff5052bd
11 Patch0: %{name}-ac.patch
12 Patch1: %{name}-am.patch
13 URL: http://xbae.sourceforge.net/
14 BuildRequires: autoconf >= 2.50
15 BuildRequires: automake
16 BuildRequires: libtool
17 BuildRequires: motif-devel >= 2.0
18 BuildRequires: xorg-lib-libXmu-devel
19 BuildRequires: xorg-lib-libXpm-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The XbaeMatrix is a Motif-based widget which displays a grid of cells
24 in the same manner as a spreadsheet. The cell array is scrollable,
25 editable, and otherwise reasonably configurable in appearance. Each
26 cell usually displays text, but pixmaps can also be displayed (not
27 editable). The XbaeMatrix looks to some extent like a grid of
28 XmTextField widgets, but is actually implemented with a single
29 XmTextField. This means a big performance improvement due to less
32 %description -l pl.UTF-8
33 XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z
34 pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać
35 i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może
36 także bitmapę (bez możliwości edycji).
39 Summary: XbaeMatrix header files and development documentation
40 Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix
41 Group: X11/Development/Libraries
42 Requires: %{name} = %{version}-%{release}
43 Requires: motif-devel >= 2.0
46 XbaeMatrix header files and development documentation.
48 %description devel -l pl.UTF-8
49 Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
52 Summary: XbaeMatrix static library
53 Summary(pl.UTF-8): Biblioteka statyczna XbaeMatrix
54 Group: X11/Development/Libraries
55 Requires: %{name}-devel = %{version}-%{release}
58 XbaeMatrix static library.
60 %description static -l pl.UTF-8
61 Biblioteka statyczna XbaeMatrix.
64 %setup -q -n %{srcname}-%{version}
81 rm -rf $RPM_BUILD_ROOT
82 install -d $RPM_BUILD_ROOT%{_aclocaldir}
85 DESTDIR=$RPM_BUILD_ROOT \
88 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
89 install ac_find_xbae.m4 $RPM_BUILD_ROOT%{_aclocaldir}
91 rm -f doc/Makefile* doc/images/Makefile*
94 rm -rf $RPM_BUILD_ROOT
96 %post -p /sbin/ldconfig
97 %postun -p /sbin/ldconfig
100 %defattr(644,root,root,755)
101 %doc AUTHORS COPYING ChangeLog NEWS README
102 %attr(755,root,root) %{_libdir}/libXbae.so.*.*.*
103 %attr(755,root,root) %ghost %{_libdir}/libXbae.so.4
107 %defattr(644,root,root,755)
109 %attr(755,root,root) %{_libdir}/libXbae.so
110 %{_libdir}/libXbae.la
112 %{_aclocaldir}/ac_find_xbae.m4
113 %{_mandir}/man3/Xbae*.3*
116 %defattr(644,root,root,755)