]>
Commit | Line | Data |
---|---|---|
73e8ea2c | 1 | Summary: Utility to show EXIF information hidden in JPEG files |
dce52710 | 2 | Summary(pl.UTF-8): Narzędzie do wyświetlania danych EXIF ukrytych w plikach JPEG |
73e8ea2c | 3 | Name: exif |
79e6459a JB |
4 | Version: 0.6.22 |
5 | %define tagver %(echo %{version} | tr . _) | |
292ebee5 | 6 | Release: 1 |
0e1b1148 | 7 | License: GPL v2+ |
73e8ea2c | 8 | Group: Applications/Graphics |
79e6459a JB |
9 | #Source0Download: https://github.com/libexif/exif/releases |
10 | Source0: https://github.com/libexif/exif/releases/download/exif-%{tagver}-release/%{name}-%{version}.tar.xz | |
11 | # Source0-md5: bc600b12c50fbb26f025819164d963e6 | |
2b68d4b5 | 12 | Patch0: %{name}-ac.patch |
79e6459a | 13 | URL: https://libexif.github.io/ |
66be3753 JB |
14 | BuildRequires: autoconf >= 2.59 |
15 | BuildRequires: automake >= 1:1.9 | |
9a64b3dc | 16 | BuildRequires: gettext-tools >= 0.14.1 |
2491e891 | 17 | BuildRequires: libexif-devel >= 1:0.6.20 |
1519e93f | 18 | BuildRequires: libtool |
639b152c | 19 | BuildRequires: pkgconfig |
79e6459a JB |
20 | BuildRequires: popt-devel >= 1.12 |
21 | BuildRequires: tar >= 1:1.22 | |
22 | BuildRequires: xz | |
2491e891 | 23 | Requires: libexif >= 1:0.6.20 |
79e6459a | 24 | Requires: popt >= 1.12 |
73e8ea2c JB |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | 'exif' is a small command-line utility to show EXIF information hidden | |
29 | in JPEG files, written to demonstrate the power of libexif. | |
30 | ||
1c89f1f1 JR |
31 | %description -l pl.UTF-8 |
32 | exif to małe narzędzie działające z linii poleceń, służące do | |
33 | pokazywania informacji EXIF ukrytych w plikach JPEG. Zostało napisane | |
34 | do pokazania możliwości libexif. | |
73e8ea2c JB |
35 | |
36 | %prep | |
37 | %setup -q | |
1519e93f JB |
38 | %patch0 -p1 |
39 | ||
f01b975d | 40 | %{__rm} po/stamp-po |
73e8ea2c JB |
41 | |
42 | %build | |
1519e93f JB |
43 | %{__gettextize} |
44 | %{__libtoolize} | |
292ebee5 | 45 | %{__aclocal} -I m4m |
1519e93f JB |
46 | %{__autoconf} |
47 | %{__autoheader} | |
48 | %{__automake} | |
79e6459a JB |
49 | %configure \ |
50 | --disable-silent-rules | |
73e8ea2c JB |
51 | %{__make} |
52 | ||
53 | %install | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
6227d047 PG |
56 | %{__make} install \ |
57 | DESTDIR=$RPM_BUILD_ROOT | |
73e8ea2c JB |
58 | |
59 | %find_lang %{name} | |
60 | ||
61 | %clean | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files -f %{name}.lang | |
65 | %defattr(644,root,root,755) | |
79e6459a | 66 | %doc AUTHORS ChangeLog NEWS README |
292ebee5 JB |
67 | %attr(755,root,root) %{_bindir}/exif |
68 | %{_mandir}/man1/exif.1* |