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