Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
co2-mt8057s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
co2-mt8057s
Commits
70ae0015
Commit
70ae0015
authored
Dec 16, 2025
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.2-alt1
- new version (1.0.2) - add creds sample
parent
7007d814
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
rules
.gear/rules
+2
-0
co2-mt8057s.spec
co2-mt8057s.spec
+14
-5
No files found.
.gear/rules
View file @
70ae0015
tar: @name@
copy: creds.env.sample
\ No newline at end of file
co2-mt8057s.spec
View file @
70ae0015
Name: co2-mt8057s
Version: 1.0.
1
Version: 1.0.
2
Release: alt1
Summary: Script for measuring temperature and carbon dioxide with the Dajet KIT MT8057S detector
...
...
@@ -8,16 +8,18 @@ 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
Source1: creds.env.sample
BuildRequires(pre): rpm-build-python3
BuildRequires: python3(setuptools)
AutoProv: no
%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.
...
...
@@ -29,16 +31,23 @@ The script collects data and writes it to the co2data.log file once every certai
%install
install -Dm755 co2.py %buildroot%python3_sitelibdir/co2/co2.py
install -Dm644 influxConnection.py %buildroot%python3_sitelibdir/co2/influxConnection.py
install -Dm644 %SOURCE1 %buildroot%_sysconfdir/%name/creds.env.sample
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
%_sysconfdir/%name/creds.env.sample
%_unitdir/co2.service
%_unitdir/co2.timer
%python3_sitelibdir/co2/__pycache__/*.pyc
%changelog
* Tue Sep 10 2024 Ivan Mazhukin <vanomj@altlinux.org> 1.0.1-alt1
- Init build
* Tue Dec 16 2025 Ivan Mazhukin <vanomj@altlinux.org> 1.0.2-alt1
- new version (1.0.2)
- add creds sample
* Tue Dec 16 2025 Ivan Mazhukin <vanomj@altlinux.org> 1.0.1-alt1
- Initial build for ALT Sisyphus
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment