56 lines
1.6 KiB
RPMSpec
56 lines
1.6 KiB
RPMSpec
|
# $Id: fbida.spec,v 1.1 2004/12/17 18:54:17 scop Exp $
|
||
|
|
||
|
Summary: FrameBuffer Imageviewer
|
||
|
Name: fbida
|
||
|
Version: 2.02
|
||
|
Release: 1
|
||
|
License: GPL
|
||
|
Group: Applications/Multimedia
|
||
|
URL: http://linux.bytesex.org/fbida/
|
||
|
Source: http://dl.bytesex.org/releases/fbida/fbida-2.02.tar.gz
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
BuildRequires: libexif-devel fontconfig-devel libjpeg-devel
|
||
|
BuildRequires: libpng-devel libtiff-devel pkgconfig
|
||
|
BuildRequires: libungif-devel curl-devel
|
||
|
Requires: ImageMagick bitstream-vera-fonts
|
||
|
|
||
|
%description
|
||
|
fbi displays the specified file(s) on the linux console using the
|
||
|
framebuffer device. PhotoCD, jpeg, ppm, gif, tiff, xwd, bmp and png
|
||
|
are supported directly. For other formats fbi tries to use
|
||
|
ImageMagick's convert.
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
prefix=%{_prefix} CFLAGS=$RPM_OPT_FLAGS %{__make} %{?_smp_mflags}
|
||
|
|
||
|
%install
|
||
|
%{__rm} -rf %{buildroot}
|
||
|
iconv -t UTF-8 -f ISO-8859-1 fbi.man > fbi.man.new
|
||
|
iconv -t UTF-8 -f ISO-8859-1 exiftran.man > exiftran.man.new
|
||
|
%{__mv} fbi.man.new fbi.man
|
||
|
%{__mv} exiftran.man.new exiftran.man
|
||
|
prefix=%{_prefix} %{__make} DESTDIR=%{buildroot} install
|
||
|
# currently no fbgs due to dependency on ghostscript
|
||
|
%{__rm} %{buildroot}%{_bindir}/fbgs
|
||
|
%{__rm} %{buildroot}%{_mandir}/man1/fbgs.1
|
||
|
|
||
|
%clean
|
||
|
%{__rm} -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root, 0755)
|
||
|
%doc Changes COPYING README TODO
|
||
|
%doc %{_mandir}/man1/*
|
||
|
%{_bindir}/*
|
||
|
|
||
|
%changelog
|
||
|
* Sun Nov 28 2004 Adrian Reber <adrian@lisas.de> - 2.02-1
|
||
|
- updated to 2.02
|
||
|
- converted manpages to UTF-8
|
||
|
|
||
|
* Sun Nov 28 2004 Adrian Reber <adrian@lisas.de> - 2.01-1
|
||
|
- initial package
|