%define name jhead %define version 2.86 %define subrel 1 %define release %mkrel 0 Summary: Command line tools to read and edit EXIF extensions in JPEG files Name: %{name} Version: %{version} Release: %{release} License: Public Domain Group: Graphics Source: http://www.sentex.net/~mwandel/jhead/%{name}-%{version}.tar.gz Url: http://www.sentex.net/~mwandel/jhead/ BuildRoot: %_tmppath/%name-%version-%release-root # Without jpegtran the nicest features will not work Requires: libjpeg-progs %description Most digital cameras produce EXIF files, which are JPEG files with extra tags that contain information about the image. In contrary to the tools "exif" and "gexif" (and all other libexif-based tools as "gphoto2") this tool gives a much easier readable summary of camera settings (shutter speed in 1/x sec, focal length (also the 35-mm camera equivalent), focal distance, ...), EXIF header manipulation as stripping off the thumbnail and other info not needed, stripping off the complete header, applying arbitrary conversion tools to the JPEG image and conserving the header, renaming JPEG images with the capture date stored in the header, and even turning the images upright when the camera has an orientation sensor (as Canon Digital IXUS 400) ... The tool is very compact, the executable has only a size of around 35 kb, the whole package (with documentation) occupies 60 kb. See /usr/share/doc/jhead-%version/usage.html for how to use this program. %prep %setup -q %build %make %install install -d %buildroot%_bindir install -m 755 jhead %buildroot%_bindir install -d %buildroot%_mandir/man1 install -m 644 jhead.1 %buildroot%_mandir/man1 %clean rm -fr %buildroot %files %defattr(-,root,root) %doc readme.txt usage.html changes.txt %_bindir/* %_mandir/*/* %changelog * Tue Feb 17 2009 Eugeni Dodonov <eugeni@mandriva.com> 2.86-0.1mdv2009.0 - Updated to 2.86 to fix CVE-2008-4575, CVE-2008-4639, CVE-2008-4640, CVE-2008-4641. * Tue Jun 17 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.7-3mdv2009.0 + Revision: 221711 - rebuild - fix spacing at top of description * Sun Jan 13 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.7-2mdv2008.1 + Revision: 150420 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Fri Jul 13 2007 Adam Williamson <awilliamson@mandriva.com> 2.7-1mdv2008.0 + Revision: 51738 - new release 2.7 + Marcelo Ricardo Leitner <mrl@mandriva.com> - Import jhead * Fri Jul 14 2006 Till Kamppeter <till@mandriva.com> 2.6-1mdv2007.0 - Updated to version 2.6. * Sat Aug 13 2005 Till Kamppeter <till@mandriva.com> 2.4-1mdk - Updated to version 2.4. * Thu Jan 21 2005 Till Kamppeter <till@mandrakesoft.com> 2.3-1mdk - Updated to version 2.3. * Thu Jul 15 2004 Till Kamppeter <till@mandrakesoft.com> 2.2-1mdk - Updated to version 2.2. * Thu Jan 29 2004 Till Kamppeter <till@mandrakesoft.com> 2.1-1mdk - Updated to version 2.1. * Sun Jul 27 2003 Till Kamppeter <till@mandrakesoft.com> 2.0-2mdk - Require the JPEG utilities ("libjpeg-prgs"), as without "jpegtran" this program's most interesting features do not work. - Install man page. * Fri Jun 13 2003 Till Kamppeter <till@mandrakesoft.com> 2.0-1mdk - Updated to version 2.0. * Thu Jan 16 2003 Till Kamppeter <till@mandrakesoft.com> 1.9-1mdk - Updated to version 1.9. * Sun Aug 18 2002 Till Kamppeter <till@mandrakesoft.com> 1.8-1mdk - Initial release