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