feh/feh.spec

Name: feh
Summary: Fast command line image viewer using Imlib2
Version: 2.9
Release: 1
License: MIT
Group: Applications/Multimedia
URL: http://linuxbrit.co.uk/feh/
Description: feh is a versatile and fast image viewer using imlib2, the premier image file handling library. feh has many features, from simple single file viewing, to multiple file modes using a slideshow or multiple windows. feh supports the creation of montages as index prints with many user-configurable options.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}

Summary: Fast command line image viewer using Imlib2
Name: feh
Version: 2.9
Release: 1%{?dist}
License: MIT
Group: Applications/Multimedia
URL: http://linuxbrit.co.uk/feh/

Source: http://derf.homelinux.org/projects/feh/feh-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: giblib-devel
BuildRequires: imlib2-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
%{!?_without_modxorg:BuildRequires: libXt-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}

%description
feh is a versatile and fast image viewer using imlib2, the
premier image file handling library. feh has many features,
from simple single file viewing, to multiple file modes using
a slideshow or multiple windows. feh supports the creation of
montages as index prints with many user-configurable options.

%prep
%setup

%{__perl} -pi.orig -e 's|-Wextra||g' config.mk

%build
#configure
export CFLAGS="%{optflags}"
%{?_without_modxorg:export LDLIBS="-L/usr/X11R6/%{_lib}"}
%{__make} %{?_smp_mflags} PREFIX="%{_prefix}"

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}" PREFIX="%{_prefix}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING README TODO
%doc %{_mandir}/man1/feh.1*
%doc %{_mandir}/man1/feh-cam.1*
%doc %{_mandir}/man1/gen-cam-menu.1*
%{_bindir}/feh
%{_bindir}/feh-cam
%{_bindir}/gen-cam-menu
%{_datadir}/applications/feh.desktop
%{_datadir}/feh/
%exclude %{_docdir}/feh/

%changelog
* Wed Mar 20 2013 Dag Wieers <dag@wieers.com> - 2.9-1
- Updated to release 2.9.

* Tue Feb 12 2013 Dag Wieers <dag@wieers.com> - 2.8-1
- Updated to release 2.8.

* Thu Oct 25 2012 Dag Wieers <dag@wieers.com> - 2.7-1
- Updated to release 2.7.

* Sun Sep 23 2012 Dag Wieers <dag@wieers.com> - 2.6.1-1
- Updated to release 2.6.1.

* Thu Aug 30 2012 Dag Wieers <dag@wieers.com> - 2.6-1
- Updated to release 2.6.

* Sun Apr 08 2012 Dag Wieers <dag@wieers.com> - 2.5-1
- Updated to release 2.5.

* Sun Mar 11 2012 Dag Wieers <dag@wieers.com> - 2.4-1
- Updated to release 2.4.

* Mon Oct 24 2011 Dag Wieers <dag@wieers.com> - 2.0-1
- Updated to release 2.0.

* Fri Sep 16 2011 Dag Wieers <dag@wieers.com> - 1.16.1-1
- Updated to release 1.16.1.

* Mon Sep 05 2011 Dag Wieers <dag@wieers.com> - 1.16-1
- Updated to release 1.16.

* Tue Jul 19 2011 Dag Wieers <dag@wieers.com> - 1.14.2-1
- Updated to release 1.14.2.

* Thu May 19 2011 Dag Wieers <dag@wieers.com> - 1.14.1-1
- Updated to release 1.14.1.

* Wed May 11 2011 Dag Wieers <dag@wieers.com> - 1.14-1
- Updated to release 1.14.

* Sun Apr 24 2011 Dag Wieers <dag@wieers.com> - 1.13-1
- Updated to release 1.13.

* Mon Mar 14 2011 Dag Wieers <dag@wieers.com> - 1.12-1
- Updated to release 1.12.

* Thu Jan 27 2011 Dag Wieers <dag@wieers.com> - 1.11.1-1
- Updated to release 1.11.1.

* Wed Jan 26 2011 Dag Wieers <dag@wieers.com> - 1.11-1
- Updated to release 1.11.

* Sat Dec 04 2010 Dag Wieers <dag@wieers.com> - 1.10.1-1
- Updated to release 1.10.1.

* Fri Oct 08 2010 Dag Wieers <dag@wieers.com> - 1.10-1
- Updated to release 1.10.

* Wed Aug 25 2010 Dag Wieers <dag@wieers.com> - 1.9-1
- Updated to release 1.9.

* Mon Jun 28 2010 Dag Wieers <dag@wieers.com> - 1.8-1
- Initial package. (using DAR)