]> git.pld-linux.org Git - packages/gDesklets-GoodWeather.git/commitdiff
- initial
authorkrolik <krolik@pld-linux.org>
Thu, 12 Aug 2004 10:16:19 +0000 (10:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gDesklets-GoodWeather.spec -> 1.1

gDesklets-GoodWeather.spec [new file with mode: 0644]

diff --git a/gDesklets-GoodWeather.spec b/gDesklets-GoodWeather.spec
new file mode 100644 (file)
index 0000000..409a0dd
--- /dev/null
@@ -0,0 +1,62 @@
+%define        pname   GoodWeather
+Summary:       A sensor and display for displaying the current and forecasting weather information
+Summary(pl):   Czujnik i wy¶wietlacz do pokazywania aktualnej informacji pogodowej oraz jej prognozowania
+Name:          gDesklets-%{pname}
+Version:       0.4
+Release:       1
+License:       GPL2
+Group:         X11/Applications
+Source0:       http://gdesklets.gnomedesktop.org/files/%{pname}-%{version}.tar.bz2
+# Source0-md5: ad7851fed9de6f8adc35d522d5b08cdb
+URL:           http://gdesklets.gnomedesktop.org/categories.php?func=gd_show_app&gd_app_id=93
+BuildRequires: python >= 2.3
+BuildRequires: python-pygtk-gtk >= 1.99.14
+Requires:      gDesklets
+Provides:      gDesklets-display
+Provides:      gDesklets-sensor
+#Conflicts:    gDesklets-StarterKit
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        _sensorsdir     %{_datadir}/gdesklets/Sensors
+%define _displaysdir   %{_datadir}/gdesklets/Displays
+
+%description
+This desklet (sensor/display) shows the current temperature, humidity, sky, windchill temperature and a forecast of the next four days on your desktop.
+
+%description -l pl
+Czujnik i wy¶wietlacz do pokazywania aktualnej informacji na temat temperatury wilgotno¶ci, zachmurzeniu
+oraz  sile wiatru. Wy¶wietla równie¿ informacje na temat pogody na najbli¿sze cztery dni.
+
+%prep
+%setup -q -n %{pname}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sensorsdir},%{_displaysdir}/%{pname}}
+
+./Install_%{pname}_Sensor.bin --nomsg \
+       $RPM_BUILD_ROOT%{_sensorsdir}
+
+cp -R gfx *.display $RPM_BUILD_ROOT%{_displaysdir}/%{pname}
+
+
+%py_comp $RPM_BUILD_ROOT%{_sensorsdir}
+%py_ocomp $RPM_BUILD_ROOT%{_sensorsdir}
+
+rm -f $RPM_BUILD_ROOT%{_sensorsdir}/*/*.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%dir %{_sensorsdir}/%{pname}
+%dir %{_sensorsdir}/%{pname}/liquid/*/*
+%dir %{_sensorsdir}/%{pname}/weather.com/*/*
+%dir %{_sensorsdir}/%{pname}/um/*/*
+%{_sensorsdir}/%{pname}/*.py*
+%{_sensorsdir}/%{pname}/liquid
+%{_sensorsdir}/%{pname}/weather.com
+%{_sensorsdir}/%{pname}/um
+%{_displaysdir}/*
This page took 0.128455 seconds and 4 git commands to generate.