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