Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio
ocli
ocli.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ocli.spec of Package ocli
# # spec file for package ocli # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2020-2021, Martin Hauke <mardnh@gmx.de> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: ocli Version: 0.9.0 Release: 0 Summary: OwnTracks command line interface publisher License: GPL-2.0-or-later Group: Productivity/Networking/Other URL: https://github.com/owntracks/ocli Source: https://github.com/owntracks/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Patch0: 0001-FIX-adapted-for-gpsd-3.20.patch Patch1: 0001-FIX-adapted-for-gpsd-3.21.patch Patch2: 0001-FIX-adapted-for-gpsd-3.23.1.patch Patch3: fix-dangling-pointer.patch Patch90: FIX-there-no-fix.patch Patch91: FIX-systemd-service.patch Patch92: 0001-Harden-systemd-system-access.patch BuildRequires: gpsd-devel BuildRequires: mosquitto-devel BuildRequires: system-user-owntracks Provides: owntracks-cli-publisher %description This is the OwnTracks command line interface publisher, a.k.a. ocli, a small utility which connects to gpsd and publishes position information in OwnTracks JSON to an MQTT broker in order for compatible software to process location data. %package systemd Summary: OwnTracks command line interface publisher SystemD integration Group: Productivity/Networking/Other Requires: %{name} = %{version} Requires: system-user-owntracks %description systemd This is the OwnTracks command line interface publisher, a.k.a. ocli, a small utility which connects to gpsd and publishes position information in OwnTracks JSON to an MQTT broker in order for compatible software to process location data. This package containes files that are need for systemd integration %prep %autosetup -p1 %build export CFLAGS="%{optflags}" %make_build %install %make_install DESTDIR=%{buildroot} BINDIR=%{_bindir} MANDIR=%{_mandir} install -d %{buildroot}%{_unitdir} install -d %{buildroot}%{_sysconfdir}/default install -m 0644 packaging/systemd/owntracks-cli-publisher.service %{buildroot}%{_unitdir}/owntracks-cli-publisher.service install -m 0640 packaging%{_sysconfdir}/owntracks-cli-publisher.env %{buildroot}%{_sysconfdir}/default/owntracks-cli-publisher.env %pre systemd %service_add_pre owntracks-cli-publisher.service %post systemd %service_add_post owntracks-cli-publisher.service %preun systemd %service_del_preun owntracks-cli-publisher.service %postun systemd %service_del_postun owntracks-cli-publisher.service %files %license LICENSE %doc README.md %{_bindir}/owntracks-cli-publisher %{_mandir}/man1/owntracks-cli-publisher.1%{?ext_man} %files systemd %dir %{_sysconfdir}/default %attr(0600, owntracks, owntracks) %{_sysconfdir}/default/owntracks-cli-publisher.env %{_unitdir}/owntracks-cli-publisher.service %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor