]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
- -devel R: motif-devel
[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 Requires:       motif-devel >= 1.2
42
43 %description devel
44 XbaeMatrix header files and development documentation.
45
46 %description devel -l pl
47 Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
48
49 %package static
50 Summary:        XbaeMatrix static library
51 Summary(pl):    Biblioteki statyczne XbaeMatrix
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}
54
55 %description static
56 XbaeMatrix static library.
57
58 %description static -l pl
59 Biblioteki statyczne XbaeMatrix.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 %patch1 -p1
65
66 %build
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__automake}
71 %configure \
72         --enable-shared \
73         --enable-static \
74         --with-editres \
75         --with-x-includes=/usr/X11R6/include
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81 install -d $RPM_BUILD_ROOT%{_aclocaldir}
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT \
85         mandir=%{_mandir}
86
87 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
88 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
89
90 rm -f doc/Makefile* doc/images/Makefile*
91
92 %clean
93 rm -rf $RPM_BUILD_ROOT
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %files
99 %defattr(644,root,root,755)
100 %doc AUTHORS COPYING ChangeLog NEWS README
101 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
102
103 %files devel
104 %defattr(644,root,root,755)
105 %doc doc/*
106 %attr(755,root,root) %{_libdir}/libXbae.so
107 %{_libdir}/libXbae.la
108 %{_includedir}/Xbae
109 %{_aclocaldir}/ac_find_xbae.m4
110 %{_mandir}/man3/*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/libXbae.a
This page took 0.054117 seconds and 4 git commands to generate.