]> git.pld-linux.org Git - packages/gDesklets-GoodWeather.git/blame - gDesklets-GoodWeather.spec
- tabs in preamble
[packages/gDesklets-GoodWeather.git] / gDesklets-GoodWeather.spec
CommitLineData
5b77e407 1
118033e4 2%define pname GoodWeather
5b77e407 3
cb408129 4Summary: A sensor and display for displaying the current and forecasting weather information
d97f25d3 5Summary(pl.UTF-8): Czujnik i wyświetlacz do pokazywania aktualnej informacji pogodowej oraz jej prognozowania
004f15b0 6Name: gDesklets-GoodWeather
cb408129 7Version: 0.4
e1faf9c5 8Release: 3
f1feb4ce 9License: GPL v2
cb408129 10Group: X11/Applications
11Source0: http://gdesklets.gnomedesktop.org/files/%{pname}-%{version}.tar.bz2
12# Source0-md5: ad7851fed9de6f8adc35d522d5b08cdb
5501a759 13Patch0: %{name}-metatag.patch
cb408129 14URL: http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=93
e1faf9c5 15BuildRequires: python >= 1:2.3
cb408129 16BuildRequires: python-pygtk-gtk >= 1.99.14
17Requires: gDesklets
e1faf9c5 18%pyrequires_eq python-libs
cb408129 19Provides: gDesklets-display
20Provides: gDesklets-sensor
21#Conflicts: gDesklets-StarterKit
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
5b77e407 24%define _sensorsdir %{_datadir}/gdesklets/Sensors
25%define _displaysdir %{_datadir}/gdesklets/Displays
cb408129 26
27%description
278da0af 28This desklet (sensor/display) shows the current temperature, humidity,
29sky, windchill temperature and a forecast of the next four days on
30your desktop.
cb408129 31
1fe61574
JR
32%description -l pl.UTF-8
33Czujnik i wyświetlacz do pokazywania aktualnych informacji dotyczących
34temperatury, wilgotności, zachmurzenia oraz siły wiatru. Wyświetla
35również informacje na temat pogody na najbliższe cztery dni.
cb408129 36
37%prep
38%setup -q -n %{pname}
5501a759 39%patch0 -p1
cb408129 40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT{%{_sensorsdir},%{_displaysdir}/%{pname}}
44
45./Install_%{pname}_Sensor.bin --nomsg \
46 $RPM_BUILD_ROOT%{_sensorsdir}
47
48cp -R gfx *.display $RPM_BUILD_ROOT%{_displaysdir}/%{pname}
49
cb408129 50%py_comp $RPM_BUILD_ROOT%{_sensorsdir}
51%py_ocomp $RPM_BUILD_ROOT%{_sensorsdir}
52
53rm -f $RPM_BUILD_ROOT%{_sensorsdir}/*/*.py
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc README
61%dir %{_sensorsdir}/%{pname}
cb408129 62%{_sensorsdir}/%{pname}/*.py*
63%{_sensorsdir}/%{pname}/liquid
64%{_sensorsdir}/%{pname}/weather.com
65%{_sensorsdir}/%{pname}/um
66%{_displaysdir}/*
This page took 0.076396 seconds and 4 git commands to generate.