Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042019
en ru br
ALT Linux repos
S:3.08-alt1
5.0: 2.8.4-alt1
4.1: 2.8-alt1
4.0: 2.7-alt1
3.0: 2.4-alt1

Group :: Graphics
RPM: jhead

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: jhead
%define upstreamversion 2.84
Version: 2.8.4
Release: alt1

Packager: Victor Forsyuk <force at altlinux.org>

Summary: Tool for handling EXIF data in JPEG image files
License: Public Domain
Group: Graphics

URL: http://www.sentex.net/~mwandel/jhead
Source: %url/jhead-%upstreamversion.tar.gz

# Without jpegtran from libjpeg-utils rotation feature will not work.

# Exif thumbnail regeneration relies on 'mogrify' program from ImageMagick.
Requires: libjpeg-utils ImageMagick

%description
Jhead is a command line driven utility for extracting digital camera settings
from the Exif format files used by many digital cameras. It is also able to
reduce the size of digital camera JPEGs without loss of information, by
deleting integral thumbnails that digital cameras put into the Exif header.

%prep
%setup -n jhead-%upstreamversion
subst 's/-O./%optflags/' makefile

%build
%make_build

%install
install -pD -m755 jhead %buildroot%_bindir/jhead
# uncompress man page, let rpm helper choose best compressor (gzip or bzip2)
gunzip jhead.1.gz
install -pD -m644 jhead.1 %buildroot%_man1dir/jhead.1

%files
%_bindir/*
%doc changes.txt readme.txt usage.html
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin