summaryrefslogtreecommitdiff
path: root/xmake/scripts/xpack/srpm/srpm.spec
blob: a0b403dd11830c5b5407f8d85f98767fe19853eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# this is a SRPM spec file,
# it is autogenerated by the xmake build system.
# do not edit by hand.

%global     debug_package %{nil}

Name:       ${PACKAGE_NAME}
Version:    ${PACKAGE_VERSION}
Release:    1%{?dist}
Summary:    ${PACKAGE_TITLE}

License:    ${PACKAGE_LICENSE}
URL:        ${PACKAGE_HOMEPAGE}
Source0:    ${PACKAGE_ARCHIVEFILE}

${PACKAGE_BUILDREQUIRES}

%description
${PACKAGE_DESCRIPTION}

%prep
%autosetup -n ${PACKAGE_PREFIXDIR} -p1

%build
${PACKAGE_BUILDCMDS}

%install
${PACKAGE_INSTALLCMDS}
cd %{buildroot}
find . -type f | sed 's!^\./!/!' > %{_builddir}/_installedfiles.txt

%check

%files -f %{_builddir}/_installedfiles.txt

%changelog
* ${PACKAGE_DATE} ${PACKAGE_MAINTAINER} - ${PACKAGE_VERSION}-1
- Update to ${PACKAGE_VERSION}