Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:jirislaby
digitemp
digitemp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File digitemp.spec of Package digitemp
# # spec file for package digitemp # # Copyright (c) 2023 SUSE LLC # # 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/ # Summary: Dallas Semiconductor 1-wire device reading console application License: GPL-2.0-or-later Group: Applications/System Name: digitemp Version: 3.7.2 Release: 0 URL: https://github.com/bcl/digitemp Source0: https://github.com/bcl/digitemp/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: dthowto.txt Source2: DS9097_Schematic.gif BuildRequires: gcc BuildRequires: libusb-devel BuildRequires: make BuildRoot: %{_tmppath}/%{name}-%{version}-build %description DigiTemp is a simple to use console application for reading values from Dallas Semiconductor 1-wire devices. Its main use is for reading temperature sensors, but it also reads counters and understands the 1-wire hubs with devices on different branches of the network. DigiTemp now supports the following 1-wire temperature sensors: DS18S20 (and DS1820), DS18B20, DS1822, the DS2438 Smart Battery Monitor, DS2422 and DS2423 Counters, DS2409 MicroLAN Coupler (used in 1-wire hubs) and the AAG TAI-8540 humidity sensor. %prep %autosetup -p1 cp -f %{SOURCE1} %{SOURCE2} . %build %set_build_flags %make_build ds9097 %make_build ds9097u # for -DOWUSB to work with lto: %make_build clean %make_build ds2490 %install install -d %{buildroot}%{_bindir} install -m 755 digitemp_DS9097 %{buildroot}%{_bindir} install -m 755 digitemp_DS9097U %{buildroot}%{_bindir} install -m 755 digitemp_DS2490 %{buildroot}%{_bindir} install -d %{buildroot}%{_mandir}/man1 iconv -f iso-8859-1 -t utf-8 -o digitemp.1.utf8 digitemp.1 install -m 644 digitemp.1.utf8 %{buildroot}%{_mandir}/man1/%{name}.1 %files %defattr(-,root,root) %doc CREDITS FAQ README dthowto.txt DS9097_Schematic.gif %license COPYRIGHT COPYING %{_bindir}/%{name}* %{_mandir}/man1/%{name}.* %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