update to 2.5.28 [release 2.5.28-1mamba;Sun Jan 09 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 04:27:29 +01:00
parent ba9b657190
commit 200011c5e2

View File

@ -1,5 +1,5 @@
Name: libgphoto2 Name: libgphoto2
Version: 2.5.27 Version: 2.5.28
Release: 1mamba Release: 1mamba
Epoch: 1 Epoch: 1
Summary: A portable library to gives access to more than 400 digital cameras Summary: A portable library to gives access to more than 400 digital cameras
@ -7,7 +7,7 @@ Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gphoto.org URL: http://www.gphoto.org
Source0: http://downloads.sourceforge.net/project/gphoto/libgphoto/%{version}/libgphoto2-%{version}.tar.bz2 Source0: http://downloads.sourceforge.net/project/gphoto/libgphoto/%{version}/libgphoto2-%{version}.tar.bz2
Source1: libgphoto-usbcam Source1: libgphoto-usbcam
Patch0: libgphoto-2.4.6-serial.so_undef_symbol_rsm_unlock_device.patch Patch0: libgphoto-2.4.6-serial.so_undef_symbol_rsm_unlock_device.patch
@ -19,26 +19,49 @@ BuildRequires: libX11-devel
BuildRequires: libXau-devel BuildRequires: libXau-devel
BuildRequires: libXdmcp-devel BuildRequires: libXdmcp-devel
BuildRequires: libXpm-devel BuildRequires: libXpm-devel
BuildRequires: libbrotli-devel
BuildRequires: libbsd-devel
BuildRequires: libbzip2-devel BuildRequires: libbzip2-devel
BuildRequires: libdw-devel BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel
BuildRequires: libexif-devel BuildRequires: libexif-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel BuildRequires: libfreetype-devel
BuildRequires: libgd-devel BuildRequires: libgd-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgsasl-devel
BuildRequires: libgss-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libjbig-devel BuildRequires: libjbig-devel
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libkrb5-devel
BuildRequires: liblockdev-devel
BuildRequires: libltdl-devel BuildRequires: libltdl-devel
BuildRequires: liblzma-devel BuildRequires: liblzma-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpcre-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
BuildRequires: libpsl-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel
BuildRequires: libssh2-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
BuildRequires: libudev-devel BuildRequires: libudev-devel
BuildRequires: libusb-compat-devel BuildRequires: libunistring-devel
BuildRequires: libusbx-devel BuildRequires: libusb-devel
BuildRequires: libvpx-devel BuildRequires: libwebp-devel
BuildRequires: libxcb-devel BuildRequires: libxcb-devel
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: libz-devel BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
%if "%{stage1}" != "1" %if "%{stage1}" != "1"
BuildRequires: avahi-compat-libdns_sd-devel BuildRequires: avahi-compat-libdns_sd-devel
@ -47,10 +70,9 @@ BuildRequires: liblockdev >= 1.0.1
BuildRequires: libpopt-devel >= 4.4.5 BuildRequires: libpopt-devel >= 4.4.5
BuildRequires: libuuid-devel BuildRequires: libuuid-devel
Provides: libgphoto Provides: libgphoto
Obsoletes: libgphoto Obsoletes: libgphoto < 1:2.5.28
Requires: udev >= 103 Requires: udev >= 103
Requires: %{name}-common = %{epoch}:%{version}-%{release} Requires: %{name}-common = %{epoch}:%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Libgphoto2 is the core of gphoto2 software. Libgphoto2 is the core of gphoto2 software.
@ -61,13 +83,12 @@ Summary: Static libraries and headers for %{name}
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
Provides: libgphoto-devel Provides: libgphoto-devel
Obsoletes: libgphoto-devel Obsoletes: libgphoto-devel < 1:2.5.28
%description devel %description devel
Libgphoto2 is the core of gphoto2 software. Libgphoto2 is the core of gphoto2 software.
It is a portable library to gives access to more than 400 digital cameras. It is a portable library to gives access to more than 400 digital cameras.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development.
%package common %package common
Summary: Arch independent files for %{name} Summary: Arch independent files for %{name}
@ -85,6 +106,8 @@ Obsoletes: libgphoto-apidocs
%description apidocs %description apidocs
Libgphoto2 API documentation. Libgphoto2 API documentation.
%debug_package
%prep %prep
%setup -q -n libgphoto2-%{version} %setup -q -n libgphoto2-%{version}
#%patch0 -p1 #%patch0 -p1
@ -95,31 +118,33 @@ Libgphoto2 API documentation.
--with-gnu-ld \ --with-gnu-ld \
--with-ltdl \ --with-ltdl \
--with-drivers=all \ --with-drivers=all \
--with-camlibdir=%{_libdir}/libgphoto2 \
--without-resmgr \ --without-resmgr \
--without-hal \ --without-hal \
--enable-static --enable-static
# --with-camlibdir=%{_libdir}/libgphoto2 \
# --with-cdk \ # --with-cdk \
# --without-baudboy \ # --without-baudboy \
# --without-ttylock \ # --without-ttylock \
# --without-lockdev # --without-lockdev
# --enable-docs # --enable-docs
%make udevscriptdir=/lib/udev/ %make
#udevscriptdir=/lib/udev/
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall udevscriptdir=/lib/udev/ %makeinstall udevscriptdir=%{_prefix}/lib/udev/
install -d %{buildroot}/lib/udev/rules.d/ install -d %{buildroot}%{_udevrulesdir}
install -d %{buildroot}%{_datadir}/hal/fdi/information/10freedesktop
install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/scripts/usbcam install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/scripts/usbcam
cd packaging/generic cd packaging/generic
./print-camera-list udev-rules version 136 \ ./print-camera-list udev-rules version 136 \
mode 660 owner root group camera > \ mode 660 owner root group camera > \
%{buildroot}/lib/udev/rules.d/40-libgphoto2.rules %{buildroot}%{_udevrulesdir}/40-libgphoto2.rules
cd ../.. cd ../..
@ -147,10 +172,10 @@ cat *.lang > %{name}.lang
%files common %files common
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/udev/scripts/usbcam %{_sysconfdir}/udev/scripts/usbcam
/lib/udev/rules.d/40-libgphoto2.rules
%dir %{_datadir}/libgphoto2/%{version} %dir %{_datadir}/libgphoto2/%{version}
%{_datadir}/libgphoto2/%{version}/* %{_datadir}/libgphoto2/%{version}/*
/lib/udev/check-ptp-camera %{_udevrulesdir}/40-libgphoto2.rules
%{_prefix}/lib/udev/check-ptp-camera
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
@ -178,6 +203,9 @@ cat *.lang > %{name}.lang
%{_datadir}/doc/libgphoto2_port/* %{_datadir}/doc/libgphoto2_port/*
%changelog %changelog
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.28-1mamba
- update to 2.5.28
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.5.27-1mamba * Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.5.27-1mamba
- automatic version update by autodist - automatic version update by autodist