Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
co2-spec
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
Иван Мажукин
co2-spec
Commits
5b6c20d0
Commit
5b6c20d0
authored
Sep 10, 2024
by
Ivan Mazhukin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.0.1-alt1
- Init build
parent
970a5e03
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
0 deletions
+45
-0
rules
.gear/rules
+1
-0
co2-mt8057s.spec
co2-mt8057s.spec
+44
-0
No files found.
.gear/rules
0 → 100644
View file @
5b6c20d0
tar: @name@
co2-mt8057s.spec
0 → 100644
View file @
5b6c20d0
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
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