%global srcname vinyl # Build a git snapshot #define git 0 Name: %{srcname}-theme Version: 6.1.6 Release: 1%{?git:+git%{git}}%{?dist} Summary: A modern style for qt applications License: GPLv2+ and MIT URL: https://github.com/ekaaty/vinyl-theme %if 0%{?git:1} > 0 Source0: %url/archive/refs/heads/master.zip#/%{srcname}-git%{git}.zip %else Source0: %url/archive/v%{version}/%{srcname}-%{version}.tar.xz %endif BuildRequires: cmake BuildRequires: cmake(KDecoration2) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6DocTools) BuildRequires: cmake(KF6FrameworkIntegration) BuildRequires: cmake(KF6GlobalAccel) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6KCMUtils) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6Package) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6KirigamiPlatform) BuildRequires: cmake(KWayland) BuildRequires: cmake(KWin) BuildRequires: cmake(Plasma) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6UiTools) BuildRequires: pkgconfig(epoxy) BuildRequires: extra-cmake-modules >= 6.6.0 BuildRequires: gcc-c++ BuildRequires: inkscape > 1 BuildRequires: xcursorgen BuildRequires: unzip Provides: Plasma(ColorScheme-Vinyl-Dark) Provides: Plasma(ColorScheme-Vinyl-Light) Provides: Plasma(CursorTheme-Vinyl-Black) Provides: Plasma(CursorTheme-Vinyl-White) Provides: Plasma(MenuLauncher-Vinyl) Provides: Plasma(Splash-Vinyl) Provides: Plasma(WidgetStyle-Vinyl) Provides: Plasma(WindowDecoration-Vinyl) %description Vinyl is a fork of Lightly (a Breeze fork) theme style that aims to be visually modern and minimalistic. %prep %if 0%{?git:1} > 0 %setup -n %{srcname}-master %else %setup -n %{srcname}-%{version} %endif %cmake_kf6 pushd cursors cp AUTHORS ../AUTHORS.cursors cp COPYING ../COPYING.cursors cp LICENSE ../LICENSE.cursors cp README.md ../README.cursors.md popd %build %cmake_build %install %cmake_install for variant in Black White; do if [ -d cursors/Vinyl-${variant} ]; then %{__mkdir_p} %{buildroot}%{_datadir}/icons/Vinyl-${variant} && \ %{__cp} -av cursors/Vinyl-${variant}/* \ %{buildroot}%{_datadir}/icons/Vinyl-${variant}/ fi done %files %license LICENSES/ %license COPYING.cursors %license LICENSE.cursors %doc AUTHORS README.md %doc AUTHORS.cursors README.cursors.md %{_bindir}/vinyl-settings6 %{_libdir}/cmake/Vinyl/ %{_qt6_plugindir}/kstyle_config/vinylstyleconfig.so %{_qt6_plugindir}/org.kde.kdecoration2/org.kde.vinyl.so %{_qt6_plugindir}/org.kde.kdecoration2.kcm/kcm_vinyldecoration.so %{_qt6_plugindir}/styles/vinyl6.so %{_datadir}/color-schemes/Vinyl-Dark.colors %{_datadir}/color-schemes/Vinyl-Light.colors %{_datadir}/applications/kcm_vinyldecoration.desktop %{_datadir}/applications/vinylstyleconfig.desktop %{_datadir}/kservices6/vinyldecorationconfig.desktop %{_datadir}/kstyle/themes/vinyl.themerc %{_datadir}/locale/*/*/plasma_applet_*.vinyl-launcher.mo %{_datadir}/locale/*/*/plasma_lookandfeel_*.vinyl-splash.mo %{_datadir}/metainfo/*.vinyl-launcher.appdata.xml %{_datadir}/metainfo/*.vinyl-splash.appdata.xml %{_datadir}/plasma/look-and-feel/*vinyl-splash/ %{_datadir}/plasma/plasmoids/*vinyl-launcher/ %{_datadir}/icons/hicolor/scalable/apps/vinyl-settings.svgz %{_datadir}/icons/Vinyl-Black/cursor.theme %{_datadir}/icons/Vinyl-Black/cursors/ %{_datadir}/icons/Vinyl-White/cursor.theme %{_datadir}/icons/Vinyl-White/cursors/ %changelog * Tue Oct 08 2024 Christian Tosta - 6.1.6-1 - updated to 6.1.6 * Wed Oct 02 2024 Christian Tosta - 6.1.5-1 - Added splash and menu launcher - translations updates * Thu Mar 21 2024 Christian Tosta - 6.0.2-1 - Plasma 6 version * Wed Jan 17 2024 Christian Tosta - 0.5.0-1 - Initial build