File fbv.spec of Package fbv
# norootforbuild
Name: fbv
BuildRequires: libjpeg-devel
Version: 0.0.6
Release: 1
Summary: A small program to show a JPEG image on frame buffer
License: GPL-2.0+
Group: Productivity/Graphics/Viewers
Source: fbv-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
fbv is a small program to show a JPEG image on frame buffer.
fbv always rescales the image to the full screen. So, prepare a JPEG
file fits with your monitor.
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
make LIBJPEG=1
%install
make LIBJPEG=1 DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING
%{_bindir}/*
%changelog