blob: 1d3f2c68a04a85aeaae7c90d36ce8c22a6addbde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
Name: libuvc
Version: 0.0.7
Release: 4
Summary: A cross-platform library for USB video devices
License: BSD-3-Clause
URL: https://github.com/libuvc/libuvc
Source0: https://github.com/libuvc/libuvc/archive/refs/tags/v%{version}.tar.gz
Patch0: libuvc-cmake4.patch
Patch1: libuvc-cve-2026-1991.patch
BuildRequires: gcc
BuildRequires: cmake
BuildRequires: libusb-devel
BuildRequires: libjpeg-devel
%description
A cross-platform library for USB video devices.
%package devel
Summary: Development files for libuvc
Requires: %{name}%{?_isa} = %{version}-%{release}
Conflicts: %{name} < 0.0.7-3
%description devel
The devel package contains development files for libuvc.
It provides header files and libraries for libuvc.
%prep
%autosetup -p1 -n %{name}-%{version}
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/cmake/*
%{_libdir}/%{name}.a
%changelog
* Fri Oct 09 2026 kuyan_kubuds <kuyan@kubuds.cn> - 0.0.7-4
- Fix CVE-2026-1991: validate info->config and the interface index in
uvc_scan_streaming() before dereferencing them. A malformed UVC descriptor
caused a NULL pointer dereference (SEGV at address 0x10); see upstream
issue libuvc/libuvc#300.
* Sat Jul 18 2026 Funda Wang <fundawang@yeah.net> - 0.0.7-3
- fix build with cmake 4
* Fri Dec 15 2023 davidhan008 <619409713@qq.com> - 0.0.7-2
- Add cmake depence
* Wed May 3 2023 will_niutao <niutao2@huawei.com> - 0.0.7-1
- Init for openEuler
|