]> git.pld-linux.org Git - packages/Xbae.git/blobdiff - Xbae.spec
- fix ac2.60 vs pdksh
[packages/Xbae.git] / Xbae.spec
index cb0d8573841d95af4866391a1450188c2bb3d793..ec02685bc9435b098879c9a29c79176b2532d351 100644 (file)
--- a/Xbae.spec
+++ b/Xbae.spec
@@ -1,21 +1,18 @@
+%define                _truename xbae
 Summary:       The XbaeMatrix is a Motif-based widget which displays a grid of cells
-Summary(pl):   XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki
+Summary(pl.UTF-8):     XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
 Name:          Xbae
-Version:       4.50.2
+Version:       4.60.4
 Release:       1
 License:       BSD-like (Bell Communications Research)
 Group:         X11/Libraries
-Source0:       http://dl.sourceforge.net/xbae/%{name}-%{version}.tar.gz
-# Source0-md5: f6785c3afc37bd1a5691172d73d1ae81
-Patch0:                %{name}-link.patch
-Patch1:                %{name}-am18.patch
-URL:           http://xbae.sf.net/
+Source0:       http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz
+# Source0-md5: 9690059474bb05191dccd041ff5052bd
+URL:           http://xbae.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: automake
-# it requires lesstif with motif >= 1.2 implementation
-BuildRequires: lesstif-devel
-BuildRequires: motif-devel >= 1.2
 BuildRequires: libtool
+BuildRequires: motif-devel >= 2.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -28,40 +25,39 @@ XmTextField widgets, but is actually implemented with a single
 XmTextField. This means a big performance improvement due to less
 overhead.
 
-%description -l pl
-XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki z³o¿one z
-pól w sposób podobny do arkuszy kalkulacyjnych. Tabelê mo¿na przewijaæ
-i poddawaæ edycji. Ka¿de pole zazwyczaj wy¶wietla tekst, ale mo¿e
-tak¿e bitmapê (bez mo¿liwo¶ci edycji).
+%description -l pl.UTF-8
+XbaeMatrix jest motifowym widgetem wyświetlającym tabelki złożone z
+pól w sposób podobny do arkuszy kalkulacyjnych. Tabelę można przewijać
+i poddawać edycji. Każde pole zazwyczaj wyświetla tekst, ale może
+także bitmapę (bez możliwości edycji).
 
 %package devel
 Summary:       XbaeMatrix header files and development documentation
-Summary(pl):   Pliki nag³ówkowe i dokumentacja XbaeMatrix
+Summary(pl.UTF-8):     Pliki nagłówkowe i dokumentacja XbaeMatrix
 Group:         X11/Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
+Requires:      motif-devel >= 2.0
 
 %description devel
 XbaeMatrix header files and development documentation.
 
-%description devel -l pl
-Pliki nag³ówkowe i dokumentacja programisty do XbaeMatrix.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
 
 %package static
 Summary:       XbaeMatrix static library
-Summary(pl):   Biblioteki statyczne XbaeMatrix
+Summary(pl.UTF-8):     Biblioteki statyczne XbaeMatrix
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 XbaeMatrix static library.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Biblioteki statyczne XbaeMatrix.
 
 %prep
-%setup -q
-%patch0 -p1
-%patch1 -p1
+%setup -q -n %{_truename}-%{version}
 
 %build
 %{__libtoolize}
@@ -71,8 +67,7 @@ Biblioteki statyczne XbaeMatrix.
 %configure \
        --enable-shared \
        --enable-static \
-       --with-editres \
-       --with-x-includes=/usr/X11R6/include
+       --with-editres
 
 %{__make}
 
@@ -92,23 +87,23 @@ rm -f doc/Makefile* doc/images/Makefile*
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
+%{_datadir}/Xbae
 
 %files devel
 %defattr(644,root,root,755)
 %doc doc/*
 %attr(755,root,root) %{_libdir}/libXbae.so
-%{_libdir}/libXbae.la
 %{_includedir}/Xbae
 %{_aclocaldir}/ac_find_xbae.m4
 %{_mandir}/man3/*
 
 %files static
 %defattr(644,root,root,755)
-%attr(644,root,root) %{_libdir}/libXbae.a
+%{_libdir}/libXbae.a
This page took 0.078622 seconds and 4 git commands to generate.