]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"
[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:        2
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 Patch0:         %{name}-link.patch
10 BuildRequires:  lesstif-devel
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define         _prefix         /usr/X11R6
17 %define         _mandir         %{_prefix}/man
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}
40
41 %description devel
42 XbaeMatrix header files and development documentation.
43
44 %description devel -l pl
45 Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
46
47 %package static
48 Summary:        XbaeMatrix static library
49 Summary(pl):    Biblioteki statyczne XbaeMatrix
50 Group:          X11/Development/Libraries
51 Requires:       %{name}-devel = %{version}
52
53 %description static
54 XbaeMatrix static library.
55
56 %description static -l pl
57 Biblioteki statyczne XbaeMatrix.
58
59 %prep
60 %setup -q
61 %patch0 -p1
62
63 %build
64 rm -f missing
65 libtoolize --copy --force
66 aclocal
67 autoconf
68 automake -a -c -f
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
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 gzip -9nf AUTHORS ChangeLog README NEWS
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,ChangeLog,README,NEWS}.gz
100 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
101
102 %files devel
103 %defattr(644,root,root,755)
104 %doc FAQ.html doc/*
105 %attr(755,root,root) %{_libdir}/libXbae.so
106 %attr(755,root,root) %{_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 %attr(644,root,root) %{_libdir}/libXbae.a
This page took 0.082205 seconds and 4 git commands to generate.