Commit 5b6c20d0 authored by Ivan Mazhukin's avatar Ivan Mazhukin

1.0.1-alt1

- Init build
parent 970a5e03
tar: @name@
Name: co2-mt8057s
Version: 1.0.1
Release: alt1
Summary: Script for measuring temperature and carbon dioxide with the Dajet KIT MT8057S detector
Url: https://gitlab.eterfund.ru/Gendalf4ever/co2/tree/co2-101
License: GPL-3.0-only
Group: Development/Python3
%filter_from_requires /python3(influxConnection)/d
BuildArch: noarch
# Source-url: https://gitlab.eterfund.ru/Gendalf4ever/co2/-/archive/co2-101/co2-co2-101.tar
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
%description
The script is designed to interact with the systemd system (co2data.service file)
The script collects data and writes it to the co2data.log file once every certain time.
%prep
%setup
%build
%install
install -Dm755 co2.py %buildroot%python3_sitelibdir/co2/co2.py
install -Dm644 influxConnection.py %buildroot%python3_sitelibdir/co2/influxConnection.py
install -Dm644 services/co2.service %buildroot%_unitdir/co2.service
install -Dm644 services/co2.timer %buildroot%_unitdir/co2.timer
%files
%python3_sitelibdir/co2/co2.py
%python3_sitelibdir/co2/influxConnection.py
%_unitdir/co2.service
%_unitdir/co2.timer
%changelog
* Tue Sep 10 2024 Ivan Mazhukin <vanomj@altlinux.org> 1.0.1-alt1
- Init build
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment