2024-01-06 04:27:29 +01:00
|
|
|
Name: libgphoto2
|
2024-01-06 04:27:29 +01:00
|
|
|
Version: 2.5.29
|
2024-01-06 04:27:29 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Epoch: 1
|
|
|
|
Summary: A portable library to gives access to more than 400 digital cameras
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:27:29 +01:00
|
|
|
URL: http://www.gphoto.org
|
2024-01-06 04:27:29 +01:00
|
|
|
Source0: http://downloads.sourceforge.net/project/gphoto/libgphoto/%{version}/libgphoto2-%{version}.tar.bz2
|
|
|
|
Source1: libgphoto-usbcam
|
|
|
|
Patch0: libgphoto-2.4.6-serial.so_undef_symbol_rsm_unlock_device.patch
|
|
|
|
Patch1: libgphoto-2.4.7-Canon_A580.patch
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXau-devel
|
|
|
|
BuildRequires: libXdmcp-devel
|
|
|
|
BuildRequires: libXpm-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libbrotli-devel
|
|
|
|
BuildRequires: libbsd-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libcares-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libe2fs-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libexif-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgd-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgsasl-devel
|
|
|
|
BuildRequires: libgss-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libidn-devel
|
|
|
|
BuildRequires: libidn2-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libjbig-devel
|
|
|
|
BuildRequires: libjpeg-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libkrb5-devel
|
|
|
|
BuildRequires: liblockdev-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libltdl-devel
|
|
|
|
BuildRequires: liblzma-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libnghttp2-devel
|
|
|
|
BuildRequires: libntlm-devel
|
|
|
|
BuildRequires: libopenldap-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libpcre-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libpng-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libpsl-devel
|
|
|
|
BuildRequires: librtmp-devel
|
|
|
|
BuildRequires: libsasl2-devel
|
|
|
|
BuildRequires: libssh2-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libudev-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libunistring-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
|
|
BuildRequires: libwebp-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
BuildRequires: libzstd-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
%if "%{stage1}" != "1"
|
|
|
|
BuildRequires: avahi-compat-libdns_sd-devel
|
|
|
|
%endif
|
|
|
|
BuildRequires: liblockdev >= 1.0.1
|
|
|
|
BuildRequires: libpopt-devel >= 4.4.5
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
Provides: libgphoto
|
2024-01-06 04:27:29 +01:00
|
|
|
Obsoletes: libgphoto < 1:2.5.28
|
2024-01-06 04:27:29 +01:00
|
|
|
Requires: udev >= 103
|
|
|
|
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Libgphoto2 is the core of gphoto2 software.
|
|
|
|
It is a portable library to gives access to more than 400 digital cameras.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Provides: libgphoto-devel
|
2024-01-06 04:27:29 +01:00
|
|
|
Obsoletes: libgphoto-devel < 1:2.5.28
|
2024-01-06 04:27:29 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Libgphoto2 is the core of gphoto2 software.
|
|
|
|
It is a portable library to gives access to more than 400 digital cameras.
|
2024-01-06 04:27:29 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:27:29 +01:00
|
|
|
|
|
|
|
%package common
|
|
|
|
Summary: Arch independent files for %{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description common
|
|
|
|
Arch independent files for %{name}.
|
|
|
|
|
|
|
|
%package apidocs
|
|
|
|
Summary: Libgphoto2 API documentation
|
|
|
|
Group: Documentation
|
|
|
|
Provides: libgphoto-apidocs
|
|
|
|
Obsoletes: libgphoto-apidocs
|
|
|
|
|
|
|
|
%description apidocs
|
|
|
|
Libgphoto2 API documentation.
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n libgphoto2-%{version}
|
|
|
|
#%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-gnu-ld \
|
|
|
|
--with-ltdl \
|
|
|
|
--with-drivers=all \
|
|
|
|
--without-resmgr \
|
|
|
|
--without-hal \
|
|
|
|
--enable-static
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
# --with-camlibdir=%{_libdir}/libgphoto2 \
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
# --with-cdk \
|
|
|
|
# --without-baudboy \
|
|
|
|
# --without-ttylock \
|
|
|
|
# --without-lockdev
|
|
|
|
# --enable-docs
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
#udevscriptdir=/lib/udev/
|
2024-01-06 04:27:29 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
2024-01-06 04:27:29 +01:00
|
|
|
%makeinstall udevscriptdir=%{_prefix}/lib/udev/
|
2024-01-06 04:27:29 +01:00
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
install -d %{buildroot}%{_udevrulesdir}
|
2024-01-06 04:27:29 +01:00
|
|
|
install -D -m 0755 %{SOURCE1} %{buildroot}%{_sysconfdir}/udev/scripts/usbcam
|
|
|
|
|
|
|
|
cd packaging/generic
|
|
|
|
./print-camera-list udev-rules version 136 \
|
|
|
|
mode 660 owner root group camera > \
|
2024-01-06 04:27:29 +01:00
|
|
|
%{buildroot}%{_udevrulesdir}/40-libgphoto2.rules
|
2024-01-06 04:27:29 +01:00
|
|
|
|
|
|
|
cd ../..
|
|
|
|
|
|
|
|
%find_lang libgphoto2-6
|
2024-01-06 04:27:29 +01:00
|
|
|
%find_lang libgphoto2_port-12
|
2024-01-06 04:27:29 +01:00
|
|
|
cat *.lang > %{name}.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/libgphoto2
|
|
|
|
%{_libdir}/libgphoto2.so.*
|
|
|
|
%{_libdir}/libgphoto2_port.so.*
|
|
|
|
%dir %{_libdir}/libgphoto2_port
|
|
|
|
%{_libdir}/libgphoto2_port/*
|
|
|
|
%{_libdir}/libgphoto2/*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files common
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/udev/scripts/usbcam
|
|
|
|
%dir %{_datadir}/libgphoto2/%{version}
|
|
|
|
%{_datadir}/libgphoto2/%{version}/*
|
2024-01-06 04:27:29 +01:00
|
|
|
%{_udevrulesdir}/40-libgphoto2.rules
|
|
|
|
%{_prefix}/lib/udev/check-ptp-camera
|
2024-01-06 04:27:29 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/gphoto2-config
|
|
|
|
%{_bindir}/gphoto2-port-config
|
|
|
|
%{_libdir}/libgphoto2.so
|
|
|
|
%{_libdir}/libgphoto2.a
|
|
|
|
%{_libdir}/libgphoto2.la
|
|
|
|
%{_libdir}/libgphoto2_port.so
|
|
|
|
%{_libdir}/libgphoto2_port.a
|
|
|
|
%{_libdir}/libgphoto2_port.la
|
|
|
|
%{_libdir}/pkgconfig/libgphoto2.pc
|
|
|
|
%{_libdir}/pkgconfig/libgphoto2_port.pc
|
|
|
|
%dir %{_includedir}/gphoto2
|
|
|
|
%{_includedir}/gphoto2/*
|
|
|
|
%{_mandir}/man3/*
|
2024-01-06 04:27:29 +01:00
|
|
|
%doc ChangeLog TESTERS NEWS
|
2024-01-06 04:27:29 +01:00
|
|
|
|
|
|
|
%files apidocs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_datadir}/doc/libgphoto2
|
|
|
|
%{_datadir}/doc/libgphoto2/*
|
2024-01-06 04:27:29 +01:00
|
|
|
%{_datadir}/libgphoto2_port/*/vcamera/README.txt
|
2024-01-06 04:27:29 +01:00
|
|
|
%dir %{_datadir}/doc/libgphoto2_port
|
|
|
|
%{_datadir}/doc/libgphoto2_port/*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:27:29 +01:00
|
|
|
* Tue Mar 22 2022 Automatic Build System <autodist@mambasoft.it> 2.5.29-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Sun Jan 09 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.28-1mamba
|
|
|
|
- update to 2.5.28
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 2.5.27-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Mon Oct 12 2020 Automatic Build System <autodist@mambasoft.it> 2.5.26-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Fri May 29 2020 Automatic Build System <autodist@mambasoft.it> 2.5.25-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Fri Feb 28 2020 Automatic Build System <autodist@mambasoft.it> 2.5.24-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Wed Oct 30 2019 Automatic Build System <autodist@mambasoft.it> 2.5.23-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Sun Jan 13 2019 Automatic Build System <autodist@mambasoft.it> 2.5.22-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Mon Dec 24 2018 Automatic Build System <autodist@mambasoft.it> 2.5.21-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Sat Dec 08 2018 Automatic Build System <autodist@mambasoft.it> 2.5.20-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Fri Aug 03 2018 Automatic Build System <autodist@mambasoft.it> 2.5.19-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed May 23 2018 Automatic Build System <autodist@mambasoft.it> 2.5.18-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Apr 20 2018 Automatic Build System <autodist@mambasoft.it> 2.5.17-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Dec 21 2017 Automatic Build System <autodist@mambasoft.it> 2.5.16-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 2.5.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 13 2017 Automatic Build System <autodist@mambasoft.it> 2.5.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 08 2017 Automatic Build System <autodist@mambasoft.it> 2.5.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 03 2016 Automatic Build System <autodist@mambasoft.it> 2.5.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 26 2016 Automatic Build System <autodist@mambasoft.it> 2.5.10-2mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu May 26 2016 Automatic Build System <autodist@mambasoft.it> 2.5.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Automatic Build System <autodist@mambasoft.it> 2.5.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 25 2016 Automatic Build System <autodist@mambasoft.it> 2.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 20 2015 Automatic Build System <autodist@mambasoft.it> 2.5.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 27 2014 Automatic Build System <autodist@mambasoft.it> 2.5.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:27:29 +01:00
|
|
|
* Thu Dec 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.5.1-1mamba
|
|
|
|
- update to 2.5.5.1
|
|
|
|
- added -common subpackage for multiarch library cohexistence
|
|
|
|
|
|
|
|
* Fri May 02 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-3mamba
|
|
|
|
- remove hal files to fix i586 vs x86_64 conflict
|
|
|
|
|
|
|
|
* Sun Nov 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-2mamba
|
|
|
|
- disable hal
|
|
|
|
|
|
|
|
* Wed Nov 02 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.11-1mamba
|
|
|
|
- update to 2.4.11
|
|
|
|
|
|
|
|
* Fri Aug 27 2010 Automatic Build System <autodist@mambasoft.it> 2.4.10.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue May 11 2010 Automatic Build System <autodist@mambasoft.it> 2.4.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Dec 11 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.7-2mamba
|
|
|
|
- added patch for Canon A580 (04a9:3177) support
|
|
|
|
- udev rules file built for version >= 136
|
|
|
|
|
|
|
|
* Mon Aug 31 2009 Automatic Build System <autodist@mambasoft.it> 2.4.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Aug 10 2009 Davide Madrisan <davide.madrisan@gmail.com> 2.4.6-2mamba
|
|
|
|
- build requires libusb0-devel and libuuid-devel
|
|
|
|
- fix "undefined symbol rsm_unlock_device" error in serial.so
|
|
|
|
- new subpackage %{name}-apidocs
|
|
|
|
|
|
|
|
* Fri Jul 03 2009 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Mar 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-2mamba
|
|
|
|
- rebuilt against avahi-compat-libdns_sd
|
|
|
|
|
|
|
|
* Wed Feb 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 01 2008 gil <puntogil@libero.it> 2.4.3-1mamba
|
|
|
|
- update to 2.4.3
|
|
|
|
|
|
|
|
* Sun Jul 20 2008 gil <puntogil@libero.it> 2.4.2-1mamba
|
|
|
|
- update to 2.4.2
|
|
|
|
|
|
|
|
* Wed Mar 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- update to 2.4.0
|
|
|
|
- fixed udev rules file that was setting "camera" group to all usbdev's
|
|
|
|
|
|
|
|
* Sun Jun 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-2mamba
|
|
|
|
- configure with correct udevscriptdir for check-ptp-camera script
|
|
|
|
|
|
|
|
* Thu Jun 07 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- update to 2.3.1
|
|
|
|
- added fixed usbcam udev script (use $DEVNAME instead of $DEVICE)
|
|
|
|
- print-camera-list-udev-rules: generate udev >= 0.98 rules
|
|
|
|
|
|
|
|
* Mon Oct 30 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-2qilnx
|
|
|
|
- add udev/HAL support and remove dependency on hotplug
|
|
|
|
|
|
|
|
* Mon Apr 04 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.1-1qilnx
|
|
|
|
- update to version 2.2.1 by autospec
|
|
|
|
- specfile fixed
|
|
|
|
|
|
|
|
* Tue Apr 13 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-4qilnx
|
|
|
|
- serial locking mechanism disabled because lockdev does not support devfs
|
|
|
|
|
|
|
|
* Fri Apr 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-3qilnx
|
|
|
|
- added LD_LIBRARY_PATH to fix linking problems with port plugins
|
|
|
|
|
|
|
|
* Fri Apr 09 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-2qilnx
|
|
|
|
- linux hotplug support added
|
|
|
|
|
|
|
|
* Thu Apr 08 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.4-1qilnx
|
|
|
|
- new version build
|
|
|
|
|
|
|
|
* Thu Jan 01 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1qilnx
|
|
|
|
- first build
|