]> git.pld-linux.org Git - packages/exif.git/blob - exif.spec
142b24b4b34993961ada65e0f3f18e260f97d669
[packages/exif.git] / exif.spec
1 Summary:        Utility to show EXIF information hidden in JPEG files
2 Summary(pl):    Narzêdzie do wy¶wietlania danych EXIF ukrytych w plikach JPEG
3 Name:           exif
4 Version:        0.6.9
5 Release:        2
6 License:        GPL
7 Group:          Applications/Graphics
8 Source0:        http://dl.sourceforge.net/libexif/%{name}-%{version}.tar.gz
9 # Source0-md5:  555029098386fa677c461eb249d852d7
10 Source1:        %{name}-pl.po
11 Patch0:         %{name}-nls.patch
12 URL:            http://libexif.sourceforge.net/
13 BuildRequires:  autoconf >= 2.50
14 BuildRequires:  automake
15 BuildRequires:  gettext-devel
16 BuildRequires:  libexif-devel >= 1:0.6.9
17 BuildRequires:  libtool
18 BuildRequires:  pkgconfig
19 BuildRequires:  popt-devel
20 Requires:       libexif >= 1:0.6.9
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 'exif' is a small command-line utility to show EXIF information hidden
25 in JPEG files, written to demonstrate the power of libexif.
26
27 %description -l pl
28 exif to ma³e narzêdzie dzia³aj±ce z linii poleceñ, s³u¿±ce do
29 pokazywania informacji EXIF ukrytych w plikach JPEG. Zosta³o napisane
30 do pokazania mo¿liwo¶ci libexif.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 cp %{SOURCE1} po/pl.po
37 %{__perl} -pi -e 's/de es fr/de es fr pl/' configure.in
38 rm -f po/stamp-po
39
40 %build
41 %{__gettextize}
42 %{__libtoolize}
43 %{__aclocal}
44 %{__autoconf}
45 %{__autoheader}
46 %{__automake}
47 %configure
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %find_lang %{name}
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc AUTHORS README ChangeLog
64 %attr(755,root,root) %{_bindir}/*
65 %{_mandir}/man1/*.1*
This page took 0.04254 seconds and 2 git commands to generate.