3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Perl module for reading and writing image metadata
9 Summary(pl): Modu³ Perla do czytania i zapisywania metadanych w plikach graficznych
10 Name: perl-Image-ExifTool
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: bac917d6eb7689866ee08f156c865b40
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 ExifTool is a highly customizable Perl script for reading and writing
25 meta information in images.
27 ExifTool reads EXIF, GPS, IPTC, XMP, GeoTIFF, ICC Profile and
28 Photoshop IRB meta information from JPG, JP2, TIFF, GIF, BMP, PNG,
29 MNG, JNG, MIFF, EPS, PS, AI, PDF, PSD, THM, CRW, CR2, MRW, NEF, PEF,
30 ORF and DNG images. ExifTool also extracts information from the maker
31 notes of many digital cameras by various manufacturers including
32 Canon, Casio, FujiFilm, Kodak, Minolta/Konica-Minolta, Nikon,
33 Olympus/Epson, Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo and
36 ExifTool writes EXIF, GPS, IPTC, XMP and MakerNotes meta information
37 to JPEG, TIFF, GIF, CRW, THM, CR2, NEF, PEF and DNG images.
39 See html/index.html for more details about ExifTool features.
42 ExifTool to wysoce dostosowywalny skrypt perlowy do czytania i
43 zapisywania metadanych w plikach graficznych.
45 ExifTool potrafi odczytaæ metatagi EXIF, GPS, IPTC, XMP, GeoTIFF, ICC
46 Profile, Photoshop IRB z plików JPG, JP2, TIFF, GIF, BMP, PNG, MNG,
47 JNG, MIFF, EPS, PS, AI, PDF, PSD, THM, CRW, CR2, MRW, NEF, PEF, ORF,
48 DNG. ExifTool odczytuje równie¿ informacje dodatkowe o zdjêciach
49 zapisywane przez aparaty cyfrowe takich firm jak Canon, Casio,
50 FujiFilm, Kodak, Minolta/Konica-Minolta, Nikon, Olympus/Epson,
51 Panasonic/Leica, Pentax/Asahi, Ricoh, Sanyo, Sigma/Foveon.
53 ExifTool potrafi zapisaæ metatagi EXIF, GPS, IPTC, XMP wraz z
54 informacjami dodatkowymi producenta do plików JPEG, TIFF, GIF, CRW,
55 THM, CR2, NEF, PEF, DNG.
57 Wiêcej informacji o mo¿liwo¶ciach pakietu ExifTool znajduje siê w
58 pliku html/index.html.
61 %setup -q -n %{pdir}-%{pnam}-%{version}
64 %{__perl} Makefile.PL \
66 destdir=$RPM_BUILD_ROOT
68 OPTIMIZE="%{rpmcflags}"
70 %{?with_tests:%{__make} test}
73 rm -rf $RPM_BUILD_ROOT
76 DESTDIR=$RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
83 %doc README Changes html
84 %attr(755,root,root) %{_bindir}/exiftool
85 %{perl_vendorlib}/File/RandomAccess.pm
86 %{perl_vendorlib}/Image/ExifTool.pm
87 %dir %{perl_vendorlib}/Image/ExifTool
88 %{perl_vendorlib}/Image/ExifTool/*.p[lm]