Package meh: Specfile

Name: meh
Version: 0.3
Release: alt2.git69f653a

Summary: meh is a small, simple, super fast image viewer using raw XLib

Group: Graphics
License: MIT
Url: http://www.johnhawthorn.com/meh/

Packager: Vitaly Lipatov <lav@altlinux.ru>

Source: http://web.uvic.ca/~jhawthor/%name-%version.tar

BuildRequires: libXext-devel libgif-devel libjpeg-devel libpng-devel

%description
meh is a small, simple, super fast image viewer using raw XLib.
It is similar to feh, but faster and simpler.

meh can use ImageMagick's convert to view almost 200 file formats,
though it is slower for these formats. Built in formats are JPEG, PNG,
BMP, and netpbm.

Features:
- Fast
- Tiny
- Fast JPEG, PNG, GIF and BMP support
- Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
- ImageMagick support by calling convert
- All ImageMagick formats (almost 200)
- This allows limited support for PDF's and SVG's
- Scales images to window size
- Preserves aspect ratio (either via EWMH hints or by padding the window)
- XSHM Support
- Minimal dependencies (Xlib, libjpeg, libpng, giflib)

%prep
%setup

%build
%make_build

%install
%makeinstall_std BINDIR=%_bindir MANDIR=%_mandir

%files
%doc AUTHORS BUGS NEWS README THANKS
%_bindir/%name
%_man1dir/%name.1*

%changelog
* Wed Jun 10 2020 Andrey Cherepanov <cas@altlinux.org> 0.3-alt2.git69f653a
- New version from https://github.com/jhawthorn/meh (rev. 69f653a).

* Fri Oct 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.3-alt1.1
- Rebuilt with libpng15

* Fri Apr 13 2012 Vitaly Lipatov <lav@altlinux.ru> 0.3-alt1
- initial build for ALT Linux Sisyphus