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