From 3ac08db4dd7f18e58ca3c4e8cd382b1e6331d8d1 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 8 Jan 2025 03:22:56 +0000 Subject: automatic import of Document_Classification --- Document_Classification-1.0.0.spec | 69 +++++++++++++++++++------------------- sources | 2 +- 2 files changed, 35 insertions(+), 36 deletions(-) diff --git a/Document_Classification-1.0.0.spec b/Document_Classification-1.0.0.spec index 466f170..6f204e5 100644 --- a/Document_Classification-1.0.0.spec +++ b/Document_Classification-1.0.0.spec @@ -1,35 +1,34 @@ -Name: Document_Classification -Version:1.0.0 -Release:1%{?dist} -Summary:file reoganize - -License:GPLv3+ -URL: https://gitee.com/crayon-xiaoxin-xin/XiaoWu.git -Source0:%{name}-%{version}.tar.gz - -%define debug_package %{nil} - -%description - - -%prep -%setup -q # -q makes it quiet - - -%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> -- +Name: Document_Classification +Version:1.0.0 +Release:1%{?dist} +Summary:file reoganize + +License:MULANPSL-2.0 +URL: https://gitee.com/crayon-xiaoxin-xin/XiaoWu.git +Source0:%{name}-%{version}.tar.gz + +%define debug_package %{nil} + +%description + + +%prep +%setup -q # -q makes it quiet + + +%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> diff --git a/sources b/sources index c06f29e..472915a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7c2fceea6a8282509969e01d1dd6e5fe Document_Classification-1.0.0.tar.gz +c275e46fa691d81c6e2799b9cf7a736a Document_Classification-1.0.0.tar.gz -- cgit v1.2.3