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