Centralize package info and do version checking between app/ext

This commit is contained in:
hensm
2018-12-11 19:42:01 +00:00
parent d615caf30d
commit 88a5c68a1b
17 changed files with 222 additions and 76 deletions

View File

@@ -0,0 +1,20 @@
Name: {{packageName}}
Summary: {{applicationName}}
Version: {{applicationVersion}}
Release: 1
License: MIT
%description
{{applicationName}}
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/{{{executablePath}}} \
$RPM_BUILD_ROOT/{{{manifestPath}}}
cp %{_distdir}/{{{executableName}}} $RPM_BUILD_ROOT/{{{executablePath}}}
cp %{_distdir}/{{{manifestName}}} $RPM_BUILD_ROOT/{{{manifestPath}}}
%files
{{{executablePath}}}/{{{executableName}}}
{{{manifestPath}}}/{{{manifestName}}}