Files
kclock/kclock.spec

88 lines
2.7 KiB
RPMSpec

Name: kclock
Version: 25.04.3
Release: 1mamba
Summary: Clock app for Plasma Mobile
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/utilities/kclock
Source: https://download.kde.org/stable/release-service/%{version}/src/kclock-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Network
BuildRequires: libQt6OpenGL
BuildRequires: libQt6Widgets
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kconfig-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-kcrash-devel
BuildRequires: libkf6-kdbusaddons-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-knotifications-devel
BuildRequires: libkf6-kstatusnotifieritem-devel
BuildRequires: libplasma-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtdeclarative-devel
BuildRequires: qt6-qtmultimedia-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
%description
Clock app for Plasma Mobile.
%prep
%setup -q
%build
%cmake_kf6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/org.kde.kclockd-autostart.desktop
%{_bindir}/kclock
%{_bindir}/kclockd
%{_qt6_plugindir}/plasma/applets/org.kde.plasma.kclock_1x2.so
%{_datadir}/applications/org.kde.kclock.desktop
%{_datadir}/dbus-1/interfaces/org.kde.kclockd.*.xml
%{_datadir}/dbus-1/services/org.kde.kclockd.service
%{_datadir}/icons/hicolor/scalable/apps/kclock_plasmoid_1x2.svg
%{_datadir}/icons/hicolor/scalable/apps/org.kde.kclock.svg
%{_datadir}/knotifications6/kclockd.notifyrc
%{_metainfodir}/org.kde.kclock.appdata.xml
%{_metainfodir}/org.kde.plasma.kclock_1x2.appdata.xml
%dir %{_datadir}/plasma/plasmoids/org.kde.plasma.kclock_1x2
%{_datadir}/plasma/plasmoids/org.kde.plasma.kclock_1x2/*
%doc LICENSES
%changelog
* Fri Jul 04 2025 Automatic Build System <autodist@openmamba.org> 25.04.3-1mamba
- automatic version update by autodist
* Fri Jun 06 2025 Automatic Build System <autodist@openmamba.org> 25.04.2-1mamba
- automatic version update by autodist
* Fri May 09 2025 Automatic Build System <autodist@openmamba.org> 25.04.1-1mamba
- automatic version update by autodist
* Thu Apr 17 2025 Silvan Calarco <silvan.calarco@mambasoft.it> 25.04.0-1mamba
- package created using the webbuild interface