]> git.pld-linux.org Git - packages/Xbae.git/blob - Xbae.spec
fd90543418b0ffe0b6ef2818ac684603ad08a4d6
[packages/Xbae.git] / Xbae.spec
1 %define         srcname xbae
2 Summary:        The XbaeMatrix is a Motif-based widget which displays a grid of cells
3 Summary(pl.UTF-8):      XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
4 Name:           Xbae
5 Version:        4.60.4
6 Release:        3
7 License:        BSD-like (Bell Communications Research)
8 Group:          X11/Libraries
9 Source0:        http://downloads.sourceforge.net/xbae/%{srcname}-%{version}.tar.gz
10 # Source0-md5:  9690059474bb05191dccd041ff5052bd
11 Patch0:         %{name}-ac.patch
12 Patch1:         %{name}-am.patch
13 URL:            http://xbae.sourceforge.net/
14 BuildRequires:  autoconf >= 2.50
15 BuildRequires:  automake
16 BuildRequires:  libtool
17 BuildRequires:  motif-devel >= 2.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.UTF-8
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.UTF-8):      Pliki nagłówkowe i dokumentacja XbaeMatrix
39 Group:          X11/Development/Libraries
40 Requires:       %{name} = %{version}-%{release}
41 Requires:       motif-devel >= 2.0
42
43 %description devel
44 XbaeMatrix header files and development documentation.
45
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
48
49 %package static
50 Summary:        XbaeMatrix static library
51 Summary(pl.UTF-8):      Biblioteka statyczna XbaeMatrix
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}-%{release}
54
55 %description static
56 XbaeMatrix static library.
57
58 %description static -l pl.UTF-8
59 Biblioteka statyczna XbaeMatrix.
60
61 %prep
62 %setup -q -n %{srcname}-%{version}
63 %patch0 -p1
64 %patch1 -p1
65
66 %build
67 %{__libtoolize}
68 %{__aclocal}
69 %{__autoconf}
70 %{__automake}
71 %configure \
72         --enable-shared \
73         --enable-static \
74         --with-editres
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         mandir=%{_mandir}
85
86 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
87 install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
88
89 rm -f doc/Makefile* doc/images/Makefile*
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING ChangeLog NEWS README
100 %attr(755,root,root) %{_libdir}/libXbae.so.*.*.*
101 %attr(755,root,root) %ghost %{_libdir}/libXbae.so.4
102 %{_datadir}/Xbae
103
104 %files devel
105 %defattr(644,root,root,755)
106 %doc doc/*
107 %attr(755,root,root) %{_libdir}/libXbae.so
108 %{_libdir}/libXbae.la
109 %{_includedir}/Xbae
110 %{_aclocaldir}/ac_find_xbae.m4
111 %{_mandir}/man3/Xbae*.3*
112
113 %files static
114 %defattr(644,root,root,755)
115 %{_libdir}/libXbae.a
This page took 0.046141 seconds and 2 git commands to generate.