diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-09 04:32:11 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-09 04:32:11 +0000 |
| commit | 2317ff67928f973b08a52c241a8c5d673eda70d5 (patch) | |
| tree | 259ac48ea64dd529827cc58313b7d2ca1c136cc7 /libuvc.spec | |
| parent | 1c1d52b55936817e9881946d29a0a6f83ba7c823 (diff) | |
automatic import of libuvcopeneuler24.03_LTS
Diffstat (limited to 'libuvc.spec')
| -rw-r--r-- | libuvc.spec | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libuvc.spec b/libuvc.spec new file mode 100644 index 0000000..1d3f2c6 --- /dev/null +++ b/libuvc.spec @@ -0,0 +1,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 |
