@@ -3,19 +3,18 @@ Distribution: Azure Linux
33%bcond_with gp2ddb
44
55%global udevdir %(pkg-config --variable= udevdir udev)
6- %global port_version 0.12.0
6+ %global port_version 0.12.2
77
88Name: libgphoto2
9- Version: 2.5.27
10- Release: 2 %{?dist }
9+ Version: 2.5.31
10+ Release: 1 %{?dist }
1111Summary: Library for accessing digital cameras
1212# GPLV2+ for the main lib (due to exif.c) and most plugins, some plugins GPLv2
1313License: GPLv2+ and GPLv2
1414URL: http://www.gphoto.org/
1515
1616Source0: http://downloads.sourceforge.net/gphoto/%{name }-%{version }.tar.bz2
1717Patch1: gphoto2-pkgcfg.patch
18- Patch2: gphoto2-device-return.patch
1918
2019BuildRequires: gcc
2120BuildRequires: gcc-c++
@@ -94,7 +93,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool libgphot
9493%install
9594%make_install INSTALL=" install -p" mandir=%{_mandir }
9695
97- pushd packaging/linux-hotplug /
96+ pushd packaging/generic /
9897 export LIBDIR= %{buildroot }%{_libdir }
9998 export CAMLIBS= %{buildroot }%{_libdir }/%{name }/%{version }
10099 export LD_LIBRARY_PATH= %{buildroot }%{_libdir }
@@ -146,7 +145,7 @@ rm -rf %{buildroot}%{_datadir}/libgphoto2_port/*/vcamera/
146145%{_datadir }/libgphoto2/
147146
148147%files devel
149- %doc __doc /*
148+ %doc %{ _defaultdocdir }/%{ name }_port /*
150149%{_bindir }/gphoto2-config
151150%{_bindir }/gphoto2-port-config
152151%{_includedir }/gphoto2/
@@ -158,6 +157,10 @@ rm -rf %{buildroot}%{_datadir}/libgphoto2_port/*/vcamera/
158157%{_mandir }/man3/%{name }_port.3*
159158
160159%changelog
160+ * Wed Oct 16 2024 Kevin Lockwood <v-klockwood@microsoft.com> - 2.5.31-1
161+ - Update to current upstream
162+ - License Verified
163+
161164* Fri Mar 26 2021 Henry Li <lihl@microsoft.com> - 2.5.27-2
162165- Initial CBL-Mariner import from Fedora 34 (license: MIT).
163166- systemd-devel contains the .pc file to provide pkgconfig variables
0 commit comments