Package xfce4-stopwatch-plugin: Specfile

Name: xfce4-stopwatch-plugin
Version: 0.5.0
Release: alt1

Summary: Stopwatch plugin for the Xfce panel
License: BSD-2-Clause
Group: Graphical desktop/XFce
Url: https://docs.xfce.org/panel-plugins/xfce4-stopwatch-plugin
Packager: Xfce Team <xfce@packages.altlinux.org>

Vcs: https://gitlab.xfce.org/panel-plugins/xfce4-stopwatch-plugin.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildRequires: rpm-build-xfce4 xfce4-dev-tools
BuildRequires: libxfce4panel-gtk3-devel libxfce4util-devel

Requires: xfce4-panel >= 4.12

%define _unpackaged_files_terminate_build 1

%description
The xfce-stopwatch-plugin is a panel plugin to keep track of elapsed time.
There are no ways to configure the plugin at this time, just add it to the
panel. The time elapsed will be saved when your panel quits and restored next
time it's running. If time was ticking, it will not start ticking again
automatically.

%prep
%setup
%patch -p1

%build
%xfce4reconf
%configure \
	--enable-maintainer-mode \
	--enable-debug=minimum
%make_build

%install
%makeinstall_std
%find_lang %name

%files -f %name.lang
%doc README.md AUTHORS NEWS
%_libdir/xfce4/panel/plugins/*
%exclude %_libdir/xfce4/panel/plugins/*.la
%_iconsdir/hicolor/*/apps/*.*
%_datadir/xfce4/panel/plugins/*.desktop

%changelog
* Tue Jan 19 2021 Mikhail Efremov <sem@altlinux.org> 0.5.0-alt1
- Updated to 0.5.0.

* Wed Jun 03 2020 Mikhail Efremov <sem@altlinux.org> 0.4.0-alt1
- Added Vcs tag.
- Updated url.
- Updated to 0.4.0.

* Thu Dec 12 2019 Grigory Ustinov <grenka@altlinux.org> 0.3.1-alt2
- NMU: Fix license.

* Fri Jun 14 2019 Mikhail Efremov <sem@altlinux.org> 0.3.1-alt1
- Initial build.