]> git.pld-linux.org Git - packages/Xbae.git/blobdiff - Xbae.spec
- rebuild without libjpeg.la
[packages/Xbae.git] / Xbae.spec
index ec02685bc9435b098879c9a29c79176b2532d351..de2029da34edd304f42dc125bf3e18bb270bb004 100644 (file)
--- a/Xbae.spec
+++ b/Xbae.spec
@@ -1,18 +1,22 @@
-%define                _truename xbae
+%define                srcname xbae
 Summary:       The XbaeMatrix is a Motif-based widget which displays a grid of cells
 Summary(pl.UTF-8):     XbaeMatrix jest motifowym widgetem wyświetlającym tabelki
 Name:          Xbae
 Version:       4.60.4
-Release:       1
+Release:       6
 License:       BSD-like (Bell Communications Research)
 Group:         X11/Libraries
-Source0:       http://dl.sourceforge.net/xbae/%{_truename}-%{version}.tar.gz
+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
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: motif-devel >= 2.0
+BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-lib-libXpm-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -46,7 +50,7 @@ Pliki nagłówkowe i dokumentacja programisty do XbaeMatrix.
 
 %package static
 Summary:       XbaeMatrix static library
-Summary(pl.UTF-8):     Biblioteki statyczne XbaeMatrix
+Summary(pl.UTF-8):     Biblioteka statyczna XbaeMatrix
 Group:         X11/Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
@@ -54,10 +58,12 @@ Requires:   %{name}-devel = %{version}-%{release}
 XbaeMatrix static library.
 
 %description static -l pl.UTF-8
-Biblioteki statyczne XbaeMatrix.
+Biblioteka statyczna XbaeMatrix.
 
 %prep
-%setup -q -n %{_truename}-%{version}
+%setup -q -n %{srcname}-%{version}
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -80,7 +86,7 @@ install -d $RPM_BUILD_ROOT%{_aclocaldir}
        mandir=%{_mandir}
 
 # workaround - configure decides not to install *.m4 if aclocaldir is not writable
-install ac_find_*.m4 $RPM_BUILD_ROOT%{_aclocaldir}
+install ac_find_xbae.m4 $RPM_BUILD_ROOT%{_aclocaldir}
 
 rm -f doc/Makefile* doc/images/Makefile*
 
@@ -93,16 +99,18 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog NEWS README
-%attr(755,root,root) %{_libdir}/libXbae.so.*.*
+%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 doc/*
 %attr(755,root,root) %{_libdir}/libXbae.so
+%{_libdir}/libXbae.la
 %{_includedir}/Xbae
 %{_aclocaldir}/ac_find_xbae.m4
-%{_mandir}/man3/*
+%{_mandir}/man3/Xbae*.3*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.077508 seconds and 4 git commands to generate.