]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
- based on rev. 1.46 of lesstif spec
[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 Copyright:      Bell Communications Research (distributable)
4 Name:           Xbae
5 Version:        4.9.1
6 Release:        1
7 Group:          X11/Libraries
8 Group(de):      X11/Libraries
9 Group(es):      X11/Bibliotecas
10 Group(fr):      X11/Librairies
11 Group(pl):      X11/Biblioteki
12 Group(pt_BR):   X11/Bibliotecas
13 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
14 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
15 Source0:        ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz
16 Patch0:         %{name}-link.patch
17 BuildRequires:  lesstif-devel
18 BuildRequires:  autoconf
19 BuildRequires:  automake
20 BuildRequires:  libtool
21 BuildRequires:  lynx
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _prefix         /usr/X11R6
25 %define         _mandir         %{_prefix}/man
26
27 %description
28
29 The XbaeMatrix is a Motif-based widget which displays a grid of cells
30 in the same manner as a spreadsheet. The cell array is scrollable,
31 editable, and otherwise reasonably configurable in appearance. Each
32 cell usually displays text, but pixmaps can also be displayed (not
33 editable). The XbaeMatrix looks to some extent like a grid of
34 XmTextField widgets, but is actually implemented with a single
35 XmTextField. This means a big performance improvement due to less
36 overhead.
37
38 %description -l pl
39 XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki z³o¿one z
40 pól w sposób podobny do arkuszy kalkulacyjnych. Tabelê mo¿na przewijaæ
41 i poddawaæ edycji. Ka¿de pole zazwyczaj wy¶wietla tekst, ale mo¿e
42 tak¿e bitmapê (bez mo¿liwo¶ci edycji).
43
44 %package devel
45 Summary:        XbaeMatrix header files and development documentation
46 Summary(pl):    Pliki nag³ówkowe i dokumentacja XbaeMatrix
47 License:        LGPL
48 Group:          X11/Development/Libraries
49 Group(de):      X11/Entwicklung/Libraries
50 Group(es):      X11/Desarrollo/Bibliotecas
51 Group(fr):      X11/Development/Librairies
52 Group(pl):      X11/Programowanie/Biblioteki
53 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
54 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
55 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
56 Requires:       %{name} = %{version}
57
58 %description devel
59 XbaeMatrix header files and development documentation.
60
61 %description devel -l pl
62 Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
63
64 %package static
65 Summary:        XbaeMatrix static library
66 Summary(pl):    Biblioteki statyczne XbaeMatrix
67 License:        LGPL
68 Group:          X11/Development/Libraries
69 Group(de):      X11/Entwicklung/Libraries
70 Group(es):      X11/Desarrollo/Bibliotecas
71 Group(fr):      X11/Development/Librairies
72 Group(pl):      X11/Programowanie/Biblioteki
73 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
74 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
75 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
76 Requires:       %{name} = %{version}
77
78 %description static
79 XbaeMatrix static library.
80
81 %description static -l pl
82 Biblioteki statyczne XbaeMatrix.
83
84 %prep
85 %setup -q
86 %patch0 -p1
87
88 %build
89 libtoolize -c -f
90 aclocal
91 autoconf
92 automake -a -c
93 %configure \
94         --enable-shared \
95         --enable-static \
96         --with-editres
97
98 %install
99 rm -rf $RPM_BUILD_ROOT
100
101 %{__make} install \
102         DESTDIR=$RPM_BUILD_ROOT
103
104 install -d $RPM_BUILD_ROOT%{_aclocaldir}
105 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
106
107 gzip -9nf AUTHORS ChangeLog README FAQ.html NEWS doc/*.html
108
109 %post   -p /sbin/ldconfig
110 %postun -p /sbin/ldconfig
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %files
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
118
119 %files devel
120 %defattr(644,root,root,755)
121 %doc {AUTHORS,ChangeLog,README,FAQ.html,NEWS}.gz doc/*.html.gz doc/images/*.png
122 %attr(755,root,root) %{_libdir}/libXbae.so
123 %attr(755,root,root) %{_libdir}/libXbae.la
124 %{_includedir}/Xbae
125 %{_aclocaldir}/ac_find_xbae.m4
126 %{_mandir}/man3/*
127
128 %files static
129 %defattr(644,root,root,755)
130 %attr(644,root,root) %{_libdir}/libXbae.a
This page took 0.108387 seconds and 3 git commands to generate.