]> git.pld-linux.org Git - packages/digitemp.git/blobdiff - digitemp.spec
- fix build; txt no longer available
[packages/digitemp.git] / digitemp.spec
index 76beeedeabdfd7784a272e63030863505c0dda97..bd2183c888d25e59fefa0e11c891c40127308321 100644 (file)
@@ -1,19 +1,18 @@
 Summary:       Digital thermometer using DS1820 1-wire sensors
-Summary(pl):   Termometr cyfrowy u¿ywaj±cy czujników Dallasa DS1820
+Summary(pl.UTF-8):     Termometr cyfrowy używający czujników Dallasa DS1820
 Name:          digitemp
-Version:       3.3.2
-Release:       3
+Version:       3.5.0
+Release:       2
 License:       GPL v2
 Group:         Applications/System
 Source0:       http://www.digitemp.com/software/linux/%{name}-%{version}.tar.gz
-# Source0-md5: 0b6cfb36d198767836de54d9fb11bbdb
-Source1:       http://www.brianlane.com/linux/dthowto.txt
-# Source1-md5: 31f67f7dba103988d10478566599cb3e
-Source2:       DS9097_Schematic.gif
+# Source0-md5: 72bda9c8a66b017aa969c19dedb3225b
+Source1:       DS9097_Schematic.gif
 Patch0:                %{name}-opt.patch
 URL:           http://www.digitemp.com/
 BuildRequires: libusb-devel
 BuildRequires: lockdev-devel
+BuildRequires: rpm-pythonprov
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,26 +23,25 @@ control, process monitoring, weather station, indor/outdoor
 temperature logging, etc. It includes a couple of useful Perl, Python
 and RRD Tool scripts for crating graphs and dynamic signatures.
 
-%description -l pl
+%description -l pl.UTF-8
 DigiTemp jest prostym interfejsem dla cyfrowych 1-przewodowych
-czujników temperatury: DS18S20, DS1822 i DS18B20 firmy Dallas
-Semiconductor. DigiTemp mo¿e mieæ wiele zastosowañ, takich jak
-kontrola ogrzewania, monitorowanie procesów, stacje meteorologiczne,
-wewnêtrzne/zewnêtrzne monitorowanie temperatury. Pakiet zawiera kilka
-u¿ytecznych skryptów Perla, Pytona i RRD do tworzenia wykresów i
-dynamicznych wpisów.
+czujników temperatury: DS18S20, DS1822 i DS18B20 firmy Dallas
+Semiconductor. DigiTemp może mieć wiele zastosowań, takich jak
+kontrola ogrzewania, monitorowanie procesów, stacje meteorologiczne,
+wewnętrzne/zewnętrzne monitorowanie temperatury. Pakiet zawiera kilka
+użytecznych skryptów Perla, Pytona i RRD do tworzenia wykresów i
+dynamicznych wpisów.
 
 %prep
 %setup -q
 %patch0 -p1
 
-cp %{SOURCE1} %{SOURCE2} .
+install %{SOURCE1} .
 
 %build
-export OPT="%{rpmcflags}"
-%{__make} ds9097
-%{__make} ds9097u
-%{__make} ds2490 
+%{__make} ds9097 ds9097u ds2490 \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -58,7 +56,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CREDITS DS9097_S* FAQ README TODO dthowto.txt
+%doc CREDITS DS9097_S* FAQ README TODO
 %attr(755,root,root) %{_bindir}/*
 %{_examplesdir}/%{name}-%{version}
 %{_mandir}/man1/*
This page took 0.073691 seconds and 4 git commands to generate.