[Build] Add build ressources

This commit is contained in:
2025-05-20 11:23:06 +02:00
parent a77cc41b60
commit d4e64a3cec
6 changed files with 119 additions and 0 deletions

8
pkg/build Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# Build deb
dpkg-deb --build deb
# Build rpm
rpmbuild -ba ./rpm-build/SPECS/biogascontrollerapp.spec

7
pkg/deb/DEBIAN/control Normal file
View File

@@ -0,0 +1,7 @@
Package: biogascontrollerapp
Version: 3.0
Section: education
Priority: optional
Architecture: amd64
Maintainer: Janis Hutz <development@janishutz.com>
Description: Utility Software to control the Biogas plant of ENATECH at KSWO

View File

@@ -0,0 +1,25 @@
Name: biogascontrollerapp
Version: 3.0
Release: 1%{?dist}
Summary: Utility Software to control the Biogas plant of ENATECH at KSWO
License: GPL
URL: http://github.com/janishutz/BiogasControllerApp
Source0: biogascontrollerapp-3.0.tar.gz
%description
Utility Software to control the Biogas plant of ENATECH at KSWO
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}/usr/local/bin
cp biogascontrollerapp %{buildroot}/usr/local/bin/
%files
/usr/local/bin/biogascontrollerapp
%changelog