]> git.pld-linux.org Git - packages/Xbae.git/blobdiff - Xbae.spec
- updated to 4.50.95
[packages/Xbae.git] / Xbae.spec
index 7406082d8732e579eddab2b232f311596fbebb26..bad19aa58ad4f9ff2661eb08a8955c8b7b388fa7 100644 (file)
--- a/Xbae.spec
+++ b/Xbae.spec
@@ -1,21 +1,21 @@
 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.95
+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: 1b4a0666dc9b574b3be5675110906699
 Patch0:                %{name}-link.patch
-BuildRequires: lesstif-devel
+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,
@@ -36,7 +36,8 @@ tak
 Summary:       XbaeMatrix header files and development documentation
 Summary(pl):   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.
@@ -48,7 +49,7 @@ Pliki nag
 Summary:       XbaeMatrix static library
 Summary(pl):   Biblioteki statyczne XbaeMatrix
 Group:         X11/Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 XbaeMatrix static library.
@@ -61,7 +62,6 @@ Biblioteki statyczne XbaeMatrix.
 %patch0 -p1
 
 %build
-rm -f missing
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
@@ -79,15 +79,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,12 +95,12 @@ 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
 %{_libdir}/libXbae.la
 %{_includedir}/Xbae
@@ -110,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
This page took 0.106503 seconds and 4 git commands to generate.