]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
- added "rm -f missing" on top %build.
[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 rm -f missing
86 libtoolize --copy --force
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.074668 seconds and 3 git commands to generate.