Group :: Monitoring
RPM: gkrellm-webmon
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define sourcename gkwebmon
%define plugin webmon
Name: gkrellm-%plugin
Version: 0.2
Release: alt3
Summary: GKrellM webmon plugin
Summary(ru_RU.CP1251): Плагин webmon для GKrellM
License: GPL
Group: Monitoring
Url: http://%sourcename.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%sourcename/%sourcename-%version.tgz
Patch0: gkwebmon-0.2-alt-i18n.patch.gz
Patch1: gkwebmon-0.2-alt-ru.patch.gz
Patch2: gkwebmon-0.2-alt-install.patch.gz
Patch3: gkwebmon-0.2-alt-gcc10.patch.gz
Provides: %sourcename = %version
Obsoletes: %sourcename <= %version
Requires: gkrellm >= 2.0
# Automatically added by buildreq on Tue Dec 02 2003
BuildRequires: gkrellm-devel glib2-devel libatk-devel libgtk+2-devel libpango-devel libssl-devel pkgconfig
%description
GKWebMon will monitor for changes in webpages by fetching webpages
and comparing MD5 with an initial MD5. When a monitored page changes
the plugin will give a warning by changing the apperance of an icon
decal. The pages that have changed will be shown in a tool tip.
%description -l ru_RU.CP1251
GKWebMon следит за изменениями в в веб страницах скачивая их и сравнивая
md5 суммы с предыдущими. Если страница изменилась, изменится цвет плагина
и отобразится количество измененных страниц. Адреса измененных страниц
будут отображены в подсказке.
%prep
%setup -q -n %sourcename-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
#%patch3 -p2
%build
export CFLAGS="$CFLAGS -fcommon"
%make_build enable_nls=1 LOCALEDIR=%_datadir/locale
%install
%__mkdir -p %buildroot%_libdir/gkrellm2/plugins
%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 ChangeLog
%_libdir/gkrellm2/plugins/*.so
%changelog
…
Full changelog you can see here
%define plugin webmon
Name: gkrellm-%plugin
Version: 0.2
Release: alt3
Summary: GKrellM webmon plugin
Summary(ru_RU.CP1251): Плагин webmon для GKrellM
License: GPL
Group: Monitoring
Url: http://%sourcename.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%sourcename/%sourcename-%version.tgz
Patch0: gkwebmon-0.2-alt-i18n.patch.gz
Patch1: gkwebmon-0.2-alt-ru.patch.gz
Patch2: gkwebmon-0.2-alt-install.patch.gz
Patch3: gkwebmon-0.2-alt-gcc10.patch.gz
Provides: %sourcename = %version
Obsoletes: %sourcename <= %version
Requires: gkrellm >= 2.0
# Automatically added by buildreq on Tue Dec 02 2003
BuildRequires: gkrellm-devel glib2-devel libatk-devel libgtk+2-devel libpango-devel libssl-devel pkgconfig
%description
GKWebMon will monitor for changes in webpages by fetching webpages
and comparing MD5 with an initial MD5. When a monitored page changes
the plugin will give a warning by changing the apperance of an icon
decal. The pages that have changed will be shown in a tool tip.
%description -l ru_RU.CP1251
GKWebMon следит за изменениями в в веб страницах скачивая их и сравнивая
md5 суммы с предыдущими. Если страница изменилась, изменится цвет плагина
и отобразится количество измененных страниц. Адреса измененных страниц
будут отображены в подсказке.
%prep
%setup -q -n %sourcename-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1
#%patch3 -p2
%build
export CFLAGS="$CFLAGS -fcommon"
%make_build enable_nls=1 LOCALEDIR=%_datadir/locale
%install
%__mkdir -p %buildroot%_libdir/gkrellm2/plugins
%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 ChangeLog
%_libdir/gkrellm2/plugins/*.so
%changelog
…
Full changelog you can see here