]> git.pld-linux.org Git - packages/Xbae.git/blame - Xbae.spec
- fix ac2.60 vs pdksh
[packages/Xbae.git] / Xbae.spec
CommitLineData
bc96c946 1%define _truename xbae
d83d3bcb 2Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
50d73b51 3Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
d83d3bcb 4Name: Xbae
bc96c946 5Version: 4.60.4
31e5b4cd 6Release: 1
a9d55fb3 7License: BSD-like (Bell Communications Research)
d83d3bcb 8Group: X11/Libraries
1ab7a573 9Source0: http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz
bc96c946 10# Source0-md5: 9690059474bb05191dccd041ff5052bd
f05b026a 11URL: http://xbae.sourceforge.net/
d83d3bcb 12BuildRequires: autoconf
13BuildRequires: automake
14BuildRequires: libtool
f05b026a 15BuildRequires: motif-devel >= 2.0
d83d3bcb 16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
d83d3bcb 18%description
d83d3bcb 19The XbaeMatrix is a Motif-based widget which displays a grid of cells
20in the same manner as a spreadsheet. The cell array is scrollable,
21editable, and otherwise reasonably configurable in appearance. Each
22cell usually displays text, but pixmaps can also be displayed (not
23editable). The XbaeMatrix looks to some extent like a grid of
24XmTextField widgets, but is actually implemented with a single
25XmTextField. This means a big performance improvement due to less
26overhead.
27
9ad92aa4 28%description -l pl.UTF-8
1ab7a573
JB
29XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z
30pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać
31i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może
32także bitmapę (bez możliwości edycji).
d83d3bcb 33
34%package devel
35Summary: XbaeMatrix header files and development documentation
50d73b51 36Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix
d83d3bcb 37Group: X11/Development/Libraries
b9781cbe
JB
38Requires: %{name} = %{version}-%{release}
39Requires: motif-devel >= 2.0
d83d3bcb 40
41%description devel
42XbaeMatrix header files and development documentation.
43
9ad92aa4
JR
44%description devel -l pl.UTF-8
45Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
d83d3bcb 46
47%package static
48Summary: XbaeMatrix static library
50d73b51 49Summary(pl.UTF-8): Biblioteki statyczne XbaeMatrix
d83d3bcb 50Group: X11/Development/Libraries
b9781cbe 51Requires: %{name}-devel = %{version}-%{release}
d83d3bcb 52
53%description static
54XbaeMatrix static library.
55
9ad92aa4 56%description static -l pl.UTF-8
d83d3bcb 57Biblioteki 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
75rm -rf $RPM_BUILD_ROOT
af45d982 76install -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 83install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
84
17b2b48d
JB
85rm -f doc/Makefile* doc/images/Makefile*
86
d83d3bcb 87%clean
88rm -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
This page took 0.053741 seconds and 4 git commands to generate.