Summary(pl.UTF-8): Biblioteki obsługi kamer cyfrowych
Summary(pt_BR.UTF-8): GNU Photo - programa GNU para câmeras digitais
Name: libgphoto2
-Version: 2.5.4
-Release: 4
+Version: 2.5.19
+Release: 1
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/gphoto/%{name}-%{version}.tar.bz2
-# Source0-md5: 4f549a8600228a27f547d47ca1a97f09
+# Source0-md5: ca9574e2a749de66018a077bd24aa86f
Patch0: %{name}-mode-owner-group.patch
+# if there are fuzzy/missing entries in file, check for updated version:
+# po/pl.po: https://translationproject.org/PO-files/pl/libgphoto2-%{version}.pl.po
+# libgphoto2_port/po/pl.po: https://translationproject.org/PO-files/pl/libgphoto2_port-%{version}.pl.po
+# and pass through msgcat to get shorter diff
Patch1: %{name}-pl.po-update.patch
-Patch2: gd-2.1.patch
+# from FC
+Patch2: gphoto2-device-return.patch
URL: http://www.gphoto.org/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
%build
# supplied libtool is broken (relink)
%{__libtoolize}
-%{__aclocal} -I auto-m4 -I m4m
+%{__aclocal} -I auto-m4 -I gphoto-m4
%{__autoconf}
%{__automake}
cd libgphoto2_port
%{__libtoolize}
-%{__aclocal} -I auto-m4 -I m4
+%{__aclocal} -I auto-m4 -I gphoto-m4
%{__autoconf}
%{__automake}
cd ..
%endif
# kill unpackaged files
%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/doc/libgphoto{2,2_port}
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/libgphoto2_port/*/vcamera/README.txt
%clean
rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/libgphoto2.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libgphoto2.so.6
%attr(755,root,root) %{_libdir}/libgphoto2_port.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libgphoto2_port.so.10
+%attr(755,root,root) %ghost %{_libdir}/libgphoto2_port.so.12
# camera plugins
%dir %{_libdir}/libgphoto2