-
Notifications
You must be signed in to change notification settings - Fork 206
Expand file tree
/
Copy pathintel-dlstreamer.spec
More file actions
91 lines (80 loc) · 1.92 KB
/
Copy pathintel-dlstreamer.spec
File metadata and controls
91 lines (80 loc) · 1.92 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Name: intel-dlstreamer
Version: DLSTREAMER_VERSION
Release: 1%{?dist}
Summary: Deep Learning Streamer
License: Proprietary
Source0: %{name}-%{version}.tar.gz
URL: https://github.com/open-edge-platform/dlstreamer/tree/main
Packager: DL Streamer Team <dlstreamer@intel.com>
ExclusiveArch: x86_64
AutoReqProv: no
%define debug_package %{nil}
%define __os_install_post %{nil}
Requires: glib2-devel
Requires: libjpeg-turbo
Requires: libdrm
Requires: libdrm-devel
Requires: wayland-devel
Requires: libX11
Requires: libpng
Requires: libva
Requires: libcurl
Requires: libde265
Requires: libXext
Requires: mesa-libGL
Requires: mesa-libGLU
Requires: libgudev
Requires: paho-c
Requires: python3
Requires: python3-devel
Requires: python3-pip
Requires: python3-gobject
Requires: cairo
Requires: cairo-gobject
Requires: gobject-introspection
Requires: libvpx
Requires: opus
Requires: libsrtp
Requires: libXv
Requires: libva-utils
Requires: libogg
Requires: libusb1
Requires: x265-libs
Requires: x264-libs
Requires: openexr
Requires: tbb
Requires: libsoup3
Requires: intel-media-driver
Requires: openvino-2026.2.0
%description
This package contains Intel DL Streamer.
%prep
%setup -q
%build
# No build steps needed
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/opt
mkdir -p %{buildroot}/usr
cp -a opt/* %{buildroot}/opt/
find %{buildroot} -type f \( -name "*.so*" -o -perm -111 \) | while read -r file; do
if patchelf --print-rpath "$file" &>/dev/null; then
rpath=$(patchelf --print-rpath "$file")
if [ -n "$rpath" ]; then
echo "Removing RPATH from $file"
patchelf --remove-rpath "$file"
fi
fi
done
%check
# No test suite
%files
%license LICENSE
/opt/intel/dlstreamer/
/opt/opencv/
/opt/rdkafka/
/opt/ffmpeg/
/opt/librealsense/
%changelog
* CURRENT_DATE_TIME DL Streamer Team <dlstreamer@intel.com> - DLSTREAMER_VERSION
- Initial release.