File exiftool.spec of Package exiftool

# spec file for package exiftool (Version 8.40)
# Copyright (c) 2010 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

# norootforbuild

BuildRequires:  perl-macros

Name:           exiftool
License:        Artistic License .. ; GPLv2+
Group:          Productivity/Graphics/Other
AutoReqProv:    on
Summary:        A Highly Customizable Perl Script for Reading and Writing Meta Information in Files
Version:        8.40
Release:        1
Source:         Image-ExifTool-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

ExifTool is a Perl module with an included command line application for
reading and writing meta information in image files. It recognizes
EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, and
ID3 meta information as well as the maker notes of many digital cameras
including Canon, Casio, FujiFilm, Kodak, Leaf, Minolta/Konica-Minolta,
Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo, and

    Phil Harvey

%setup -q -n Image-ExifTool-%{version}

perl Makefile.PL
make %{?jobs:-j%jobs}
make test

make DESTDIR=$RPM_BUILD_ROOT install_vendor


%defattr(-, root, root)
%dir %{perl_vendorarch}/auto/Image
%doc %{_mandir}/man?/*
%doc Changes README ExifTool_config html