]> git.pld-linux.org Git - SPECS.git/blob - exif.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / exif.spec
1 Summary:        Utility to show EXIF information hidden in JPEG files
2 Summary(pl.UTF-8):      Narzędzie do wyświetlania danych EXIF ukrytych w plikach JPEG
3 Name:           exif
4 Version:        0.6.22
5 %define tagver  %(echo %{version} | tr . _)
6 Release:        1
7 License:        GPL v2+
8 Group:          Applications/Graphics
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
12 Patch0:         %{name}-ac.patch
13 URL:            https://libexif.github.io/
14 BuildRequires:  autoconf >= 2.59
15 BuildRequires:  automake >= 1:1.9
16 BuildRequires:  gettext-tools >= 0.14.1
17 BuildRequires:  libexif-devel >= 1:0.6.20
18 BuildRequires:  libtool
19 BuildRequires:  pkgconfig
20 BuildRequires:  popt-devel >= 1.12
21 BuildRequires:  tar >= 1:1.22
22 BuildRequires:  xz
23 Requires:       libexif >= 1:0.6.20
24 Requires:       popt >= 1.12
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
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.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %{__rm} po/stamp-po
41
42 %build
43 %{__gettextize}
44 %{__libtoolize}
45 %{__aclocal} -I m4m
46 %{__autoconf}
47 %{__autoheader}
48 %{__automake}
49 %configure \
50         --disable-silent-rules
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
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)
66 %doc AUTHORS ChangeLog NEWS README
67 %attr(755,root,root) %{_bindir}/exif
68 %{_mandir}/man1/exif.1*
This page took 0.08 seconds and 3 git commands to generate.