]> git.pld-linux.org Git - packages/Xbae.git/blame_incremental - Xbae.spec
- rebuild without libjpeg.la
[packages/Xbae.git] / Xbae.spec
... / ...
CommitLineData
1%define srcname xbae
2Summary: The XbaeMatrix is a Motif-based widget which displays a grid of cells
3Summary(pl.UTF-8): XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
4Name: Xbae
5Version: 4.60.4
6Release: 6
7License: BSD-like (Bell Communications Research)
8Group: X11/Libraries
9Source0: http://downloads.sourceforge.net/xbae/%{srcname}-%{version}.tar.gz
10# Source0-md5: 9690059474bb05191dccd041ff5052bd
11Patch0: %{name}-ac.patch
12Patch1: %{name}-am.patch
13URL: http://xbae.sourceforge.net/
14BuildRequires: autoconf >= 2.50
15BuildRequires: automake
16BuildRequires: libtool
17BuildRequires: motif-devel >= 2.0
18BuildRequires: xorg-lib-libXmu-devel
19BuildRequires: xorg-lib-libXpm-devel
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23The XbaeMatrix is a Motif-based widget which displays a grid of cells
24in the same manner as a spreadsheet. The cell array is scrollable,
25editable, and otherwise reasonably configurable in appearance. Each
26cell usually displays text, but pixmaps can also be displayed (not
27editable). The XbaeMatrix looks to some extent like a grid of
28XmTextField widgets, but is actually implemented with a single
29XmTextField. This means a big performance improvement due to less
30overhead.
31
32%description -l pl.UTF-8
33XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z
34pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać
35i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może
36także bitmapę (bez możliwości edycji).
37
38%package devel
39Summary: XbaeMatrix header files and development documentation
40Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja XbaeMatrix
41Group: X11/Development/Libraries
42Requires: %{name} = %{version}-%{release}
43Requires: motif-devel >= 2.0
44
45%description devel
46XbaeMatrix header files and development documentation.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
50
51%package static
52Summary: XbaeMatrix static library
53Summary(pl.UTF-8): Biblioteka statyczna XbaeMatrix
54Group: X11/Development/Libraries
55Requires: %{name}-devel = %{version}-%{release}
56
57%description static
58XbaeMatrix static library.
59
60%description static -l pl.UTF-8
61Biblioteka statyczna XbaeMatrix.
62
63%prep
64%setup -q -n %{srcname}-%{version}
65%patch0 -p1
66%patch1 -p1
67
68%build
69%{__libtoolize}
70%{__aclocal}
71%{__autoconf}
72%{__automake}
73%configure \
74 --enable-shared \
75 --enable-static \
76 --with-editres
77
78%{__make}
79
80%install
81rm -rf $RPM_BUILD_ROOT
82install -d $RPM_BUILD_ROOT%{_aclocaldir}
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT \
86 mandir=%{_mandir}
87
88# workaround - configure decides not to install *.m4 if aclocaldir is not writable
89install ac_find_xbae.m4 $RPM_BUILD_ROOT%{_aclocaldir}
90
91rm -f doc/Makefile* doc/images/Makefile*
92
93%clean
94rm -rf $RPM_BUILD_ROOT
95
96%post -p /sbin/ldconfig
97%postun -p /sbin/ldconfig
98
99%files
100%defattr(644,root,root,755)
101%doc AUTHORS COPYING ChangeLog NEWS README
102%attr(755,root,root) %{_libdir}/libXbae.so.*.*.*
103%attr(755,root,root) %ghost %{_libdir}/libXbae.so.4
104%{_datadir}/Xbae
105
106%files devel
107%defattr(644,root,root,755)
108%doc doc/*
109%attr(755,root,root) %{_libdir}/libXbae.so
110%{_libdir}/libXbae.la
111%{_includedir}/Xbae
112%{_aclocaldir}/ac_find_xbae.m4
113%{_mandir}/man3/Xbae*.3*
114
115%files static
116%defattr(644,root,root,755)
117%{_libdir}/libXbae.a
This page took 0.064559 seconds and 5 git commands to generate.