Group :: Graphics
RPM: jhead
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: jhead
Version: 2.7
Release: alt1
Summary: Tool for handling EXIF data in JPEG image files
License: Public Domain
Group: Graphics
URL: http://www.sentex.net/~mwandel/jhead
Source: %url/%name-%version.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 -q
subst 's/-O./%optflags/' makefile
%build
%make_build
%install
install -pD -m755 %name %buildroot%_bindir/%name
# uncompress man page, let rpm helper choose best compressor (gzip or bzip2)
gunzip %name.1.gz
install -pD -m644 %name.1 %buildroot%_man1dir/%name.1
%files
%_bindir/*
%doc changes.txt readme.txt usage.html
%_man1dir/*
%changelog
…
Full changelog you can see here
Version: 2.7
Release: alt1
Summary: Tool for handling EXIF data in JPEG image files
License: Public Domain
Group: Graphics
URL: http://www.sentex.net/~mwandel/jhead
Source: %url/%name-%version.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 -q
subst 's/-O./%optflags/' makefile
%build
%make_build
%install
install -pD -m755 %name %buildroot%_bindir/%name
# uncompress man page, let rpm helper choose best compressor (gzip or bzip2)
gunzip %name.1.gz
install -pD -m644 %name.1 %buildroot%_man1dir/%name.1
%files
%_bindir/*
%doc changes.txt readme.txt usage.html
%_man1dir/*
%changelog
…
Full changelog you can see here