Summary: Utility to show EXIF information hidden in JPEG files
-Summary(pl): Narzêdzie do wy¶wietlania danych EXIF ukrytych w plikach JPEG
+Summary(pl.UTF-8): Narzędzie do wyświetlania danych EXIF ukrytych w plikach JPEG
Name: exif
-Version: 0.6
+Version: 0.6.20
Release: 1
-License: GPL
+License: GPL v2+
Group: Applications/Graphics
-Source0: http://dl.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
-# Source0-md5: 55465e6b8194b3a907ae3c3191c6dbe3
+Source0: http://downloads.sourceforge.net/libexif/%{name}-%{version}.tar.bz2
+# Source0-md5: 4d88291883506d4ee52d1eec9ed5f42a
+Patch0: %{name}-pl.po-update.patch
+Patch1: %{name}-ac.patch
URL: http://libexif.sourceforge.net/
-BuildRequires: libexif-devel >= 0.5.9
-BuildRequires: libmnote-devel >= 0.5.6
+BuildRequires: autoconf >= 2.59
+BuildRequires: automake >= 1:1.9
+BuildRequires: gettext-devel >= 0.14.1
+BuildRequires: libexif-devel >= 1:0.6.20
+BuildRequires: libtool
+BuildRequires: pkgconfig
BuildRequires: popt-devel
-Requires: libexif >= 0.5.9
-Requires: libmnote >= 0.5.6
+Requires: libexif >= 1:0.6.20
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
'exif' is a small command-line utility to show EXIF information hidden
in JPEG files, written to demonstrate the power of libexif.
-%description -l pl
-exif to ma³e narzêdzie dzia³aj±ce z linii poleceñ, s³u¿±ce do
-pokazywania informacji EXIF ukrytych w plikach JPEG. Zosta³o napisane
-do pokazania mo¿liwo¶ci libexif.
+%description -l pl.UTF-8
+exif to małe narzędzie działające z linii poleceń, służące do
+pokazywania informacji EXIF ukrytych w plikach JPEG. Zostało napisane
+do pokazania możliwości libexif.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
+
+rm -f po/stamp-po
%build
+%{__gettextize}
+%{__libtoolize}
+%{__aclocal} -I m4m
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
-
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS README ChangeLog
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*.1*
+%attr(755,root,root) %{_bindir}/exif
+%{_mandir}/man1/exif.1*