]> git.pld-linux.org Git - packages/gDesklets-Weather.git/blame - gDesklets-Weather.spec
- converted to UTF-8
[packages/gDesklets-Weather.git] / gDesklets-Weather.spec
CommitLineData
b604d396 1%define pname Weather
938ca24f 2Summary: A sensor and display for displaying the current weather information
708fb60d 3Summary(pl.UTF-8): Czujnik i wyświetlacz do pokazywania aktualnej informacji pogodowej
938ca24f 4Name: gDesklets-%{pname}
579d2874 5Version: 0.24
0fa8a262 6Release: 3
938ca24f 7License: GPL
8Group: X11/Applications
9a7f8651 9Source0: http://gdesklets.gnomedesktop.org/files/weather-desklet-%{version}.tar.bz2
579d2874 10# Source0-md5: f10d7cdb043b9f461a52e5d1226ddbdf
9a7f8651 11URL: http://gdesklets.gnomedesktop.org/
0fa8a262 12BuildRequires: python >= 1:2.3
5bbd11c6 13BuildRequires: python-pygtk-gtk >= 1.99.14
938ca24f 14Requires: gDesklets
0fa8a262 15%pyrequires_eq python-libs
7d301a83 16Provides: gDesklets-display
17Provides: gDesklets-sensor
938ca24f 18Conflicts: gDesklets-StarterKit
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
b604d396 21%define _sensorsdir %{_datadir}/gdesklets/Sensors
22%define _displaysdir %{_datadir}/gdesklets/Displays
938ca24f 23
24%description
25A sensor and display for displaying the current weather information.
26It can retrieve information for many countries of the world.
27
708fb60d
JR
28%description -l pl.UTF-8
29Czujnik i wyświetlacz do pokazywania aktualnej informacji pogodowej.
30Może zbierać informacje dla wielu krajów świata.
938ca24f 31
32%prep
33%setup -q -n weather-desklet-%{version}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT{%{_sensorsdir},%{_displaysdir}/%{pname}}
38
39./Install_%{pname}_Sensor.bin --nomsg \
40 $RPM_BUILD_ROOT%{_sensorsdir}
41
42cp -R gfx *.display $RPM_BUILD_ROOT%{_displaysdir}/%{pname}
43
44rm -rf $RPM_BUILD_ROOT%{_sensorsdir}/%{pname}/{.*~,icons/.xvpics,po}
45find $RPM_BUILD_ROOT%{_sensorsdir}/%{pname} -name "CVS" |xargs rm -rf
46
47%py_comp $RPM_BUILD_ROOT%{_sensorsdir}
48%py_ocomp $RPM_BUILD_ROOT%{_sensorsdir}
49
50rm -f $RPM_BUILD_ROOT%{_sensorsdir}/*/*.py
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc README
7d301a83 58%dir %{_sensorsdir}/%{pname}
59%dir %{_sensorsdir}/%{pname}/locale
60%{_sensorsdir}/%{pname}/icons
7d301a83 61%{_sensorsdir}/%{pname}/*.py[co]
03f0122b 62%{_sensorsdir}/%{pname}/ChangeLog
938ca24f 63%{_displaysdir}/*
This page took 0.053158 seconds and 4 git commands to generate.