]>
Commit | Line | Data |
---|---|---|
bc96c946 | 1 | %define _truename xbae |
d83d3bcb | 2 | Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells |
50d73b51 | 3 | Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki |
d83d3bcb | 4 | Name: Xbae |
bc96c946 | 5 | Version: 4.60.4 |
31e5b4cd | 6 | Release: 1 |
a9d55fb3 | 7 | License: BSD-like (Bell Communications Research) |
d83d3bcb | 8 | Group: X11/Libraries |
1ab7a573 | 9 | Source0: http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz |
bc96c946 | 10 | # Source0-md5: 9690059474bb05191dccd041ff5052bd |
f05b026a | 11 | URL: http://xbae.sourceforge.net/ |
d83d3bcb | 12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
14 | BuildRequires: libtool | |
f05b026a | 15 | BuildRequires: motif-devel >= 2.0 |
d83d3bcb | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
d83d3bcb | 18 | %description |
d83d3bcb | 19 | The XbaeMatrix is a Motif-based widget which displays a grid of cells |
20 | in the same manner as a spreadsheet. The cell array is scrollable, | |
21 | editable, and otherwise reasonably configurable in appearance. Each | |
22 | cell usually displays text, but pixmaps can also be displayed (not | |
23 | editable). The XbaeMatrix looks to some extent like a grid of | |
24 | XmTextField widgets, but is actually implemented with a single | |
25 | XmTextField. This means a big performance improvement due to less | |
26 | overhead. | |
27 | ||
9ad92aa4 | 28 | %description -l pl.UTF-8 |
1ab7a573 JB |
29 | XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z |
30 | pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać | |
31 | i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może | |
32 | także bitmapę (bez możliwości edycji). | |
d83d3bcb | 33 | |
34 | %package devel | |
35 | Summary: XbaeMatrix header files and development documentation | |
50d73b51 | 36 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix |
d83d3bcb | 37 | Group: X11/Development/Libraries |
b9781cbe JB |
38 | Requires: %{name} = %{version}-%{release} |
39 | Requires: motif-devel >= 2.0 | |
d83d3bcb | 40 | |
41 | %description devel | |
42 | XbaeMatrix header files and development documentation. | |
43 | ||
9ad92aa4 JR |
44 | %description devel -l pl.UTF-8 |
45 | Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix. | |
d83d3bcb | 46 | |
47 | %package static | |
48 | Summary: XbaeMatrix static library | |
50d73b51 | 49 | Summary(pl.UTF-8): Biblioteki statyczne XbaeMatrix |
d83d3bcb | 50 | Group: X11/Development/Libraries |
b9781cbe | 51 | Requires: %{name}-devel = %{version}-%{release} |
d83d3bcb | 52 | |
53 | %description static | |
54 | XbaeMatrix static library. | |
55 | ||
9ad92aa4 | 56 | %description static -l pl.UTF-8 |
d83d3bcb | 57 | Biblioteki statyczne XbaeMatrix. |
58 | ||
59 | %prep | |
bc96c946 | 60 | %setup -q -n %{_truename}-%{version} |
d83d3bcb | 61 | |
62 | %build | |
3943b7e6 | 63 | %{__libtoolize} |
60ab8c90 | 64 | %{__aclocal} |
a7f5afb0 | 65 | %{__autoconf} |
66 | %{__automake} | |
d83d3bcb | 67 | %configure \ |
68 | --enable-shared \ | |
69 | --enable-static \ | |
bc96c946 | 70 | --with-editres |
af45d982 JB |
71 | |
72 | %{__make} | |
d83d3bcb | 73 | |
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
af45d982 | 76 | install -d $RPM_BUILD_ROOT%{_aclocaldir} |
d83d3bcb | 77 | |
78 | %{__make} install \ | |
b7f465c0 JB |
79 | DESTDIR=$RPM_BUILD_ROOT \ |
80 | mandir=%{_mandir} | |
d83d3bcb | 81 | |
af45d982 | 82 | # workaround - configure decides not to install *.m4 if aclocaldir is not writable |
d83d3bcb | 83 | install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir} |
84 | ||
17b2b48d JB |
85 | rm -f doc/Makefile* doc/images/Makefile* |
86 | ||
d83d3bcb | 87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
e6489b70 | 90 | %post -p /sbin/ldconfig |
a9d55fb3 JB |
91 | %postun -p /sbin/ldconfig |
92 | ||
d83d3bcb | 93 | %files |
94 | %defattr(644,root,root,755) | |
31e5b4cd | 95 | %doc AUTHORS COPYING ChangeLog NEWS README |
d83d3bcb | 96 | %attr(755,root,root) %{_libdir}/libXbae.so.*.* |
bc96c946 | 97 | %{_datadir}/Xbae |
d83d3bcb | 98 | |
99 | %files devel | |
100 | %defattr(644,root,root,755) | |
31e5b4cd | 101 | %doc doc/* |
d83d3bcb | 102 | %attr(755,root,root) %{_libdir}/libXbae.so |
d83d3bcb | 103 | %{_includedir}/Xbae |
104 | %{_aclocaldir}/ac_find_xbae.m4 | |
105 | %{_mandir}/man3/* | |
106 | ||
107 | %files static | |
108 | %defattr(644,root,root,755) | |
1d9be836 | 109 | %{_libdir}/libXbae.a |