- new
authorgrzegol <grzegol@pld-linux.org>
Sun, 17 Aug 2003 20:55:56 +0000 (20:55 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gDesklets-Weather.spec -> 1.1

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

diff --git a/gDesklets-Weather.spec b/gDesklets-Weather.spec
new file mode 100644 (file)
index 0000000..0c0351e
--- /dev/null
@@ -0,0 +1,56 @@
+%define        pname   Weather
+Summary:       A sensor and display for displaying the current weather information
+Summary(pl):   Czujnik i wy¶wietlacz do wy¶wietlania aktualnej informacji pogodowej
+Name:          gDesklets-%{pname}
+Version:       0.2
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://www.pycage.de/download/gdesklets/weather-desklet-%{version}.tar.bz2
+# Source0-md5: 44ab42e910ef0c06c2bf1215b4e077a3
+URL:           http://www.pycage.de/software_gdesklets.html
+Buildrequires: python >= 2.3
+Buildrequires: python-pygtk-devel >= 1.99.14
+Requires:      gDesklets
+Conflicts:     gDesklets-StarterKit
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        _sensorsdir     %{_datadir}/gdesklets/Sensors
+%define _displaysdir   %{_datadir}/gdesklets/Displays
+
+%description
+A sensor and display for displaying the current weather information.
+It can retrieve information for many countries of the world.
+
+%description -l pl
+Czujnik i wy¶wietlacz do wy¶wietlania aktualnej informacji pogodowej.
+Mo¿e zbieraæ informacje dla wielu krajów ¶wiata.
+
+%prep
+%setup -q -n weather-desklet-%{version}
+
+%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}
+
+rm -rf $RPM_BUILD_ROOT%{_sensorsdir}/%{pname}/{.*~,icons/.xvpics,po}
+find $RPM_BUILD_ROOT%{_sensorsdir}/%{pname} -name "CVS" |xargs rm -rf
+
+%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
+%{_sensorsdir}/*
+%{_displaysdir}/*
This page took 0.083829 seconds and 4 git commands to generate.