]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
- added am18 patch, moved to /usr (where lesstif lives now), release 3
[packages/Xbae.git] / Xbae.spec
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
3 Name:           Xbae
4 Version:        4.9.1
5 Release:        3
6 License:        BSD-like (Bell Communications Research)
7 Group:          X11/Libraries
8 Source0:        ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
9 # Source0-md5:  d20e2f688cb440a186ecd99e19de9fcf
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-am18.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  lesstif-devel
15 BuildRequires:  libtool
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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
28 %description -l pl
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).
33
34 %package devel
35 Summary:        XbaeMatrix header files and development documentation
36 Summary(pl):    Pliki nag³ówkowe i dokumentacja XbaeMatrix
37 Group:          X11/Development/Libraries
38 Requires:       %{name} = %{version}
39
40 %description devel
41 XbaeMatrix header files and development documentation.
42
43 %description devel -l pl
44 Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
45
46 %package static
47 Summary:        XbaeMatrix static library
48 Summary(pl):    Biblioteki statyczne XbaeMatrix
49 Group:          X11/Development/Libraries
50 Requires:       %{name}-devel = %{version}
51
52 %description static
53 XbaeMatrix static library.
54
55 %description static -l pl
56 Biblioteki statyczne XbaeMatrix.
57
58 %prep
59 %setup -q
60 %patch0 -p1
61 %patch1 -p1
62
63 %build
64 %{__libtoolize}
65 %{__aclocal}
66 %{__autoconf}
67 %{__automake}
68 %configure \
69         --enable-shared \
70         --enable-static \
71         --with-editres \
72         --with-x-includes=/usr/X11R6/include
73
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78 install -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
85 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
86
87 rm -f doc/Makefile* doc/images/Makefile*
88
89 %clean
90 rm -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 ChangeLog README NEWS
98 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
99
100 %files devel
101 %defattr(644,root,root,755)
102 %doc FAQ.html doc/*
103 %attr(755,root,root) %{_libdir}/libXbae.so
104 %{_libdir}/libXbae.la
105 %{_includedir}/Xbae
106 %{_aclocaldir}/ac_find_xbae.m4
107 %{_mandir}/man3/*
108
109 %files static
110 %defattr(644,root,root,755)
111 %attr(644,root,root) %{_libdir}/libXbae.a
This page took 0.06619 seconds and 4 git commands to generate.