]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
db2fd603baebffc1a5f1ff5df2cc15de4e7efc98
[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:        1
6 License:        BSD-like (Bell Communications Research)
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:  man2html
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 Group:          X11/Development/Libraries
48 Group(de):      X11/Entwicklung/Libraries
49 Group(es):      X11/Desarrollo/Bibliotecas
50 Group(fr):      X11/Development/Librairies
51 Group(pl):      X11/Programowanie/Biblioteki
52 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
53 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
54 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
55 Requires:       %{name} = %{version}
56
57 %description devel
58 XbaeMatrix header files and development documentation.
59
60 %description devel -l pl
61 Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
62
63 %package static
64 Summary:        XbaeMatrix static library
65 Summary(pl):    Biblioteki statyczne XbaeMatrix
66 Group:          X11/Development/Libraries
67 Group(de):      X11/Entwicklung/Libraries
68 Group(es):      X11/Desarrollo/Bibliotecas
69 Group(fr):      X11/Development/Librairies
70 Group(pl):      X11/Programowanie/Biblioteki
71 Group(pt_BR):   X11/Desenvolvimento/Bibliotecas
72 Group(ru):      X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
73 Group(uk):      X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
74 Requires:       %{name} = %{version}
75
76 %description static
77 XbaeMatrix static library.
78
79 %description static -l pl
80 Biblioteki statyczne XbaeMatrix.
81
82 %prep
83 %setup -q
84 %patch0 -p1
85
86 %build
87 libtoolize -c -f
88 aclocal
89 autoconf
90 automake -a -c
91 %configure \
92         --enable-shared \
93         --enable-static \
94         --with-editres
95
96 %install
97 rm -rf $RPM_BUILD_ROOT
98
99 %{__make} install \
100         DESTDIR=$RPM_BUILD_ROOT
101
102 install -d $RPM_BUILD_ROOT%{_aclocaldir}
103 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
104
105 gzip -9nf AUTHORS ChangeLog README FAQ.html NEWS doc/*.html
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %post   -p /sbin/ldconfig
111 %postun -p /sbin/ldconfig
112
113 %files
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
116
117 %files devel
118 %defattr(644,root,root,755)
119 %doc {AUTHORS,ChangeLog,README,FAQ.html,NEWS}.gz doc/*.html.gz doc/images/*.png
120 %attr(755,root,root) %{_libdir}/libXbae.so
121 %attr(755,root,root) %{_libdir}/libXbae.la
122 %{_includedir}/Xbae
123 %{_aclocaldir}/ac_find_xbae.m4
124 %{_mandir}/man3/*
125
126 %files static
127 %defattr(644,root,root,755)
128 %attr(644,root,root) %{_libdir}/libXbae.a
This page took 0.050713 seconds and 2 git commands to generate.