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