1 Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
2 Summary(pl): XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki
6 License: BSD-like (Bell Communications Research)
8 Source0: ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
9 Patch0: %{name}-link.patch
10 BuildRequires: lesstif-devel
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _prefix /usr/X11R6
17 %define _mandir %{_prefix}/man
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
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): Pliki nag³ówkowe i dokumentacja XbaeMatrix
38 Group: X11/Development/Libraries
39 Requires: %{name} = %{version}
42 XbaeMatrix header files and development documentation.
44 %description devel -l pl
45 Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
48 Summary: XbaeMatrix static library
49 Summary(pl): Biblioteki statyczne XbaeMatrix
50 Group: X11/Development/Libraries
51 Requires: %{name}-devel = %{version}
54 XbaeMatrix static library.
56 %description static -l pl
57 Biblioteki statyczne XbaeMatrix.
65 libtoolize --copy --force
73 --with-x-includes=/usr/X11R6/include
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{_aclocaldir}
82 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*
89 gzip -9nf AUTHORS ChangeLog README NEWS
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc {AUTHORS,ChangeLog,README,NEWS}.gz
100 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
103 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/libXbae.so
106 %attr(755,root,root) %{_libdir}/libXbae.la
108 %{_aclocaldir}/ac_find_xbae.m4
112 %defattr(644,root,root,755)
113 %attr(644,root,root) %{_libdir}/libXbae.a