summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-12-18 22:39:48 +0800
committerruki <[email protected]>2023-12-18 22:39:48 +0800
commit9725c72f8834475640800ec1ac5315ac803cb0a0 (patch)
tree88e2aa72755d14161a2daff7eb7ad063d20c60f1 /xmake/scripts
parent4041150b168e3101197aede658014025dd676e1b (diff)
add srpm.spec
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xpack/srpm/srpm.spec35
1 files changed, 35 insertions, 0 deletions
diff --git a/xmake/scripts/xpack/srpm/srpm.spec b/xmake/scripts/xpack/srpm/srpm.spec
new file mode 100644
index 000000000..9372e49bf
--- /dev/null
+++ b/xmake/scripts/xpack/srpm/srpm.spec
@@ -0,0 +1,35 @@
+# this is a SRPM spec file,
+# it is autogenerated by the xmake build system.
+# do not edit by hand.
+
+Name: ${PACKAGE_NAME}
+Version: ${PACKAGE_VERSION}
+Release: 1%{?dist}
+Summary: ${PACKAGE_TITLE}
+
+License: Apache-2.0 AND LicenseRef-Fedora-Public-Domain AND BSD
+URL: ${PACKAGE_HOMEPAGE}
+Source0: https://github.com/xmake-io/xmake/releases/download/v%{version}/%{name}-v%{version}.tar.gz
+
+BuildRequires: gcc
+BuildRequires: gcc-c++
+BuildRequires: xmake
+
+%description
+${PACKAGE_DESCRIPTION}
+
+%prep
+%autosetup -n %{name}-%{version} -p1
+
+%build
+xmake
+
+%install
+xmake install
+
+%check
+
+%files
+
+%changelog
+