forked from pool/perl-Image-ExifTool
554a4b457a
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Image-ExifTool?expand=0&rev=2
116 lines
5.1 KiB
RPMSpec
116 lines
5.1 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.40
|
|
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}
|
|
|
|
%description
|
|
ExifTool provides an extensible set of perl modules to read and write 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, HP, JVC/Victor, Kodak, Leaf, Minolta/Konica-Minolta,
|
|
Nikon, Olympus/Epson, Panasonic/Leica, Pentax/Asahi, 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 | M2TS r | PAGES r | RW2 r/w
|
|
3G2 r | DYLIB r | M4A/V r | PBM r/w | RWL r/w
|
|
3GP r | EIP r | MEF r/w | PDF r/w | RWZ r
|
|
ACR r | EPS r/w | MIE r/w/c | PEF r/w | RM r
|
|
AFM r | ERF r/w | MIFF r | PFA r | SO r
|
|
AI r/w | EXE r | MKA r | PFB r | SR2 r/w
|
|
AIFF r | EXIF r/w/c | MKS r | PFM r | SRF r
|
|
APE r | F4A/V r | MKV r | PGM r/w | SRW r/w
|
|
ARW r/w | FLA r | MNG r/w | PICT r | SVG r
|
|
ASF r | FLAC r | MOS r/w | PMP r | SWF r
|
|
AVI r | FLV r | MOV r | PNG r/w | THM r/w
|
|
BMP r | FPX r | MP3 r | PPM r/w | TIFF r/w
|
|
BTF r | GIF r/w | MP4 r | PPT r | TTC r
|
|
COS r | GZ r | MPC r | PPTX r | TTF r
|
|
CR2 r/w | HDP r/w | MPG r | PS r/w | VRD r/w/c
|
|
CRW r/w | HTML r | MPO r/w | PSB r/w | WAV r
|
|
CS1 r/w | ICC r/w/c | MQV r | PSD r/w | WDP r/w
|
|
DCM r | IIQ r | MRW r/w | PSP r | WEBP r
|
|
DCP r/w | IND r/w | NEF r/w | QTIF r | WEBM r
|
|
DCR r | ITC r | NRW r/w | RA r | WMA r
|
|
DFONT r | JNG r/w | NUMBERS r | RAF r/w | WMV r
|
|
DIVX r | JP2 r/w | ODP r | RAM r | X3F r/w
|
|
DJVU r | JPEG r/w | ODS r | RAR r | XCF r
|
|
DLL r | K25 r | ODT r | RAW r/w | XLS r
|
|
DNG r/w | KDC r | OGG r | RIFF r | XLSX r
|
|
DOC r | KEY r | ORF r/w | RSRC r | XMP r/w/c
|
|
DOCX r | LNK r | OTF r | RTF r | ZIP r
|
|
|
|
Meta Information
|
|
----------------------+----------------------+---------------------
|
|
EXIF r/w/c | Kodak Meta r/w | Picture Info r
|
|
GPS r/w/c | FotoStation r/w | Adobe APP14 r
|
|
IPTC r/w/c | PhotoMechanic r/w | MPF r
|
|
XMP r/w/c | JPEG 2000 r | Stim r
|
|
MakerNotes r/w/c | DICOM r | APE r
|
|
Photoshop IRB r/w/c | Flash r | Vorbis r
|
|
ICC Profile r/w/c | FlashPix r | SPIFF r
|
|
MIE r/w/c | QuickTime r | DjVu r
|
|
JFIF r/w/c | Matroska r | M2TS r
|
|
Ducky APP12 r/w/c | GeoTIFF r | PE/COFF r
|
|
PDF r/w/c | PrintIM r | AVCHD r
|
|
CIFF r/w | ID3 r | ZIP r
|
|
AFCP r/w | Ricoh RMETA r | (and more)
|
|
|
|
%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)
|
|
%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
|