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 http://bugs.opensuse.org/
#

# 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
Url:            http://www.sno.phy.queensu.ca/~phil/exiftool/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{perl_requires}

%description
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
Sigma/Foveon.



Authors:
--------
    Phil Harvey

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

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

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
/usr/bin/exiftool
%dir %{perl_vendorarch}/auto/Image
%{perl_vendorlib}/File
%{perl_vendorlib}/Image
%{perl_vendorarch}/auto/Image
%doc %{_mandir}/man?/*
%doc Changes README ExifTool_config html 

%changelog