Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
oxygen5
oxygen5.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File oxygen5.spec of Package oxygen5
# # spec file for package oxygen5 # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %bcond_without lang %define kwin_deco 1 Name: oxygen5 Version: 5.12.5 Release: 0 # Full Plasma 5 version (e.g. 5.8.95) %{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}} # Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.8.95 in KUF) %{!?_plasma5_version: %global _plasma5_version %(echo %{_plasma5_bugfix} | awk -F. '{print $1"."$2}')} Summary: Oxygen style, KWin decoration, cursors and sounds License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/plasma/%{version}/oxygen-%{version}.tar.xz Source1: baselibs.conf BuildRequires: extra-cmake-modules >= 0.0.9 BuildRequires: kf5-filesystem BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5ConfigWidgets) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5FrameworkIntegration) BuildRequires: cmake(KF5GuiAddons) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5KCMUtils) BuildRequires: cmake(KF5Service) BuildRequires: cmake(KF5Wayland) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5WindowSystem) %if %kwin_deco BuildRequires: cmake(KDecoration2) >= %{_plasma5_version} %endif BuildRequires: xz BuildRequires: cmake(Qt5DBus) >= 5.4.0 BuildRequires: cmake(Qt5Quick) >= 5.4.0 BuildRequires: cmake(Qt5Widgets) >= 5.4.0 BuildRequires: cmake(Qt5X11Extras) >= 5.4.0 BuildRequires: pkgconfig(xcb) %if %kwin_deco Requires: oxygen5-decoration %else Obsoletes: oxygen5-decoration %endif Requires: oxygen5-style Recommends: oxygen5-sounds Recommends: oxygen-cursors %if %{with lang} Recommends: %{name}-lang %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Provides Oxygen style, KWin decoration, cursors and sounds. %package devel Summary: KDE Base Libraries License: GPL-2.0+ Group: Development/Libraries/KDE Requires: %{name} = %{version} %description devel Provides Oxygen style, KWin decoration, cursors and sounds. Development files. %package sounds Summary: The KDE Workspace Sounds License: GPL-2.0+ Group: System/GUI/KDE Obsoletes: oxygen-sounds5 < %{version} Provides: oxygen-sounds5 = %{version} %description sounds This package contains the default sound set for a K Desktop Environment workspace. %package cursors Summary: The KDE Workspace Cursors License: GPL-3.0+ Group: System/GUI/KDE Provides: oxygen-cursors = %{version} %if 0%{?suse_version} > 1314 && "%{suse_version}" != "1320" Obsoletes: oxygen4-cursors < %{version} Provides: oxygen4-cursors = %{version} Obsoletes: oxygen-cursors4 < %{version} Provides: oxygen-cursors4 = %{version} %else Conflicts: oxygen4-cursors Conflicts: oxygen-cursors4 %endif Obsoletes: oxygen-cursors5 < %{version} Provides: oxygen-cursors5 = %{version} %description cursors This package contains the default cursor set for a K Desktop Environment workspace. %package style Summary: Oxygen style License: GPL-2.0+ Group: System/GUI/KDE Obsoletes: oxygen-style5 < %{version} Provides: oxygen-style5 = %{version} %description style This package contains the libraries of the Oxygen style. %if %kwin_deco %package decoration Summary: Oxygen's KWin decoration License: GPL-2.0+ Group: System/GUI/KDE Supplements: packageand(oxygen5-style:kwin5) Obsoletes: oxygen-decoration5 < %{version} Provides: oxygen-decoration5 = %{version} %requires_eq oxygen5-style %description decoration This package contains the libraries Oxygen's KWin decoration. %endif %lang_package %prep %setup -q -n oxygen-%{version} %build %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir} %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %kf5_find_lang %endif %post style -p /sbin/ldconfig %postun style -p /sbin/ldconfig %if %kwin_deco %post decoration -p /sbin/ldconfig %postun decoration -p /sbin/ldconfig %endif %files %defattr(-,root,root) %doc COPYING* %files style %defattr(-,root,root) %doc COPYING* %{_kf5_bindir}/oxygen-demo5 %{_kf5_bindir}/oxygen-settings5 %{_kf5_libdir}/liboxygenstyle5.so.* %{_kf5_libdir}/liboxygenstyleconfig5.so.* %{_kf5_plugindir}/kstyle_oxygen_config.so %{_kf5_plugindir}/styles/ %{_kf5_sharedir}/kstyle/ %{_kf5_plasmadir}/ %dir %{_kf5_servicesdir} %{_kf5_servicesdir}/oxygenstyleconfig.desktop %dir %{_kf5_iconsdir}/hicolor/*/ %dir %{_kf5_iconsdir}/hicolor/*/apps %{_kf5_iconsdir}/hicolor/*/apps/oxygen-settings.png %if %kwin_deco %files decoration %defattr(-,root,root) %doc COPYING* %{_kf5_plugindir}/org.kde.kdecoration2/ %dir %{_kf5_servicesdir} %{_kf5_servicesdir}/oxygendecorationconfig.desktop %endif %files sounds %defattr(-,root,root) %doc COPYING* %{_kf5_sharedir}/sounds/ %files cursors %defattr(-,root,root) %doc COPYING* %{_kf5_sharedir}/icons/Oxygen_*/ %{_kf5_sharedir}/icons/KDE_Classic/ %files devel %defattr(-,root,root) %doc COPYING* %{_kf5_libdir}/liboxygenstyleconfig5.so %{_kf5_libdir}/liboxygenstyle5.so %if %{with lang} %files lang -f %{name}.lang %endif %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