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