Summary(pt_BR.UTF-8): GNU Photo - programa GNU para câmeras digitais
Summary(zh_CN.UTF-8): gPhoto - Linux下的使用数码相机的程序
Name: gphoto2
-Version: 2.3.1
-Release: 2
+Version: 2.4.0
+Release: 1
License: GPL
Group: Applications/Graphics
Source0: http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
-# Source0-md5: 00da102280dd5743d8f8b80173b4dd26
+# Source0-md5: 5fd1f711ca806adb687b33c55964d898
Patch0: %{name}-manpage_addon.patch
Patch1: %{name}-pl.po-update.patch
Patch2: %{name}-am.patch
-Patch3: %{name}-version.patch
URL: http://www.gphoto.org/
BuildRequires: aalib-devel
BuildRequires: autoconf >= 2.59
BuildRequires: cdk-devel >= 5.0_td20010421
BuildRequires: gettext-devel >= 0.14.1
BuildRequires: libexif-devel >= 0.6.9
-BuildRequires: libgphoto2-devel >= 2.3.0
+BuildRequires: libgphoto2-devel >= 2.4.0
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig
BuildRequires: popt-devel
BuildRequires: readline-devel
#Requires: dcraw
-Requires: libgphoto2 >= 2.3.0
+Requires: libgphoto2 >= 2.4.0
Obsoletes: gphoto2-progs
# these are not true (renamed to libgphoto2-{devel,static}) - we must have
# the way to just rename package which is not required by anything installed
%patch0 -p1
%patch1 -p1
%patch2 -p1
-%patch3 -p1
rm -f po/stamp-po
%build
CPPFLAGS="-I/usr/include/ncurses"
-%{__aclocal} -I m4m
+%{__aclocal} -I auto-m4 -I m4m
%{__autoconf}
%{__autoheader}
%{__automake}