Пакет gkrellm-timers: Specfile

%define sourcename gkrellm_timers
%define plugin timers

Name: gkrellm-%plugin
Version: 1.2
Release: alt3

Summary: GKrellM timers plugin
Summary(ru_RU.CP1251): \xcf\xeb\xe0\xe3\xe8\xed timers \xe4\xeb\xff GKrellM
License: GPL
Group: Monitoring
Url: http://triq.net/%sourcename.html
Source: http://triq.net/%sourcename/%sourcename-%version.tar.gz

Patch0: %sourcename-1.2-alt-i18n.patch.gz
Patch1: %sourcename-1.2-alt-ru.patch.gz

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

Requires: 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 lets you set multiple count down timers or stopwatches.
Commands can be executed when count down timers expire.

%description -l ru_RU.CP1251
\xdd\xf2\xee\xf2 GKrellM \xef\xeb\xe0\xe3\xe8\xed \xef\xee\xe7\xe2\xee\xeb\xff\xe5\xf2 \xf3\xf1\xf2\xe0\xed\xe0\xe2\xeb\xe8\xe2\xe0\xf2\xfc \xed\xe5\xf1\xea\xee\xeb\xfc\xea\xee \xf1\xf7\xe5\xf2\xf7\xe8\xea\xee\xe2 \xe8 \xf1\xe5\xea\xf3\xed\xe4\xee\xec\xe5\xf0\xee\xe2.
\xcc\xee\xe3\xf3\xf2 \xe1\xfb\xf2\xfc \xe7\xe0\xef\xf3\xf9\xe5\xed\xfb \xea\xee\xec\xe0\xed\xe4\xfb \xef\xf0\xe8 \xe8\xf1\xf2\xe5\xf7\xe5\xed\xe8\xe8 \xe2\xf0\xe5\xec\xe5\xed\xe8.

%prep
%setup -q -n %sourcename-%version
%patch0 -p1
%patch1 -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 README TODO
%_libdir/gkrellm2/plugins/gkrellm_%plugin.so

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

* Sun Mar 30 2003 Alex Murygin <murygin@altlinux.ru> 1.2-alt2
- Added russian translation
- Added i18n support

* Mon Mar 03 2003 Alex Murygin <murygin@altlinux.ru> 1.2-alt1
- Built for ALTLinux