applied patch from thl to fix x86_64 build errors

This commit is contained in:
Adrian Reber 2005-02-12 21:23:06 +00:00
parent f993d633b8
commit 9bde330865
1 changed files with 8 additions and 5 deletions

View File

@ -1,9 +1,9 @@
# $Id: fbida.spec,v 1.3 2005/02/11 22:47:20 adrian Exp $
# $Id: fbida.spec,v 1.4 2005/02/12 21:23:06 adrian Exp $
Summary: FrameBuffer Imageviewer
Name: fbida
Version: 2.03
Release: 1
Release: 2
License: GPL
Group: Applications/Multimedia
URL: http://linux.bytesex.org/fbida/
@ -41,7 +41,7 @@ A wrapper script for viewing ps/pdf files on the framebuffer console using fbi
%setup -q
%build
prefix=%{_prefix} CFLAGS=$RPM_OPT_FLAGS %{__make} %{?_smp_mflags}
lib=%{_lib} prefix=%{_prefix} CFLAGS=$RPM_OPT_FLAGS %{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
@ -53,7 +53,7 @@ iconv -t UTF-8 -f ISO-8859-1 fbgs.man > fbgs.man.new
%{__mv} exiftran.man.new exiftran.man
%{__mv} ida.man.new ida.man
%{__mv} fbgs.man.new fbgs.man
prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install
lib=%{_lib} prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install
%clean
%{__rm} -rf %{buildroot}
@ -70,7 +70,7 @@ prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install
%defattr(-, root, root, -)
%doc %{_mandir}/man1/ida*
%{_bindir}/ida
%config /usr/X11R6/lib/X11/app-defaults/Ida
%config %{_prefix}/X11R6/lib/X11/app-defaults/Ida
%files fbgs
%defattr(-, root, root, -)
@ -78,6 +78,9 @@ prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install
%{_bindir}/fbgs
%changelog
* Sat Feb 12 2005 Thorsten Leemhuis <fedora at leemhuis dot info> - 2.03-2
- lib=%%{_lib} in make call; fixes x86_64
* Fri Feb 11 2005 Adrian Reber <adrian@lisas.de> - 2.03-1
- updated to 2.03
- created subpackages for ida and fbgs