X-Git-Url: http://git.pld-linux.org/?p=packages%2FXbae.git;a=blobdiff_plain;f=Xbae.spec;h=0f3fdeb9505b9067996e6192be63f95daecf43b4;hp=76c4dfc8cb6e10d76165e55e414880d1641e16f9;hb=2bd27c32257e8f19cdbf7f4261db282bf62ca137;hpb=517d95df03481f70a545e4ccf0319f7df278c3ad diff --git a/Xbae.spec b/Xbae.spec index 76c4dfc..0f3fdeb 100644 --- a/Xbae.spec +++ b/Xbae.spec @@ -1,22 +1,21 @@ +%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.9.1 -Release: 2 +Version: 4.60.4 +Release: 1 License: BSD-like (Bell Communications Research) Group: X11/Libraries -Source0: ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz -# Source0-md5: d20e2f688cb440a186ecd99e19de9fcf -Patch0: %{name}-link.patch +Source0: http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz +# Source0-md5: 9690059474bb05191dccd041ff5052bd +Patch0: %{name}-ac.patch +URL: http://xbae.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake -BuildRequires: lesstif-devel BuildRequires: libtool +BuildRequires: motif-devel >= 2.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 -%define _mandir %{_prefix}/man - %description The XbaeMatrix is a Motif-based widget which displays a grid of cells in the same manner as a spreadsheet. The cell array is scrollable, @@ -27,42 +26,42 @@ 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 +%setup -q -n %{_truename}-%{version} %patch0 -p1 %build -rm -f missing %{__libtoolize} %{__aclocal} %{__autoconf} @@ -70,8 +69,7 @@ rm -f missing %configure \ --enable-shared \ --enable-static \ - --with-editres \ - --with-x-includes=/usr/X11R6/include + --with-editres %{__make} @@ -80,7 +78,8 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_aclocaldir} %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT + DESTDIR=$RPM_BUILD_ROOT \ + mandir=%{_mandir} # workaround - configure decides not to install *.m4 if aclocaldir is not writable install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir} @@ -90,17 +89,18 @@ 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 ChangeLog README NEWS +%doc AUTHORS COPYING ChangeLog NEWS README %attr(755,root,root) %{_libdir}/libXbae.so.*.* +%{_datadir}/Xbae %files devel %defattr(644,root,root,755) -%doc FAQ.html doc/* +%doc doc/* %attr(755,root,root) %{_libdir}/libXbae.so %{_libdir}/libXbae.la %{_includedir}/Xbae @@ -109,4 +109,4 @@ rm -rf $RPM_BUILD_ROOT %files static %defattr(644,root,root,755) -%attr(644,root,root) %{_libdir}/libXbae.a +%{_libdir}/libXbae.a