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