]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
- updated to 4.50.95
[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.95
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:  1b4a0666dc9b574b3be5675110906699
10 Patch0:         %{name}-link.patch
11 URL:            http://xbae.sf.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  motif-devel >= 2.0
15 BuildRequires:  %{_aclocaldir}/ac_find_motif.m4
16 BuildRequires:  libtool
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The XbaeMatrix is a Motif-based widget which displays a grid of cells
21 in the same manner as a spreadsheet. The cell array is scrollable,
22 editable, and otherwise reasonably configurable in appearance. Each
23 cell usually displays text, but pixmaps can also be displayed (not
24 editable). The XbaeMatrix looks to some extent like a grid of
25 XmTextField widgets, but is actually implemented with a single
26 XmTextField. This means a big performance improvement due to less
27 overhead.
28
29 %description -l pl
30 XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki z³o¿one z
31 pól w sposób podobny do arkuszy kalkulacyjnych. Tabelê mo¿na przewijaæ
32 i poddawaæ edycji. Ka¿de pole zazwyczaj wy¶wietla tekst, ale mo¿e
33 tak¿e bitmapê (bez mo¿liwo¶ci edycji).
34
35 %package devel
36 Summary:        XbaeMatrix header files and development documentation
37 Summary(pl):    Pliki nag³ówkowe i dokumentacja XbaeMatrix
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}-%{release}
40 Requires:       motif-devel >= 2.0
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}-%{release}
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
64 %build
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__automake}
69 %configure \
70         --enable-shared \
71         --enable-static \
72         --with-editres \
73         --with-x-includes=/usr/X11R6/include
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{_aclocaldir}
80
81 %{__make} install \
82         DESTDIR=$RPM_BUILD_ROOT \
83         mandir=%{_mandir}
84
85 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
86 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
87
88 rm -f doc/Makefile* doc/images/Makefile*
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post   -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
95
96 %files
97 %defattr(644,root,root,755)
98 %doc AUTHORS COPYING ChangeLog NEWS README
99 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
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.061692 seconds and 3 git commands to generate.