summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-12-26 11:43:51 +0000
committerCoprDistGit <infra@openeuler.org>2024-12-26 11:43:51 +0000
commit49884a66f1c3a4f9c57b7aace88ed69c67bc7642 (patch)
tree32a53404788858f9a30b3d8bb6d0d8123f64e784
parent0299671dcdb5dab3d15ab59706fa24beaabe2ac3 (diff)
automatic import of Document_Classification
-rw-r--r--Document_Classification-1.0.0.spec12
1 files changed, 6 insertions, 6 deletions
diff --git a/Document_Classification-1.0.0.spec b/Document_Classification-1.0.0.spec
index 9cad5dc..4f1395f 100644
--- a/Document_Classification-1.0.0.spec
+++ b/Document_Classification-1.0.0.spec
@@ -4,10 +4,10 @@ Name: Document_Classification
Version: 1.0.0
# 发布号,每次发布时递增,初始可以为 1
Release: 1%{?dist}
-# 软件包的简短描述,简要说明软件包的功能
+# 软件包的简短描述
Summary: This is a sample package for [文件分类]
-# 软件包的许可证,修改为你的软件包所使用的许可证(如 GPL、MIT 等)
-License: MULANPSL-2.0 License
+# 软件包的许可证
+License: GPLv3+
# 软件包的主页 URL,如果有,修改为实际的项目网址
URL: https://gitee.com/crayon-xiaoxin-xin/XiaoWu.git
@@ -23,7 +23,7 @@ This is a more detailed description of my_package.
It includes [文件分类,将一个路径下的文件夹和子文件夹遍历,按照文件类型移动到file、doc、exe、txt,其中file属于其他文件].
-# 准备阶段的命令,通常用于解压源代码等操作
+# 准备阶段的命令
%prep
echo "开始进入%prep阶段..."
%autosetup
@@ -31,11 +31,11 @@ echo "已进入的源文件目录:$(pwd)"
-# 构建阶段的命令,根据项目的实际构建过程进行修改
+# 构建阶段的命令
%build
cjpm build
-# 安装阶段的命令,指定软件包的安装路径和要安装的文件
+# 安装阶段的命令
%install
mkdir -p %{buildroot}/root/Document_Classification/bin
mkdir -p %{buildroot}/root/Document_Classification/conf