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