From c0781b4f3ac9f9cca89d1bdf0bf09ee8c888d01b Mon Sep 17 00:00:00 2001 From: gfdgd_xi <3025613752@qq.com> Date: Thu, 1 Feb 2024 22:58:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E6=AD=A5=E6=96=B0=E5=A2=9Erpm?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rpm/spark-deepin-wine-runner.spec | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 rpm/spark-deepin-wine-runner.spec diff --git a/rpm/spark-deepin-wine-runner.spec b/rpm/spark-deepin-wine-runner.spec new file mode 100644 index 0000000..daa56e0 --- /dev/null +++ b/rpm/spark-deepin-wine-runner.spec @@ -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/ +