summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-02-23 11:10:07 +0000
committerCoprDistGit <infra@openeuler.org>2025-02-23 11:10:07 +0000
commit456556a671b6c4907a8714d4ffa9d778b4ad9773 (patch)
tree48767adc476caf1355f74d3d637361a66543ff5c
parent2f6c5c586ee9d935ec4ca752fa83a216bf3d5c1a (diff)
automatic import of fc
-rw-r--r--fc.spec47
-rw-r--r--sources0
2 files changed, 47 insertions, 0 deletions
diff --git a/fc.spec b/fc.spec
new file mode 100644
index 0000000..c47a67d
--- /dev/null
+++ b/fc.spec
@@ -0,0 +1,47 @@
+%global pkg_name fc
+%global pkg_version 1.0.0
+%global pkg_summary a file classification app
+%global pkg_description %{expand:
+%{pkg_summary}}
+%global _empty_manifest_terminate_build 0
+
+Name: %{pkg_name}
+Version: %{pkg_version}
+Release: 1
+Summary: %{pkg_summary}
+
+License: MulanPSL2
+URL: https://atomgit.com/openeulercompetitioninfo/meiyoumingzi
+
+BuildRequires: gcc
+BuildRequires: g++
+
+%description
+%{pkg_description}
+
+%prep
+echo "install Cangjie"
+%ifarch x86_64
+ wget 'https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.18-linux_x64.tar.gz&objectKey=67a2c8976a75297d1cdc1d4c' -O Cangjie.tar.gz
+%else
+ wget 'https://cangjie-lang.cn/v1/files/auth/downLoad?nsId=142267&fileName=Cangjie-0.53.18-linux_aarch64.tar.gz&objectKey=67a2c8606a75297d1cdc1d48' -O Cangjie.tar.gz
+%endif
+tar xvf Cangjie.tar.gz
+
+%build
+source cangjie/envsetup.sh
+cjc -v
+
+cjpm build
+
+%install
+
+
+%files -n %{pkg_name}
+%license LICENSE*
+%doc README*
+
+
+%changelog
+* Sun Feb 23 2025 YunShu
+- finish build
diff --git a/sources b/sources
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/sources