File jhead.spec of Package jhead

#
# spec file for package jhead (Version 2.87)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           jhead
License:        Public Domain, Freeware ; Public Domain. See http://www.sentex.ca/~mwandel/jhead/
Group:          Productivity/Graphics/Other
Version:        2.87
Release:        1
Requires:       %{_bindir}/jpegtran %{_bindir}/mogrify
Summary:        Tool to Manipulate the Nonimage Part of EXIF Compliant JPEG Files
Url:            http://www.sentex.net/~mwandel/jhead/
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Jhead is a command line utility for extracting digital camera settings
from the EXIF format files used by many digital cameras. It handles the
various confusing ways these can be expressed and displays them as
F-stop, shutter speed, and more. It is also able to reduce the size of
digital camera JPEG files without loss of information by deleting
thumbnails that digital cameras put into the EXIF header.



Authors:
--------
    Matthias Wandel <mwandel@sentex.net>

%prep
%setup -q

%build
make CC="gcc $RPM_OPT_FLAGS"

%install
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 jhead $RPM_BUILD_ROOT%{_bindir}
install -m 644 jhead.1  $RPM_BUILD_ROOT%{_mandir}/man1

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc changes.txt readme.txt usage.html
%{_bindir}/*
%doc %{_mandir}/man1/*.*

%changelog
openSUSE Build Service is sponsored by