Пакет gkrellm-webmon: Specfile

%define sourcename gkwebmon
%define plugin webmon

Name: gkrellm-%plugin
Version: 0.2
Release: alt2.1.qa1

Summary: GKrellM webmon plugin
Summary(ru_RU.CP1251): \xcf\xeb\xe0\xe3\xe8\xed webmon \xe4\xeb\xff 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

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 \xf1\xeb\xe5\xe4\xe8\xf2 \xe7\xe0 \xe8\xe7\xec\xe5\xed\xe5\xed\xe8\xff\xec\xe8 \xe2 \xe2 \xe2\xe5\xe1 \xf1\xf2\xf0\xe0\xed\xe8\xf6\xe0\xf5 \xf1\xea\xe0\xf7\xe8\xe2\xe0\xff \xe8\xf5 \xe8 \xf1\xf0\xe0\xe2\xed\xe8\xe2\xe0\xff
md5 \xf1\xf3\xec\xec\xfb \xf1 \xef\xf0\xe5\xe4\xfb\xe4\xf3\xf9\xe8\xec\xe8. \xc5\xf1\xeb\xe8 \xf1\xf2\xf0\xe0\xed\xe8\xf6\xe0 \xe8\xe7\xec\xe5\xed\xe8\xeb\xe0\xf1\xfc, \xe8\xe7\xec\xe5\xed\xe8\xf2\xf1\xff \xf6\xe2\xe5\xf2 \xef\xeb\xe0\xe3\xe8\xed\xe0
\xe8 \xee\xf2\xee\xe1\xf0\xe0\xe7\xe8\xf2\xf1\xff \xea\xee\xeb\xe8\xf7\xe5\xf1\xf2\xe2\xee \xe8\xe7\xec\xe5\xed\xe5\xed\xed\xfb\xf5 \xf1\xf2\xf0\xe0\xed\xe8\xf6. \xc0\xe4\xf0\xe5\xf1\xe0 \xe8\xe7\xec\xe5\xed\xe5\xed\xed\xfb\xf5 \xf1\xf2\xf0\xe0\xed\xe8\xf6
\xe1\xf3\xe4\xf3\xf2 \xee\xf2\xee\xe1\xf0\xe0\xe6\xe5\xed\xfb \xe2 \xef\xee\xe4\xf1\xea\xe0\xe7\xea\xe5.

%prep
%setup -q -n %sourcename-%version
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%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
* Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 0.2-alt2.1.qa1
- NMU: rebuilt for debuginfo.

* Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 0.2-alt2.1
- Rebuilt due to libcrypto.so.4 -> libcrypto.so.6 soname change.

* Tue May 18 2004 Alex Murygin <murygin@altlinux.ru> 0.2-alt2
- renamed to gkrellm-{NAME}
- added russian summary, description

* Tue Dec 02 2003 Alex Murygin <murygin@altlinux.ru> 0.2-alt1
- Built for ALTLinux