1 Summary: Digital thermometer using DS1820 1-wire sensors
2 Summary(pl.UTF-8): Termometr cyfrowy używający czujników Dallasa DS1820
7 Group: Applications/System
8 Source0: http://www.digitemp.com/software/linux/%{name}-%{version}.tar.gz
9 # Source0-md5: 9be2e48db37920f21925ae6e88f83b84
10 Patch0: %{name}-opt.patch
11 URL: http://www.digitemp.com/
12 BuildRequires: libusb-devel
13 BuildRequires: lockdev-devel
14 BuildRequires: rpm-pythonprov
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 DigiTemp is a simple to use interface to the Dallas Semiconductor
19 DS18S20, DS1822, and DS18B20 1-wire digital temperature sensors. You
20 can use DigiTemp in a wide variety of applications, such as heating
21 control, process monitoring, weather station, indor/outdoor
22 temperature logging, etc. It includes a couple of useful Perl, Python
23 and RRD Tool scripts for crating graphs and dynamic signatures.
25 %description -l pl.UTF-8
26 DigiTemp jest prostym interfejsem dla cyfrowych 1-przewodowych
27 czujników temperatury: DS18S20, DS1822 i DS18B20 firmy Dallas
28 Semiconductor. DigiTemp może mieć wiele zastosowań, takich jak
29 kontrola ogrzewania, monitorowanie procesów, stacje meteorologiczne,
30 wewnętrzne/zewnętrzne monitorowanie temperatury. Pakiet zawiera kilka
31 użytecznych skryptów Perla, Pytona i RRD do tworzenia wykresów i
39 %{__make} ds9097 ds9097u ds2490 \
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version},%{_mandir}/man1}
47 install digitemp_DS* $RPM_BUILD_ROOT%{_bindir}
48 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
49 cp -rf perl python rrdb $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
56 %doc ChangeLog CREDITS DS9097_S* FAQ README TODO dthowto.txt contrib/libusb.patch.txt
57 %attr(755,root,root) %{_bindir}/*
58 %{_examplesdir}/%{name}-%{version}