Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vicidial
digitemp
digitemp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File digitemp.spec of Package digitemp
# # spec file for package digitemp # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # Summary: Dallas Semiconductor 1-wire device reading console application License: GPL-2.0+ Group: Applications/System Name: digitemp Version: 3.6.0 Release: 0 Url: http://www.digitemp.com/ Source0: http://www.digitemp.com/software/linux/%{name}-%{version}.tar.bz2 Source1: dthowto.txt Source2: DS9097_Schematic.gif Patch0: digitemp-cflags.patch Patch1: printf-format.patch 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 %setup -q %patch0 -p1 %patch1 -p1 cp -f %{SOURCE1} %{SOURCE2} . %build make ds9097 %{?_smp_mflags} make ds9097u %{?_smp_mflags} make ds2490 %{?_smp_mflags} %install install -d $RPM_BUILD_ROOT%{_bindir} install -m 755 digitemp_DS9097 $RPM_BUILD_ROOT%{_bindir} install -m 755 digitemp_DS9097U $RPM_BUILD_ROOT%{_bindir} install -m 755 digitemp_DS2490 $RPM_BUILD_ROOT%{_bindir} install -d $RPM_BUILD_ROOT%{_mandir}/man1 iconv -f iso-8859-1 -t utf-8 -o digitemp.1.utf8 digitemp.1 install -m 644 digitemp.1.utf8 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1 %files %defattr(-,root,root) %doc ChangeLog COPYING COPYRIGHT CREDITS FAQ README TODO %doc dthowto.txt DS9097_Schematic.gif %{_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