]> git.pld-linux.org Git - packages/Xbae.git/blobdiff - Xbae.spec
- updated for 4.50.5
[packages/Xbae.git] / Xbae.spec
index 4b7a35e091914887caa3e0023dce99a8f87e2e38..1dd95bd3b3baca4b410a0ffc7a9290aaec6f2b6e 100644 (file)
--- a/Xbae.spec
+++ b/Xbae.spec
@@ -1,21 +1,22 @@
 Summary:       The XbaeMatrix is a Motif-based widget which displays a grid of cells
 Summary(pl):   XbaeMatrix jest motifowym widgetem wy¶wietlaj±cym tabelki
 Name:          Xbae
-Version:       4.9.1
-Release:       2
+Version:       4.50.5
+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:       http://dl.sourceforge.net/xbae/%{name}-%{version}.tar.gz
+# Source0-md5: 70281c2a34225da1d409af7fe60128ba
 Patch0:                %{name}-link.patch
-BuildRequires: lesstif-devel
+Patch1:                %{name}-am18.patch
+URL:           http://xbae.sf.net/
 BuildRequires: autoconf
 BuildRequires: automake
+BuildRequires: motif-devel >= 2.0
+BuildRequires: %{_aclocaldir}/ac_find_motif.m4
 BuildRequires: libtool
 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,
@@ -37,6 +38,7 @@ Summary:      XbaeMatrix header files and development documentation
 Summary(pl):   Pliki nag³ówkowe i dokumentacja XbaeMatrix
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}
+Requires:      motif-devel >= 1.2
 
 %description devel
 XbaeMatrix header files and development documentation.
@@ -59,13 +61,13 @@ Biblioteki statyczne XbaeMatrix.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-rm -f missing
-libtoolize --copy --force
-aclocal
-autoconf
-automake -a -c -f
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
 %configure \
        --enable-shared \
        --enable-static \
@@ -79,15 +81,14 @@ 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}
 
 rm -f doc/Makefile* doc/images/Makefile*
 
-gzip -9nf AUTHORS ChangeLog README NEWS
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -96,18 +97,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc {AUTHORS,ChangeLog,README,NEWS}.gz
+%doc AUTHORS COPYING ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libXbae.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc FAQ.html doc/*
+%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/*
 
 %files static
 %defattr(644,root,root,755)
-%attr(644,root,root) %{_libdir}/libXbae.a
+%{_libdir}/libXbae.a
This page took 0.083255 seconds and 4 git commands to generate.