]> git.pld-linux.org Git - packages/digitemp.git/blame - digitemp.spec
- file already in digitemp source tarball
[packages/digitemp.git] / digitemp.spec
CommitLineData
3d480897 1Summary: Digital thermometer using DS1820 1-wire sensors
da1b0c6d 2Summary(pl.UTF-8): Termometr cyfrowy używający czujników Dallasa DS1820
3d480897 3Name: digitemp
7c7cc943
TP
4Version: 3.6.0
5Release: 1
2a9401ce 6License: GPL v2
3d480897 7Group: Applications/System
2a9401ce 8Source0: http://www.digitemp.com/software/linux/%{name}-%{version}.tar.gz
7c7cc943 9# Source0-md5: 9be2e48db37920f21925ae6e88f83b84
2a9401ce 10Patch0: %{name}-opt.patch
11URL: http://www.digitemp.com/
be2972c0 12BuildRequires: libusb-devel
ecf31fd4 13BuildRequires: lockdev-devel
174c9536 14BuildRequires: rpm-pythonprov
3d480897 15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18DigiTemp is a simple to use interface to the Dallas Semiconductor
19DS18S20, DS1822, and DS18B20 1-wire digital temperature sensors. You
20can use DigiTemp in a wide variety of applications, such as heating
21control, process monitoring, weather station, indor/outdoor
22temperature logging, etc. It includes a couple of useful Perl, Python
23and RRD Tool scripts for crating graphs and dynamic signatures.
24
483c94d5 25%description -l pl.UTF-8
09f41fa6 26DigiTemp jest prostym interfejsem dla cyfrowych 1-przewodowych
483c94d5
JR
27czujników temperatury: DS18S20, DS1822 i DS18B20 firmy Dallas
28Semiconductor. DigiTemp może mieć wiele zastosowań, takich jak
29kontrola ogrzewania, monitorowanie procesów, stacje meteorologiczne,
30wewnętrzne/zewnętrzne monitorowanie temperatury. Pakiet zawiera kilka
31użytecznych skryptów Perla, Pytona i RRD do tworzenia wykresów i
32dynamicznych wpisów.
09f41fa6 33
3d480897 34%prep
35%setup -q
2a9401ce 36%patch0 -p1
3d480897 37
3d480897 38%build
bbfa125d
AM
39%{__make} ds9097 ds9097u ds2490 \
40 CC="%{__cc}" \
41 OPT="%{rpmcflags}"
3d480897 42
43%install
44rm -rf $RPM_BUILD_ROOT
ecf31fd4 45install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version},%{_mandir}/man1}
3d480897 46
59165c88 47install digitemp_DS* $RPM_BUILD_ROOT%{_bindir}
2a9401ce 48install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
ecf31fd4 49cp -rf perl python rrdb $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
3d480897 50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
7c7cc943 56%doc ChangeLog CREDITS DS9097_S* FAQ README TODO dthowto.txt contrib/libusb.patch.txt
2a9401ce 57%attr(755,root,root) %{_bindir}/*
ecf31fd4 58%{_examplesdir}/%{name}-%{version}
2a9401ce 59%{_mandir}/man1/*
This page took 0.077167 seconds and 4 git commands to generate.