1
0
perl-Image-ExifTool/perl-Image-ExifTool.spec
Greg Freemyer 6cc5f6bd1c Accepting request 92003 from home:gregfreemyer:Tools-for-forensic-boot-cd
devel package is currently broken.
This upgrades it to v8.65
I've done a basic functionality test only, but it worked.  

NOTE:  perl-IO-Compress is a dependency and is not currently building for 12.1/factory in D:L:P.  To test this I had to branch perl-IO-Compress and build it for 12.1

OBS-URL: https://build.opensuse.org/request/show/92003
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Image-ExifTool?expand=0&rev=5
2011-11-17 21:37:42 +00:00

131 lines
5.7 KiB
RPMSpec

#
# spec file for package perl-Image-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/
#
Name: perl-Image-ExifTool
Version: 8.65
Release: 1
License: GPL+ or Artistic
%define cpan_name Image-ExifTool
Summary: Read and write meta information
Url: http://search.cpan.org/dist/Image-ExifTool/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/E/EX/EXIFTOOL/Image-ExifTool-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
# 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
%description
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.
Below is a list of file types and meta information formats currently
supported by ExifTool (r = read, w = write, c = create):
File Types
------------+-------------+-------------+-------------+------------
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 |
Meta Information
----------------------+----------------------+---------------------
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.
%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}
%files -f %{name}.files
%defattr(644,root,root,755)
%attr(755, root, root) /usr/bin/exiftool
%doc Changes exif2xmp.args exiftool ExifTool_config gps2xmp.args gpx.fmt gpx_wpt.fmt iptc2xmp.args kml.fmt perl-Image-ExifTool.spec README xmp2exif.args xmp2gps.args xmp2iptc.args
%changelog