]> git.pld-linux.org Git - packages/digitemp.git/blob - digitemp.spec
- file already in digitemp source tarball
[packages/digitemp.git] / digitemp.spec
1 Summary:        Digital thermometer using DS1820 1-wire sensors
2 Summary(pl.UTF-8):      Termometr cyfrowy używający czujników Dallasa DS1820
3 Name:           digitemp
4 Version:        3.6.0
5 Release:        1
6 License:        GPL v2
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)
16
17 %description
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.
24
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
32 dynamicznych wpisów.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %{__make} ds9097 ds9097u ds2490 \
40         CC="%{__cc}" \
41         OPT="%{rpmcflags}"
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version},%{_mandir}/man1}
46
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}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
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}
59 %{_mandir}/man1/*
This page took 0.114773 seconds and 4 git commands to generate.