代码拉取完成,页面将自动刷新
Name: RSIBreak
Summary: A small utility which bothers you at certain intervals
Version: 0.12.15
Release: 2
License: GPLv2+
URL: https://userbase.kde.org/RSIBreak
%global majmin %(echo %{version} | cut -d. -f1,2)
Source0: http://download.kde.org/stable/rsibreak/%{majmin}/rsibreak-%{version}.tar.xz
BuildRequires: qt5-qtbase-devel
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5ConfigWidgets)
BuildRequires: cmake(KF5Crash)
BuildRequires: cmake(KF5DBusAddons)
BuildRequires: cmake(KF5DocTools)
BuildRequires: cmake(KF5IconThemes)
BuildRequires: cmake(KF5I18n)
BuildRequires: cmake(KF5IdleTime)
BuildRequires: cmake(KF5Notifications)
BuildRequires: cmake(KF5NotifyConfig)
BuildRequires: cmake(KF5TextWidgets)
BuildRequires: cmake(KF5XmlGui)
BuildRequires: cmake(KF5WindowSystem)
BuildRequires: extra-cmake-modules
BuildRequires: kf5-rpm-macros
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
%description
RSIBreak is a small utility which bothers you at certain intervals. The
interval and duration of two different timers can be configured. You can
use the breaks to stretch out or do the dishes. The aim of this utility
is to let you know when it is time to have a break from your computer.
This can help people to prevent Repetive Strain Injury.
%prep
%autosetup -n rsibreak-%{version} -p1
%build
%{cmake_kf5}
%cmake_build
%install
%cmake_install
%find_lang rsibreak --with-html
%check
appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.rsibreak.appdata.xml
desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.rsibreak.desktop
%files -f rsibreak.lang
%license LICENSES/*
%doc AUTHORS ChangeLog NEWS TODO
%{_kf5_bindir}/rsibreak
%{_kf5_datadir}/applications/org.kde.rsibreak.desktop
%{_kf5_metainfodir}/org.kde.rsibreak.appdata.xml
%{_kf5_datadir}/icons/hicolor/*/*/*
%{_kf5_datadir}/knotifications5/rsibreak.notifyrc
%{_sysconfdir}/xdg/autostart/rsibreak_autostart.desktop
%{_datadir}/dbus-1/interfaces/org.rsibreak.rsiwidget.xml
%changelog
* Thu Nov 21 2024 tangjie02 <tangjie02@kylinsec.com.cn> - 0.12.15-2
- adapt to the new CMake macros to fix build failure
* Mon Dec 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.12.15-1
- Init package
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。