7 Star 0 Fork 2

src-openEuler/RSIBreak

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
RSIBreak.spec 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/RSIBreak.git
git@gitee.com:src-openeuler/RSIBreak.git
src-openeuler
RSIBreak
RSIBreak
master

搜索帮助