X-Git-Url: http://git.pld-linux.org/?p=packages%2FXbae.git;a=blobdiff_plain;f=Xbae.spec;h=843611a6592f32ea8e11ce500a40d05a0ad05436;hp=db2fd603baebffc1a5f1ff5df2cc15de4e7efc98;hb=57d06168521ec93a1a2726afc2f8a75afe75cbdb;hpb=a9d55fb348fcbc7f8b8de6a2d9a40cccd596dd85 diff --git a/Xbae.spec b/Xbae.spec index db2fd60..843611a 100644 --- a/Xbae.spec +++ b/Xbae.spec @@ -1,31 +1,25 @@ +%define srcname 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: 1 +Version: 4.60.4 +Release: 4 License: BSD-like (Bell Communications Research) Group: X11/Libraries -Group(de): X11/Libraries -Group(es): X11/Bibliotecas -Group(fr): X11/Librairies -Group(pl): X11/Biblioteki -Group(pt_BR): X11/Bibliotecas -Group(ru): X11/âÉÂÌÉÏÔÅËÉ -Group(uk): X11/â¦Â̦ÏÔÅËÉ -Source0: ftp://ftp.lesstif.org/pub/hungry/lesstif/srcdist/%{name}-%{version}.tar.gz -Patch0: %{name}-link.patch -BuildRequires: lesstif-devel -BuildRequires: autoconf +Source0: http://downloads.sourceforge.net/xbae/%{srcname}-%{version}.tar.gz +# Source0-md5: 9690059474bb05191dccd041ff5052bd +Patch0: %{name}-ac.patch +Patch1: %{name}-am.patch +URL: http://xbae.sourceforge.net/ +BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: libtool -BuildRequires: man2html +BuildRequires: motif-devel >= 2.0 +BuildRequires: xorg-lib-libXmu-devel +BuildRequires: xorg-lib-libXpm-devel 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, editable, and otherwise reasonably configurable in appearance. Each @@ -35,94 +29,89 @@ 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 -Group(de): X11/Entwicklung/Libraries -Group(es): X11/Desarrollo/Bibliotecas -Group(fr): X11/Development/Librairies -Group(pl): X11/Programowanie/Biblioteki -Group(pt_BR): X11/Desenvolvimento/Bibliotecas -Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ -Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ -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): Biblioteka statyczna XbaeMatrix Group: X11/Development/Libraries -Group(de): X11/Entwicklung/Libraries -Group(es): X11/Desarrollo/Bibliotecas -Group(fr): X11/Development/Librairies -Group(pl): X11/Programowanie/Biblioteki -Group(pt_BR): X11/Desenvolvimento/Bibliotecas -Group(ru): X11/òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ -Group(uk): X11/òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ -Requires: %{name} = %{version} +Requires: %{name}-devel = %{version}-%{release} %description static XbaeMatrix static library. -%description static -l pl -Biblioteki statyczne XbaeMatrix. +%description static -l pl.UTF-8 +Biblioteka statyczna XbaeMatrix. %prep -%setup -q +%setup -q -n %{srcname}-%{version} %patch0 -p1 +%patch1 -p1 %build -libtoolize -c -f -aclocal -autoconf -automake -a -c +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure \ --enable-shared \ --enable-static \ --with-editres +%{__make} + %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_aclocaldir} %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT + DESTDIR=$RPM_BUILD_ROOT \ + mandir=%{_mandir} -install -d $RPM_BUILD_ROOT%{_aclocaldir} -install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir} +# workaround - configure decides not to install *.m4 if aclocaldir is not writable +install ac_find_xbae.m4 $RPM_BUILD_ROOT%{_aclocaldir} -gzip -9nf AUTHORS ChangeLog README FAQ.html NEWS doc/*.html +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) -%attr(755,root,root) %{_libdir}/libXbae.so.*.* +%doc AUTHORS COPYING ChangeLog NEWS README +%attr(755,root,root) %{_libdir}/libXbae.so.*.*.* +%attr(755,root,root) %ghost %{_libdir}/libXbae.so.4 +%{_datadir}/Xbae %files devel %defattr(644,root,root,755) -%doc {AUTHORS,ChangeLog,README,FAQ.html,NEWS}.gz doc/*.html.gz doc/images/*.png +%doc doc/* %attr(755,root,root) %{_libdir}/libXbae.so -%attr(755,root,root) %{_libdir}/libXbae.la +%{_libdir}/libXbae.la %{_includedir}/Xbae %{_aclocaldir}/ac_find_xbae.m4 -%{_mandir}/man3/* +%{_mandir}/man3/Xbae*.3* %files static %defattr(644,root,root,755) -%attr(644,root,root) %{_libdir}/libXbae.a +%{_libdir}/libXbae.a