Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:test
skulpture
skulpture.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skulpture.spec of Package skulpture
# # spec file for package skulpture # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %global flavor @BUILD_FLAVOR@%{nil} %if "%{flavor}" == "" ExclusiveArch: do_not_build %endif %if "%{flavor}" == "qt6" %define qt6 1 %define pkg_suffix -qt6 %define dsc_suffix Qt6 %endif %if "%{flavor}" == "qt5" %define qt5 1 %define pkg_suffix -qt5 %define dsc_suffix Qt5 %endif Name: skulpture Version: @SERVICE@ Release: 0 Summary: A classic style for Qt5 and Qt6 apps License: GPL-3.0-or-later Group: System/GUI/KDE URL: https://github.com/atolstoy/skulpture Source0: %{name}-%{version}.tar.xz BuildRequires: cmake >= 3.17 BuildRequires: gcc-c++ BuildRequires: pkgconfig %if 0%{?qt5} BuildRequires: extra-cmake-modules BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5GuiAddons) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(Qt5Core) >= 5.15.2 BuildRequires: cmake(Qt5Gui) BuildRequires: cmake(Qt5Widgets) %endif %if 0%{?qt6} BuildRequires: kf6-extra-cmake-modules #uildRequires: cmake(KF6Completion) #uildRequires: cmake(KF6ConfigWidgets) #uildRequires: cmake(KF6CoreAddons) #uildRequires: cmake(KF6GuiAddons) #uildRequires: cmake(KF6TextWidgets) #uildRequires: cmake(KF6WidgetsAddons) #uildRequires: cmake(KF6XmlGui) BuildRequires: cmake(Qt6Core) >= 6.2.0 BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Widgets) %endif %description Skulpture is a GUI style addon for KDE programs. It features a classical three-dimensional artwork with shadows and smooth gradients to enhance the visual experience. Features: * Qt5 support * Qt6 support * Configuration GUI for Qt5 and Plasma 5 %package -n %{name}%{?pkg_suffix}-style Summary: %{dsc_suffix} Style Plugins %description -n %{name}%{?pkg_suffix}-style This package contains additional style plugins. %prep %autosetup %build %if 0%{?qt5} %cmake_kf5 -d build %cmake_build %endif %if 0%{?qt6} %cmake_kf6 \ -DUSE_QT6=ON \ -DUSE_GUI_CONFIG=OFF %kf6_build %endif %install %if 0%{?qt5} %kf5_makeinstall -C build install -Dm 0644 color-schemes/Skulpture*.colors -t %{buildroot}%{_kf5_sharedir}/color-schemes/ %endif %if 0%{?qt6} %kf6_install install -Dm 0644 color-schemes/Skulpture*.colors -t %{buildroot}%{_kf6_sharedir}/color-schemes/ %endif %files -n %{name}%{?pkg_suffix}-style %doc AUTHORS README.md %if 0%{?qt5} %dir %{_kf5_kxmlguidir}/%{name} %{_kf5_kxmlguidir}/%{name}/%{name}ui.rc %{_kf5_plugindir}/kstyle_%{name}_config.so %dir %{_kf5_plugindir}/styles %{_kf5_plugindir}/styles/%{name}.so %dir %{_kf5_sharedir}/kstyle %dir %{_kf5_sharedir}/kstyle/themes %{_kf5_sharedir}/kstyle/themes/skulpture.themerc %dir %{_kf5_sharedir}/color-schemes %{_kf5_sharedir}/color-schemes/Skulpture*.colors %endif %if 0%{?qt6} %dir %{_kf6_plugindir}/styles %{_kf6_plugindir}/styles/%{name}.so %dir %{_kf6_sharedir}/color-schemes %{_kf6_sharedir}/color-schemes/Skulpture*.colors %endif %license LICENSE %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor