2011-03-25 11:17:27 +01:00
|
|
|
#
|
2011-06-06 14:45:28 +02:00
|
|
|
# spec file for package perl-Image-ExifTool
|
2011-03-25 11:17:27 +01:00
|
|
|
#
|
2011-06-06 14:45:28 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-03-25 11:17:27 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2011-06-06 14:45:28 +02:00
|
|
|
|
|
|
|
|
2011-03-25 11:17:27 +01:00
|
|
|
Name: perl-Image-ExifTool
|
2011-11-17 22:37:42 +01:00
|
|
|
Version: 8.65
|
2011-03-25 11:17:27 +01:00
|
|
|
Release: 1
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
%define cpan_name Image-ExifTool
|
2011-12-06 15:47:57 +01:00
|
|
|
Summary: Perl module to read and write meta information
|
2011-03-25 11:17:27 +01:00
|
|
|
Url: http://search.cpan.org/dist/Image-ExifTool/
|
|
|
|
Group: Development/Libraries/Perl
|
2011-12-06 15:47:57 +01:00
|
|
|
Source: http://www.cpan.org/authors/id/E/EX/EXIFTOOL/%{cpan_name}-%{version}.tar.gz
|
2011-03-25 11:17:27 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
%{perl_requires}
|
2011-12-06 15:47:57 +01:00
|
|
|
Obsoletes: exiftool < 8.65
|
|
|
|
# This is handled by the subpackage exiftool below
|
|
|
|
# Provides: exiftool
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%description
|
2011-11-17 22:37:42 +01:00
|
|
|
ExifTool by Phil Harvey (phil at owl.phy.queensu.ca)
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
ExifTool is a customizable set of Perl modules plus a full-featured
|
|
|
|
application for reading and writing meta information in a wide variety of
|
|
|
|
files, including the maker note information of many digital cameras by
|
|
|
|
various manufacturers such as Canon, Casio, FujiFilm, GE, HP, JVC/Victor,
|
|
|
|
Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica,
|
|
|
|
Pentax/Asahi, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
Below is a list of file types and meta information formats currently
|
|
|
|
supported by ExifTool (r = read, w = write, c = create):
|
|
|
|
|
|
|
|
File Types
|
|
|
|
------------+-------------+-------------+-------------+------------
|
2011-11-17 22:37:42 +01:00
|
|
|
3FR r | DVB r | M4A/V r | PBM r/w | RWZ r
|
|
|
|
3G2 r | DYLIB r | MEF r/w | PDF r/w | RM r
|
|
|
|
3GP r | EIP r | MIE r/w/c | PEF r/w | SO r
|
|
|
|
ACR r | EPS r/w | MIFF r | PFA r | SR2 r/w
|
|
|
|
AFM r | ERF r/w | MKA r | PFB r | SRF r
|
|
|
|
AI r/w | EXE r | MKS r | PFM r | SRW r/w
|
|
|
|
AIFF r | EXIF r/w/c | MKV r | PGF r | SVG r
|
|
|
|
APE r | F4A/V r | MNG r/w | PGM r/w | SWF r
|
|
|
|
ARW r/w | FLA r | MOS r/w | PICT r | THM r/w
|
|
|
|
ASF r | FLAC r | MOV r | PMP r | TIFF r/w
|
|
|
|
AVI r | FLV r | MP3 r | PNG r/w | TTC r
|
|
|
|
BMP r | FPX r | MP4 r | PPM r/w | TTF r
|
|
|
|
BTF r | GIF r/w | MPC r | PPT r | VRD r/w/c
|
|
|
|
CHM r | GZ r | MPG r | PPTX r | VSD r
|
|
|
|
COS r | HDP r/w | MPO r/w | PS r/w | WAV r
|
|
|
|
CR2 r/w | HTML r | MQV r | PSB r/w | WDP r/w
|
|
|
|
CRW r/w | ICC r/w/c | MRW r/w | PSD r/w | WEBP r
|
|
|
|
CS1 r/w | IIQ r/w | MXF r | PSP r | WEBM r
|
|
|
|
DCM r | IND r/w | NEF r/w | QTIF r | WMA r
|
|
|
|
DCP r/w | ITC r | NRW r/w | RA r | WMV r
|
|
|
|
DCR r | J2C r | NUMBERS r | RAF r/w | X3F r/w
|
|
|
|
DFONT r | JNG r/w | ODP r | RAM r | XCF r
|
|
|
|
DIVX r | JP2 r/w | ODS r | RAR r | XLS r
|
|
|
|
DJVU r | JPEG r/w | ODT r | RAW r/w | XLSX r
|
|
|
|
DLL r | K25 r | OGG r | RIFF r | XMP r/w/c
|
|
|
|
DNG r/w | KDC r | OGV r | RSRC r | ZIP r
|
|
|
|
DOC r | KEY r | ORF r/w | RTF r |
|
|
|
|
DOCX r | LNK r | OTF r | RW2 r/w |
|
|
|
|
DV r | M2TS r | PAGES r | RWL r/w |
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
Meta Information
|
|
|
|
----------------------+----------------------+---------------------
|
2011-11-17 22:37:42 +01:00
|
|
|
EXIF r/w/c | CIFF r/w | Ricoh RMETA r
|
|
|
|
GPS r/w/c | AFCP r/w | Picture Info r
|
|
|
|
IPTC r/w/c | Kodak Meta r/w | Adobe APP14 r
|
|
|
|
XMP r/w/c | FotoStation r/w | MPF r
|
|
|
|
MakerNotes r/w/c | PhotoMechanic r/w | Stim r
|
|
|
|
Photoshop IRB r/w/c | JPEG 2000 r | APE r
|
|
|
|
ICC Profile r/w/c | DICOM r | Vorbis r
|
|
|
|
MIE r/w/c | Flash r | SPIFF r
|
|
|
|
JFIF r/w/c | FlashPix r | DjVu r
|
|
|
|
Ducky APP12 r/w/c | QuickTime r | M2TS r
|
|
|
|
PDF r/w/c | Matroska r | PE/COFF r
|
|
|
|
PNG r/w/c | GeoTIFF r | AVCHD r
|
|
|
|
Canon VRD r/w/c | PrintIM r | ZIP r
|
|
|
|
Nikon Capture r/w/c | ID3 r | (and more)
|
|
|
|
|
|
|
|
See html/index.html for more details about ExifTool features.
|
2011-03-25 11:17:27 +01:00
|
|
|
|
2011-12-06 15:47:57 +01:00
|
|
|
%package -n exiftool
|
|
|
|
Summary: Highly Customizable Perl App for Reading and Writing Meta Information in Files
|
|
|
|
Group: Productivity/Graphics/Other
|
|
|
|
# allow autodepend logic to find this
|
|
|
|
#Requires: perl(Compress::Zlib)
|
|
|
|
Requires: perl(Archive::Zip)
|
|
|
|
Requires: perl(Digest::MD5)
|
|
|
|
Requires: perl(Digest::SHA)
|
|
|
|
Requires: perl(IO::Compress)
|
|
|
|
Requires: perl(Image::ExifTool) = %{version}
|
|
|
|
# Provides: exiftool
|
|
|
|
|
|
|
|
%description -n exiftool
|
|
|
|
ExifTool by Phil Harvey (phil at owl.phy.queensu.ca)
|
|
|
|
----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
ExifTool is a a full-featured application for reading and writing
|
|
|
|
meta information in a wide variety of
|
|
|
|
files, including the maker note information of many digital cameras by
|
|
|
|
various manufacturers such as Canon, Casio, FujiFilm, GE, HP, JVC/Victor,
|
|
|
|
Kodak, Leaf, Minolta/Konica-Minolta, Nikon, Olympus/Epson, Panasonic/Leica,
|
|
|
|
Pentax/Asahi, Reconyx, Ricoh, Samsung, Sanyo, Sigma/Foveon and Sony.
|
|
|
|
|
|
|
|
See the description for perl-Image-ExifTool for a list of supported file types
|
|
|
|
and Meta Information
|
|
|
|
|
|
|
|
See html/index.html for more details about ExifTool features overall.
|
|
|
|
|
|
|
|
|
2011-03-25 11:17:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
2011-12-06 15:47:57 +01:00
|
|
|
%files -n exiftool
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%attr(755, root, root) %{_bindir}/exiftool
|
|
|
|
%doc %{_mandir}/man1/exiftool.1.gz
|
|
|
|
|
2011-03-25 11:17:27 +01:00
|
|
|
%files -f %{name}.files
|
2011-12-06 15:47:57 +01:00
|
|
|
%exclude %{_bindir}/exiftool
|
|
|
|
%exclude %{_mandir}/man1/exiftool.1.gz
|
2011-03-25 11:17:27 +01:00
|
|
|
%defattr(644,root,root,755)
|
2011-12-06 15:47:57 +01:00
|
|
|
# No idea why this had such a long % doc list
|
|
|
|
# % doc Changes exif2xmp.args ExifTool_config gps2xmp.args gpx.fmt gpx_wpt.fmt iptc2xmp.args kml.fmt perl-Image-ExifTool.spec README xmp2exif.args xmp2gps.args xmp2iptc.args
|
|
|
|
%doc Changes ExifTool_config README html
|
|
|
|
%{perl_vendorlib}/File/RandomAccess.pm
|
|
|
|
%{perl_vendorlib}/Image/ExifTool/*
|
|
|
|
%doc %{_mandir}/man3/*
|
2011-03-25 11:17:27 +01:00
|
|
|
|
|
|
|
%changelog
|