1 %define neexampledir %{_libdir}/npu-engine/bin
7 Group: System Environment/Daemons
8 Packager: MyungJoo Ham <myungjoo.ham@samsung.com>
10 Source0: npu-engine-%{version}.tar.gz
11 Source1001: npu-engine.manifest
15 BuildRequires: pkg-config
17 BuildRequires: linux-npu-headers
19 # NE-CONF uses iniparser
20 BuildRequires: pkgconfig(iniparser)
23 BuildRequires: ncurses-devel
24 BuildRequires: fuse-devel
27 BuildRequires: gtest-devel
28 BuildRequires: pkgconfig(libdrm)
29 BuildRequires: pkgconfig(tinyxml2)
30 BuildRequires: pkgconfig(dlog)
33 BuildRequires: libmrpsim-devel
37 BuildRequires: libmrpsim-devel
38 %define enable_npu_emul -Denable_npu_emul=true
40 %define enable_npu_emul -Denable_npu_emul=false
43 %if 0%{?npumgr_plugin}
44 BuildRequires: glib2-devel
45 %define enable_plugin_npumgr -Denable_plugin_npumgr=true
47 %define enable_plugin_npumgr -Denable_plugin_npumgr=false
51 BuildRequires: nnstreamer-devel
52 %define enable_plugin_nns -Denable_plugin_nns=true
54 %define enable_plugin_nns -Denable_plugin_nns=false
57 %global debug_package %{nil}
58 %global __debug_install_post %{nil}
61 This provides in-NPU software control daemon, NPU-Engine.
68 meson --buildtype=plain --bindir=%{neexampledir} --prefix=%{_prefix} \
69 --libdir=%{_libdir} --includedir=%{_includedir} \
70 --datadir=%{_datadir} --sysconfdir=%{_sysconfdir} \
71 -Dtarget_platform=tizen -Denable_data_manip=true \
72 %{enable_npu_emul} %{enable_plugin_npumgr} %{enable_plugin_nns} \
74 ninja -C build %{?_smp_mflags}
78 # Install Core (NPU-Engine)
79 DESTDIR=%{buildroot} ninja install -C build %{?_smp_mflags}
82 %manifest npu-engine.manifest
83 %defattr(-,root,root,-)
84 %{_libdir}/libnpu-engine*.so
85 %{_sysconfdir}/npu-engine.ini
88 Summary: Development Support for NPU Engine Library
89 Requires: npu-engine = %{version}-%{release}
91 Developmental packages to develop programs using npu-engine.
92 This contains corresponding header files and .pc pkgconfig file.
94 %manifest npu-engine.manifest
95 %defattr(-,root,root,-)
96 %{_includedir}/npu-engine/*.h
97 %{_libdir}/libnpu-engine*.a
98 %{_libdir}/pkgconfig/*.pc
101 Summary: NPU Engine Example Package
102 Requires: npu-engine = %{version}-%{release}
104 Example application package for NPU Engine, including UnitTests and AppTest with realistic scenarios.
106 %manifest npu-engine.manifest
107 %defattr(-,root,root,-)
108 %{neexampledir}/unittests/*
109 %{neexampledir}/apptests/*
112 Requires: npu-engine = %{version}-%{release}
113 Summary: NPU Engine Example Package
115 This provides utility packages for NPU Engine, including metadata extraction of model files.
117 %manifest npu-engine.manifest
118 %defattr(-,root,root,-)
119 %{neexampledir}/utils/*
121 %if ( 0%{?npumgr_plugin} || 0%{?nns_plugin} )
122 %package example-plugins
123 Requires: npu-engine = %{version}-%{release}
124 Summary: NPU Engine Example Package for Plugins
125 %description example-plugins
126 Example application package for NPU Engine plugins
127 %files example-plugins
128 %manifest npu-engine.manifest
129 %defattr(-,root,root,-)
130 %if 0%{?npumgr_plugin}
131 %{neexampledir}/plugins/npumgr/*
134 %{neexampledir}/plugins/nnstreamer/*
138 %if 0%{?npumgr_plugin}
139 %package -n npumgr-srnpu
140 Summary: Tizen NPU Manager plugin for SR-NPU device family
142 %description -n npumgr-srnpu
143 Reference implementation of Tizen NPU Manager TRIV2 plugin, including a dummy NPU Manager module.
144 %files -n npumgr-srnpu
145 %manifest npu-engine.manifest
146 %{_libdir}/libnpumgr*.so
147 %{_datadir}/dbus-1/system.d/*
151 %package -n nnstreamer-srnpu
152 Summary: NNStreamer subplugin for SR-NPU device family
155 %description -n nnstreamer-srnpu
156 Reference implementation of NNStreamer filter subplugin for SR-NPU (for now, TRIV2 only).
157 %files -n nnstreamer-srnpu
158 %manifest npu-engine.manifest
159 %{_prefix}/lib/nnstreamer/filters/libnnstreamer_filter_srnpu.so
163 * Thu Aug 12 2021 Dongju Chae <dongju.chae@samsung.com>
164 - npu-engine v2.3.16 release; See ./CHANGES for details
166 * Fri Aug 06 2021 Dongju Chae <dongju.chae@samsung.com>
167 - npu-engine v2.3.15 release; See ./CHANGES for details
169 * Wed Jul 21 2021 Dongju Chae <dongju.chae@samsung.com>
170 - npu-engine v2.3.14 release; See ./CHANGES for details
172 * Mon Jul 12 2021 Dongju Chae <dongju.chae@samsung.com>
173 - npu-engine v2.3.13 release; See ./CHANGES for details
175 * Fri Jul 02 2021 Dongju Chae <dongju.chae@samsung.com>
176 - npu-engine v2.3.12 release; See ./CHANGES for details
178 * Fri Jun 25 2021 Dongju Chae <dongju.chae@samsung.com>
179 - npu-engine v2.3.11 release; See ./CHANGES for details
181 * Fri Jun 18 2021 Dongju Chae <dongju.chae@samsung.com>
182 - npu-engine v2.3.10 release; See ./CHANGES for details
184 * Thu Jun 03 2021 Dongju Chae <dongju.chae@samsung.com>
187 * Wed May 26 2021 Dongju Chae <dongju.chae@samsung.com>
190 * Fri May 14 2021 Dongju Chae <dongju.chae@samsung.com>
193 * Tue Apr 27 2021 Dongju Chae <dongju.chae@samsung.com>
196 * Tue Apr 06 2021 Dongju Chae <dongju.chae@samsung.com>
199 * Wed Mar 24 2021 Dongju Chae <dongju.chae@samsung.com>
202 * Tue Mar 16 2021 Dongju Chae <dongju.chae@samsung.com>
205 * Fri Feb 19 2021 Dongju Chae <dongju.chae@samsung.com>
208 * Tue Feb 02 2021 Dongju Chae <dongju.chae@samsung.com>
211 * Fri Jan 15 2021 Dongju Chae <dongju.chae@samsung.com>
214 * Mon Jan 04 2021 Dongju Chae <dongju.chae@samsung.com>
217 * Mon Dec 14 2020 Dongju Chae <dongju.chae@samsung.com>
220 * Fri Dec 04 2020 Dongju Chae <dongju.chae@samsung.com>
223 * Mon Nov 23 2020 Dongju Chae <dongju.chae@samsung.com>
226 * Wed Nov 18 2020 Dongju Chae <dongju.chae@samsung.com>
229 * Wed Nov 04 2020 Dongju Chae <dongju.chae@samsung.com>
232 * Wed Oct 21 2020 Dongju Chae <dongju.chae@samsung.com>
235 * Wed Sep 23 2020 Dongju Chae <dongju.chae@samsung.com>
238 * Fri Aug 21 2020 Dongju Chae <dongju.chae@samsung.com>
241 * Wed Aug 19 2020 Dongju Chae <dongju.chae@samsung.com>
244 * Fri Aug 07 2020 Dongju Chae <dongju.chae@samsung.com>
247 * Mon Jul 06 2020 Dongju Chae <dongju.chae@samsung.com>
250 * Fri Jun 19 2020 Dongju Chae <dongju.chae@samsung.com>
253 * Wed Jun 17 2020 Dongju Chae <dongju.chae@samsung.com>
256 * Tue May 26 2020 Dongju Chae <dongju.chae@samsung.com>
259 * Fri May 15 2020 Dongju Chae <dongju.chae@samsung.com>
262 * Tue Mar 10 2020 Dongju Chae <dongju.chae@samsung.com>
265 * Fri Mar 06 2020 Dongju Chae <dongju.chae@samsung.com>
268 * Thu Mar 05 2020 Dongju Chae <dongju.chae@samsung.com>
271 * Tue Mar 03 2020 Dongju Chae <dongju.chae@samsung.com>
274 * Mon Mar 02 2020 Dongju Chae <dongju.chae@samsung.com>
277 * Fri Feb 21 2020 Dongju Chae <dongju.chae@samsung.com>
280 * Wed Feb 19 2020 Dongju Chae <dongju.chae@samsung.com>
283 * Fri Feb 14 2020 Dongju Chae <dongju.chae@samsung.com>
286 * Fri Feb 07 2020 Dongju Chae <dongju.chae@samsung.com>
289 * Tue Jan 07 2020 Dongju Chae <dongju.chae@samsung.com>
292 * Tue Dec 17 2019 Dongju Chae <dongju.chae@samsung.com>
295 * Thu Nov 28 2019 Wook Song <wook16.song@samsung.com>
298 * Wed Nov 27 2019 Wook Song <wook16.song@samsung.com>
301 * Fri Nov 22 2019 Dongju Chae <dongju.chae@samsung.com>