]> git.pld-linux.org Git - packages/perl-Image-ExifTool.git/blob - perl-Image-ExifTool.spec
2fb20e7ff99088999270639fb48198a8c83421d6
[packages/perl-Image-ExifTool.git] / perl-Image-ExifTool.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Image
7 %define         pnam    ExifTool
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
11 Version:        5.87
12 Release:        1
13 # same as perl
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:  fe0934e8994b9dbef82eb6dd2ef62954
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 ExifTool is a highly customizable Perl script for reading and writing
25 meta information in images.
26
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
34 Sigma/Foveon.
35
36 ExifTool writes EXIF, GPS, IPTC, XMP and MakerNotes meta information
37 to JPEG, TIFF, GIF, CRW, THM, CR2, NEF, PEF and DNG images.
38
39 See html/index.html for more details about ExifTool features.
40
41 %description -l pl
42 ExifTool to wysoce dostosowywalny skrypt perlowy do czytania i
43 zapisywania metadanych w plikach graficznych.
44
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.
52
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.
56
57 Wiêcej informacji o mo¿liwo¶ciach pakietu ExifTool znajduje siê w
58 pliku html/index.html.
59
60 %prep
61 %setup -q -n %{pdir}-%{pnam}-%{version}
62
63 %build
64 %{__perl} Makefile.PL \
65         INSTALLDIRS=vendor \
66         destdir=$RPM_BUILD_ROOT
67 %{__make} \
68         OPTIMIZE="%{rpmcflags}"
69
70 %{?with_tests:%{__make} test}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
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]
89 %{_mandir}/man[13]/*
This page took 0.056788 seconds and 2 git commands to generate.