]> git.pld-linux.org Git - packages/Xbae.git/blame_incremental - Xbae.spec
- release 3
[packages/Xbae.git] / Xbae.spec
... / ...
CommitLineData
1%define _truename xbae
2Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
3Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
4Name: Xbae
5Version: 4.60.4
6Release: 3
7License: BSD-like (Bell Communications Research)
8Group: X11/Libraries
9Source0: http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz
10# Source0-md5: 9690059474bb05191dccd041ff5052bd
11Patch0: %{name}-ac.patch
12URL: http://xbae.sourceforge.net/
13BuildRequires: autoconf
14BuildRequires: automake
15BuildRequires: libtool
16BuildRequires: motif-devel >= 2.0
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
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
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).
34
35%package devel
36Summary: XbaeMatrix header files and development documentation
37Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix
38Group: X11/Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: motif-devel >= 2.0
41
42%description devel
43XbaeMatrix header files and development documentation.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
47
48%package static
49Summary: XbaeMatrix static library
50Summary(pl.UTF-8): Biblioteki statyczne XbaeMatrix
51Group: X11/Development/Libraries
52Requires: %{name}-devel = %{version}-%{release}
53
54%description static
55XbaeMatrix static library.
56
57%description static -l pl.UTF-8
58Biblioteki statyczne XbaeMatrix.
59
60%prep
61%setup -q -n %{_truename}-%{version}
62%patch0 -p1
63
64%build
65%{__libtoolize}
66%{__aclocal}
67%{__autoconf}
68%{__automake}
69%configure \
70 --enable-shared \
71 --enable-static \
72 --with-editres
73
74%{__make}
75
76%install
77rm -rf $RPM_BUILD_ROOT
78install -d $RPM_BUILD_ROOT%{_aclocaldir}
79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT \
82 mandir=%{_mandir}
83
84# workaround - configure decides not to install *.m4 if aclocaldir is not writable
85install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
86
87rm -f doc/Makefile* doc/images/Makefile*
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post -p /sbin/ldconfig
93%postun -p /sbin/ldconfig
94
95%files
96%defattr(644,root,root,755)
97%doc AUTHORS COPYING ChangeLog NEWS README
98%attr(755,root,root) %{_libdir}/libXbae.so.*.*
99%{_datadir}/Xbae
100
101%files devel
102%defattr(644,root,root,755)
103%doc doc/*
104%attr(755,root,root) %{_libdir}/libXbae.so
105%{_libdir}/libXbae.la
106%{_includedir}/Xbae
107%{_aclocaldir}/ac_find_xbae.m4
108%{_mandir}/man3/*
109
110%files static
111%defattr(644,root,root,755)
112%{_libdir}/libXbae.a
This page took 0.103396 seconds and 4 git commands to generate.