Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37332825
en ru br
ALT Linux repos
S:2.0.8-alt2
5.0: 2.0.6-alt1
4.1: 2.0.6-alt1
4.0: 2.0.6-alt1
3.0: 2.0.6-alt1

Group :: Monitoring
RPM: gkrellm-weather

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define sourcename gkrellweather
%define plugin weather

Name: gkrellm-%plugin
Version: 2.0.8
Release: alt2

Summary: GKrellM weather plugin
Summary(ru_RU.UTF-8): Плагин GKrellM для отображения погоды
License: GPL
Group: Monitoring
Url: https://sites.google.com/site/makovick/gkrellm-plugins
Source0: %name-%version.tar.gz

Patch0: %sourcename-alt-install.patch
Patch1: %sourcename-alt-fix_url.patch
Patch2: %sourcename-alt-fix_path_GrabW-x32.patch
Patch3: %sourcename-alt-fix_path_GrabW-x64.patch

Provides: %sourcename = %version
Obsoletes: %sourcename < %version

Requires: wget gkrellm >= 2.0

# Automatically added by buildreq on Sun Mar 30 2003

BuildRequires: gkrellm-devel glib2-devel libatk-devel libgtk+2-devel libpango-devel pkgconfig

%description
This GKrellM plugin grab weather for your location from server and display it.

%description -l ru_RU.UTF-8
Этот GKrellM плагин скачивает информацию о погоде для указанного места.
с сервера и отображает ее.

%prep
%setup
%patch0 -p1
%patch1 -p1
%ifarch %{ix86}
%patch2 -p1
%endif
%ifarch x86_64
%patch3 -p1
%endif

%build
%make_build enable_nls=1 LOCALEDIR=%_datadir/locale

%install
mkdir -p %buildroot%_libdir/gkrellm2/plugins

install -D -m755 GrabWeather %buildroot%_libdir/gkrellm2/GrabWeather
%make_install install enable_nls=1 PLUGIN_DIR=%buildroot%_libdir/gkrellm2/plugins INSTALL_PREFIX=%buildroot LOCALEDIR=%_datadir/locale
%find_lang %sourcename

%files -f %sourcename.lang
%doc COPYING ChangeLog README
%_libdir/gkrellm2/plugins/gkrell%plugin.so
%_libdir/gkrellm2/GrabWeather

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin