mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-12 17:48:27 +08:00
初步新增rpm配置文件
This commit is contained in:
parent
de06de7637
commit
c0781b4f3a
31
rpm/spark-deepin-wine-runner.spec
Normal file
31
rpm/spark-deepin-wine-runner.spec
Normal file
@ -0,0 +1,31 @@
|
||||
Summary: text package.
|
||||
Name: spark-deepin-wine-runner
|
||||
Version: 3.6.1
|
||||
Release: 200
|
||||
License: GPLv3+
|
||||
AutoReqProv: no
|
||||
|
||||
Requires: python3
|
||||
|
||||
%define __os_install_post %{nil}
|
||||
%description
|
||||
wine runner
|
||||
|
||||
%prep
|
||||
%build
|
||||
git clone https://gitlink.org.cn/gfdgd_xi/deep-wine-runner --depth=1 | true
|
||||
cd deep-wine-runner
|
||||
git pull
|
||||
make package-deb -j4
|
||||
%install
|
||||
cd deep-wine-runner
|
||||
sudo dpkg -x spark-deepin-wine-runner.deb ~/rpmbuild/BUILDROOT/*
|
||||
sudo chmod 777 -Rv ~/rpmbuild/BUILDROOT/*/opt
|
||||
sudo chmod 755 -Rv ~/rpmbuild/BUILDROOT/*/usr
|
||||
|
||||
#%dir %attr(0755, root, root) "/usr"
|
||||
|
||||
%files
|
||||
/usr/
|
||||
/opt/
|
||||
|
Loading…
Reference in New Issue
Block a user