[ Packaging ] Meta Package for NNTrainer
authorjijoong.moon <jijoong.moon@samsung.com>
Mon, 5 Oct 2020 02:54:27 +0000 (11:54 +0900)
committerjijoong.moon <jijoong.moon@samsung.com>
Mon, 5 Oct 2020 07:10:05 +0000 (16:10 +0900)
NNTrainer Meta :
 - nntrainer-core
 - nnstreamer-nntrainer if nnstreamer_filter is on
 - capi-nntrainer if with tizen

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
packaging/nntrainer.spec

index ae9e16e..6e382d5 100644 (file)
@@ -67,10 +67,24 @@ BuildRequires:      python
 %endif #nnstreamer_filter
 %endif  # tizen
 
+Requires:      nntrainer-core = %{version}-%{release}
+
+%if  0%{?nnstreamer_filter}
+Requires:      nnstreamer-nntrainer = %{version}-%{release}
+%endif #nnstreamer_filter
+%if %{with tizen}
+Requires:      capi-nntrainer = %{version}-%{release}
+%endif #tizen
+
+%description
+NNtrainer Meta package for tizen
+
+%package core
+Summary:       Software framework for traning neural networks
 Requires:      iniparser
 Requires:      libopenblas_pthreads0
 
-%description
+%description core
 NNtrainer is Software Framework for Training Nerual Network Models on Devices.
 
 %package devel
@@ -290,6 +304,8 @@ cp -r result %{buildroot}%{_datadir}/nntrainer/unittest/
 %postun -p /sbin/ldconfig
 
 %files
+
+%files core
 %manifest nntrainer.manifest
 %defattr(-,root,root,-)
 %license LICENSE