File qiv.spec of Package qiv

# spec file for package qiv (Version 2.2.3)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           qiv
Version:        2.2.3
Release:        1
Summary:        Probably the fastest and simplest image viewer on the planet
Group:          Productivity/Graphics/Viewers
License:        GPLv2+
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  file-devel
BuildRequires:  gtk2-devel
BuildRequires:  imlib2-devel
BuildRequires:  libexif-devel
# imlib itself only recommends that but we actually need them to
# load images
Requires:       imlib2-loaders

Qiv is a very small and pretty fast gdk/Imlib image viewer, designed to
view large images such as the JPEG files from today's high-megapixel

It is super-easy to use: It creates only one window, containing only
the image to view, the SPACE key views the next image, BACKSPACE the
previous, "d" moves the current image to .qiv-trash/, "u" moves it back
and removes .qiv-trash/ if empty. "f" or the -f option toggles
full-screen mode and "m" toggles between maxpect mode (rescales images
to screen size while preserving aspect ratio) and unscaled mode with
unscaled 1:1 view with panning using cursor keys.

The mouse buttons can also be used in parallel to SPACE and BACKSPACE
to quickly flip thru images.

Furhter features are: * setting image as x11 background
   (centered,tiled,stretched..), with user settable background color

* external "qiv-command" program support

* screensaver mode

* brightness/contrast/gamma correction

* real transparency

* slideshow (with random order if you want)

* flip horizontal/vertical, rotate left/right

* delete function (move to .qiv-trash/)

* jump to image number x, jump forward/backward x images

%setup -q
sed -i 's/-O2/$(RPM_OPT_FLAGS)/' Makefile

make %{?_smp_mflags}

install -Dpm 755 qiv $RPM_BUILD_ROOT%{_bindir}/qiv
install -Dpm 644 qiv.1 $RPM_BUILD_ROOT%{_mandir}/man1/qiv.1
mkdir examples
mv qiv-command.example examples/qiv-command.example



openSUSE Build Service is sponsored by