]> git.pld-linux.org Git - packages/Xbae.git/blobdiff - Xbae.spec
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
[packages/Xbae.git] / Xbae.spec
index 5e02723be622d7daf27b606075e414beb960a630..dd5efeb5a400fc1e958648a354bc83d105cedeed 100644 (file)
--- a/Xbae.spec
+++ b/Xbae.spec
@@ -2,23 +2,15 @@ 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:       1
+Release:       2
 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
 BuildRequires: automake
 BuildRequires: libtool
-BuildRequires: man2html
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
@@ -44,13 +36,6 @@ tak
 Summary:       XbaeMatrix header files and development documentation
 Summary(pl):   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}
 
 %description devel
@@ -63,14 +48,7 @@ Pliki nag
 Summary:       XbaeMatrix static library
 Summary(pl):   Biblioteki statyczne 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}
 
 %description static
 XbaeMatrix static library.
@@ -83,10 +61,11 @@ Biblioteki statyczne XbaeMatrix.
 %patch0 -p1
 
 %build
-libtoolize -c -f
+rm -f missing
+libtoolize --copy --force
 aclocal
-autoconf
-automake -a -c
+%{__autoconf}
+%{__automake}
 %configure \
        --enable-shared \
        --enable-static \
@@ -100,14 +79,13 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_aclocaldir}
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       htmldir=/htmldoc
-
-mv -f $RPM_BUILD_ROOT/htmldoc
+       DESTDIR=$RPM_BUILD_ROOT
 
 # 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
@@ -123,7 +101,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc FAQ.html htmldoc
+%doc FAQ.html doc/*
 %attr(755,root,root) %{_libdir}/libXbae.so
 %attr(755,root,root) %{_libdir}/libXbae.la
 %{_includedir}/Xbae
This page took 0.091893 seconds and 4 git commands to generate.