Accepting request 926033 from home:msmeissn:branches:graphics
- split out libgphoto2_port for now to meet new shared library policy requirements. bsc#1191764 OBS-URL: https://build.opensuse.org/request/show/926033 OBS-URL: https://build.opensuse.org/package/show/graphics/libgphoto2?expand=0&rev=218
This commit is contained in:
parent
55e99166bb
commit
b07ad9fe51
@ -1,5 +1,7 @@
|
|||||||
|
libgphoto2_port12
|
||||||
libgphoto2-6
|
libgphoto2-6
|
||||||
libgphoto2-devel
|
libgphoto2-devel
|
||||||
requires "libexif-devel-<targettype>"
|
requires "libexif-devel-<targettype>"
|
||||||
requires "libusb-1_0-devel-<targettype>"
|
requires "libusb-1_0-devel-<targettype>"
|
||||||
requires "libgphoto2-6-<targettype> = %version"
|
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>
|
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(post): udev
|
||||||
Requires(postun): 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
|
%package doc
|
||||||
Summary: Documentation for libgphoto2
|
Summary: Documentation for libgphoto2
|
||||||
Group: Documentation/Other
|
Group: Documentation/Other
|
||||||
@ -73,6 +79,7 @@ Summary: Development headers for libgphoto2
|
|||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libexif-devel
|
Requires: libexif-devel
|
||||||
Requires: libgphoto2-%major = %version
|
Requires: libgphoto2-%major = %version
|
||||||
|
Requires: libgphoto2_port12 = %version
|
||||||
Requires: libusb-1_0-devel
|
Requires: libusb-1_0-devel
|
||||||
|
|
||||||
%package devel-doc
|
%package devel-doc
|
||||||
@ -108,6 +115,15 @@ or by running
|
|||||||
|
|
||||||
gphoto2 --list-cameras
|
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
|
%description doc
|
||||||
gPhoto (GNU Photo) is a set of libraries for previewing, retrieving,
|
gPhoto (GNU Photo) is a set of libraries for previewing, retrieving,
|
||||||
and capturing images from a range of supported digital cameras to your
|
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
|
%files -n libgphoto2-%major
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%_libdir/libgphoto2
|
%_libdir/libgphoto2
|
||||||
%_libdir/libgphoto2_port
|
|
||||||
# support files for konica camlib
|
# support files for konica camlib
|
||||||
%_datadir/%name
|
%_datadir/%name
|
||||||
%_libdir/libgphoto2.so.*
|
%_libdir/libgphoto2.so.*
|
||||||
%_libdir/libgphoto2_port.so.*
|
|
||||||
%if 0%{?suse_version} > 1230
|
%if 0%{?suse_version} > 1230
|
||||||
%_udevhwdbdir/20-gphoto.hwdb
|
%_udevhwdbdir/20-gphoto.hwdb
|
||||||
%endif
|
%endif
|
||||||
%_udevrulesdir/40-libgphoto2.rules
|
%_udevrulesdir/40-libgphoto2.rules
|
||||||
|
|
||||||
|
%files -n libgphoto2_port12
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libgphoto2_port
|
||||||
|
%_libdir/libgphoto2_port.so.*
|
||||||
%_datadir/libgphoto2_port
|
%_datadir/libgphoto2_port
|
||||||
|
|
||||||
%files -n libgphoto2-doc
|
%files -n libgphoto2-doc
|
||||||
@ -231,6 +250,9 @@ find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc apidocs README.apidocs
|
%doc apidocs README.apidocs
|
||||||
|
|
||||||
|
%post -n libgphoto2_port12 -p /sbin/ldconfig
|
||||||
|
%postun -n libgphoto2_port12 -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n %name-%major
|
%post -n %name-%major
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%if 0%{?suse_version} > 1230
|
%if 0%{?suse_version} > 1230
|
||||||
|
Loading…
Reference in New Issue
Block a user