forked from pool/breeze
193 lines
5.9 KiB
RPMSpec
193 lines
5.9 KiB
RPMSpec
#
|
|
# spec file for package breeze
|
|
#
|
|
# Copyright (c) 2015 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
|
|
Name: breeze
|
|
Version: 5.4.2
|
|
Release: 0
|
|
BuildRequires: cmake >= 2.8.12
|
|
BuildRequires: extra-cmake-modules >= 0.0.12
|
|
BuildRequires: frameworkintegration-devel
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: kcmutils-devel
|
|
BuildRequires: kcompletion-devel
|
|
BuildRequires: kconfig-devel
|
|
BuildRequires: kcoreaddons-devel
|
|
BuildRequires: kf5-filesystem
|
|
BuildRequires: kguiaddons-devel
|
|
BuildRequires: ki18n-devel
|
|
BuildRequires: kwindowsystem-devel
|
|
BuildRequires: libkdecoration2-devel >= %{version}
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0
|
|
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.4.0
|
|
BuildRequires: pkgconfig(x11-xcb)
|
|
BuildRequires: pkgconfig(xcb)
|
|
Requires: breeze5-cursors >= %{version}
|
|
Requires: breeze5-icons >= %{version}
|
|
Requires: breeze5-style >= %{version}
|
|
Requires: breeze5-wallpapers >= %{version}
|
|
Recommends: breeze5-decoration >= %{version}
|
|
Summary: Plasma Desktop artwork, styles and assets
|
|
License: GPL-2.0+
|
|
Group: System/GUI/KDE
|
|
Url: http://www.kde.org
|
|
#Source: http://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz
|
|
Source: %{name}-%{version}.tar.xz
|
|
Source99: %{name}-rpmlintrc
|
|
# PATCH-FIX-UPSTREAM Use-NETRootInfo-to-initiate-wm-move-operation.patch
|
|
Patch0: Use-NETRootInfo-to-initiate-wm-move-operation.patch
|
|
# PATCH-FIX-UPSTREAM Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch
|
|
Patch1: Install-emotes-and-mimtetypes-directories-of-the-dark-icon-theme.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
|
|
|
|
%package -n breeze5-icons
|
|
Summary: Plasma Desktop artwork, styles and assets
|
|
Group: System/GUI/KDE
|
|
BuildArch: noarch
|
|
Requires: oxygen-icon-theme
|
|
|
|
%description -n breeze5-icons
|
|
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
|
|
This package provides Breeze icon theme.
|
|
|
|
%package -n breeze5-cursors
|
|
Summary: Plasma Desktop artwork, styles and assets
|
|
Group: System/GUI/KDE
|
|
BuildArch: noarch
|
|
|
|
%description -n breeze5-cursors
|
|
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
|
|
This package provides Breeze cursor theme.
|
|
|
|
%package -n breeze5-style
|
|
Summary: Plasma Desktop artwork, styles and assets
|
|
Group: System/GUI/KDE
|
|
Requires: kconf_update5
|
|
# needed for kde4breeze
|
|
Recommends: breeze4-style
|
|
%if %{with lang}
|
|
Recommends: breeze5-style-lang
|
|
%endif
|
|
|
|
%description -n breeze5-style
|
|
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
|
|
This package provides Breeze style, color-scheme and aditional assets.
|
|
|
|
%package -n breeze5-wallpapers
|
|
Summary: Plasma Desktop artwork, styles and assets
|
|
Group: System/GUI/KDE
|
|
BuildArch: noarch
|
|
|
|
%description -n breeze5-wallpapers
|
|
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
|
|
This package provides Breeze wallpaper theme.
|
|
|
|
%package -n breeze5-decoration
|
|
Summary: Plasma Desktop artwork, styles and assets
|
|
Group: System/GUI/KDE
|
|
|
|
%description -n breeze5-decoration
|
|
Artwork, styles and assets for the Breeze visual style for the Plasma Desktop.
|
|
This package provides Breeze KWin decoration.
|
|
|
|
%lang_package -n breeze5-style
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%cmake_kf5 -d build -- -DBUILD_po=OFF -DCMAKE_INSTALL_LOCALEDIR=share/locale/kf5
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
%icon_theme_cache_create_ghost breeze
|
|
%icon_theme_cache_create_ghost breeze-dark
|
|
|
|
find %{buildroot} -type f -name '*gtkbreeze*' -exec rm -fv {} ';'
|
|
|
|
%post -n breeze5-icons
|
|
%icon_theme_cache_post breeze
|
|
%icon_theme_cache_post breeze-dark
|
|
|
|
%if %{with lang}
|
|
%files -n breeze5-style-lang
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_localedir}/
|
|
%endif
|
|
|
|
%files -n breeze5-icons
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%ghost %{_kf5_iconsdir}/breeze/icon-theme.cache
|
|
%ghost %{_kf5_iconsdir}/breeze-dark/icon-theme.cache
|
|
%{_kf5_iconsdir}/breeze/
|
|
%{_kf5_iconsdir}/breeze-dark/
|
|
|
|
%files -n breeze5-cursors
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_iconsdir}/breeze_cursors
|
|
%{_kf5_iconsdir}/Breeze_Snow/
|
|
|
|
%files -n breeze5-style
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%{_kf5_bindir}/breeze-settings5
|
|
%dir %{_kf5_iconsdir}/hicolor/scalable
|
|
%dir %{_kf5_iconsdir}/hicolor/scalable/apps
|
|
%{_kf5_iconsdir}/hicolor/scalable/apps/breeze-settings.*
|
|
%{_kf5_sharedir}/QtCurve/
|
|
%{_kf5_sharedir}/color-schemes/
|
|
%{_kf5_qmldir}/QtQuick/
|
|
%{_kf5_libdir}/kconf_update_bin/
|
|
%{_kf5_sharedir}/kconf_update/
|
|
%dir %{_kf5_plugindir}
|
|
%{_kf5_plugindir}/kstyle_breeze_config.so
|
|
%{_kf5_plugindir}/styles/
|
|
%{_kf5_sharedir}/kstyle/
|
|
%dir %{_kf5_servicesdir}
|
|
%{_kf5_servicesdir}/breezestyleconfig.desktop
|
|
|
|
%files -n breeze5-wallpapers
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%dir %{_kf5_sharedir}/wallpapers
|
|
%{_kf5_sharedir}/wallpapers/Next/
|
|
|
|
%files -n breeze5-decoration
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%dir %{_kf5_plugindir}
|
|
%{_kf5_plugindir}/org.kde.kdecoration2/
|
|
%dir %{_kf5_servicesdir}
|
|
%{_kf5_servicesdir}/breezedecorationconfig.desktop
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
|
|
%changelog
|