Accepting request 926034 from graphics
- split out libgphoto2_port for now to meet new shared library policy requirements. bsc#1191764 (forwarded request 926033 from msmeissn) OBS-URL: https://build.opensuse.org/request/show/926034 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libgphoto2?expand=0&rev=130
This commit is contained in:
commit
cd389e5ca2
@ -1,5 +1,7 @@
|
||||
libgphoto2_port12
|
||||
libgphoto2-6
|
||||
libgphoto2-devel
|
||||
requires "libexif-devel-<targettype>"
|
||||
requires "libusb-1_0-devel-<targettype>"
|
||||
requires "libgphoto2-6-<targettype> = %version"
|
||||
requires "libgphoto2_port12-<targettype> = %version"
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 18 14:27:17 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
- split out libgphoto2_port for now to meet new shared library policy
|
||||
requirements. bsc#1191764
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 21 12:11:08 UTC 2021 - Marcus Meissner <meissner@suse.com>
|
||||
|
||||
|
@ -64,6 +64,12 @@ Requires(post): /sbin/ldconfig
|
||||
Requires(post): udev
|
||||
Requires(postun): udev
|
||||
|
||||
%package -n libgphoto2_port12
|
||||
Summary: Port drivers for the libgphoto2 digital camera library
|
||||
Group: System/Libraries
|
||||
Requires(pre): /sbin/ldconfig
|
||||
Requires(post): /sbin/ldconfig
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for libgphoto2
|
||||
Group: Documentation/Other
|
||||
@ -73,6 +79,7 @@ Summary: Development headers for libgphoto2
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libexif-devel
|
||||
Requires: libgphoto2-%major = %version
|
||||
Requires: libgphoto2_port12 = %version
|
||||
Requires: libusb-1_0-devel
|
||||
|
||||
%package devel-doc
|
||||
@ -108,6 +115,15 @@ or by running
|
||||
|
||||
gphoto2 --list-cameras
|
||||
|
||||
%description -n libgphoto2_port12
|
||||
gPhoto (GNU Photo) is a set of libraries for previewing, retrieving,
|
||||
and capturing images from a range of supported digital cameras to your
|
||||
local hard drive. It does not support digital cameras based on the USB
|
||||
storage protocol as those can be mounted by Linux directly.
|
||||
|
||||
This package contains the port drivers (e.g. the USB drivers, the PTP/IP
|
||||
driver).
|
||||
|
||||
%description doc
|
||||
gPhoto (GNU Photo) is a set of libraries for previewing, retrieving,
|
||||
and capturing images from a range of supported digital cameras to your
|
||||
@ -197,15 +213,18 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
||||
%files -n libgphoto2-%major
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libgphoto2
|
||||
%_libdir/libgphoto2_port
|
||||
# support files for konica camlib
|
||||
%_datadir/%name
|
||||
%_libdir/libgphoto2.so.*
|
||||
%_libdir/libgphoto2_port.so.*
|
||||
%if 0%{?suse_version} > 1230
|
||||
%_udevhwdbdir/20-gphoto.hwdb
|
||||
%endif
|
||||
%_udevrulesdir/40-libgphoto2.rules
|
||||
|
||||
%files -n libgphoto2_port12
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libgphoto2_port
|
||||
%_libdir/libgphoto2_port.so.*
|
||||
%_datadir/libgphoto2_port
|
||||
|
||||
%files -n libgphoto2-doc
|
||||
@ -231,6 +250,9 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
||||
%defattr(-,root,root)
|
||||
%doc apidocs README.apidocs
|
||||
|
||||
%post -n libgphoto2_port12 -p /sbin/ldconfig
|
||||
%postun -n libgphoto2_port12 -p /sbin/ldconfig
|
||||
|
||||
%post -n %name-%major
|
||||
/sbin/ldconfig
|
||||
%if 0%{?suse_version} > 1230
|
||||
|
Loading…
Reference in New Issue
Block a user