diff options
Diffstat (limited to 'lanshitou.spec')
-rw-r--r-- | lanshitou.spec | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/lanshitou.spec b/lanshitou.spec index d4047f0..7f94e3b 100644 --- a/lanshitou.spec +++ b/lanshitou.spec @@ -1,12 +1,12 @@ Name: lanshitou Version: 1.0.0 Release: 1%{?dist} -Summary: Cangjie EUR demo -Summary(zh_CN): 仓颉EUR示例 -Group: Development/Tools +Summary: Cangjie EUR +Summary(zh_CN): 仓颉EUR + License: Mulan URL: https://atomgit.com/openeuler123/lanshitou -Source: https://atomgit.com/openeuler123/lanshitou/repository/archive.tar.gz?ref=04e8285aa0ad3325255151dcb9a7ee0e2d3c5607 +Source0: file-clas.tar.gz BuildRequires: wget BuildRequires: dnf-plugins-core @@ -16,10 +16,10 @@ BuildRequires: gcc-c++ BuildRequires: openssl %description -A demo for Cangjie and Eur. +Cangjie EUR %prep -%autosetup -n %{name}-%{version} +%autosetup %build if [ ! -f Cangjie.tar.gz ]; then @@ -34,20 +34,17 @@ if [ ! -f Cangjie.tar.gz ]; then %endif fi -tar xvf Cangjie.tar.gz +tar zxvf Cangjie.tar.gz +source ./cangjie/envsetup.sh %install -rm -rf %{buildroot} -source ./cangjie/envsetup.sh cjpm install --root %{buildroot} -%clean -rm -rf %{buildroot} %files -%defattr(-,root,root,-) -/bin/lanshitou -%exclude /.packages.toml +%doc README +%{_bindir}/main +%{_datarootdir}/* %changelog * Sun Jan 12 2025 lishuying <sjbei2022@163.com> |