File exiftool.spec of Package exiftool

#
# spec file for package exiftool
#
# Copyright (c) 2011 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/
#


BuildRequires:  perl-macros

Name:           exiftool
License:        Artistic 1.0 | GPLv2+
Group:          Productivity/Graphics/Other
Summary:        A Highly Customizable Perl Script for Reading and Writing Meta Information in Files
Version:        8.40
Release:        6
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.

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

%build
perl Makefile.PL
make %{?_smp_mflags}
make test

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%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
openSUSE Build Service is sponsored by