blob: 3bb8a83320b1e5ae0759bc4e0b3675e156f2c4cc (
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
|
Name: Document_Classification
Version:1.0.0
Release: 1%{?dist}
Summary:Document Classification
License:MULANPSL-2.0
URL: https://atomgit.com/openeuler123/XIaoWu.git
Source0: %{name}-%{version}.tar.gz
%define debug_package %{nil}
%description
%prep
%autosetup
%build
cjpm build
%install
# 将需要打包的文件拷贝到buildroot目录中去
mkdir -p %{buildroot}/root/Document-Classification/bin
mkdir -p %{buildroot}/root/Document-Classification/conf
cp -r %{_builddir}/%{name}-%{version}/target/release/bin/* %{buildroot}/root/Document-Classification/bin
%files
# 指定将要部署的文件有哪些
/root/Document-Classification/bin/*
%changelog
* Tue Dec 24 2024 Xiaowu <3260998685@qq.com>
-
|