2015-01-16 10:30:36 +00:00
|
|
|
%global base_name breeze
|
|
|
|
|
|
|
|
%global build_kde4 1
|
|
|
|
|
|
|
|
Name: plasma-breeze
|
2015-11-05 20:12:32 +00:00
|
|
|
Version: 5.4.3
|
2015-11-15 13:54:01 +00:00
|
|
|
Release: 3%{?dist}
|
2015-01-16 10:30:36 +00:00
|
|
|
Summary: Artwork, styles and assets for the Breeze visual style for the Plasma Desktop
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://projects.kde.org/projects/kde/workspace/breeze
|
|
|
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%if %{revision} >= 50
|
|
|
|
%global stable unstable
|
|
|
|
%else
|
|
|
|
%global stable stable
|
|
|
|
%endif
|
|
|
|
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
|
|
|
|
|
2015-10-15 06:39:30 +00:00
|
|
|
# This was accidentally broken by merge from breeze github repo in 5.4.2 while in 5.4.0 and 5.4.1
|
|
|
|
# it was correct. Without this when you use breeze-dark you will be missing some icons because of
|
|
|
|
# wrong inheritance.
|
2015-10-13 10:50:30 +00:00
|
|
|
Patch1: fix-breeze-dark-inheritance.patch
|
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
BuildRequires: kf5-rpm-macros
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
2015-02-26 15:52:17 +00:00
|
|
|
BuildRequires: kf5-kservice-devel
|
2015-04-23 15:43:25 +00:00
|
|
|
BuildRequires: kf5-kcmutils-devel
|
2015-02-26 15:52:17 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
# kde4breeze
|
|
|
|
BuildRequires: kf5-kcoreaddons-devel
|
|
|
|
BuildRequires: kf5-kconfig-devel
|
2015-06-25 17:45:06 +00:00
|
|
|
BuildRequires: kf5-kguiaddons-devel
|
2015-01-16 10:30:36 +00:00
|
|
|
|
|
|
|
# kstyle
|
|
|
|
BuildRequires: kf5-ki18n-devel
|
|
|
|
BuildRequires: kf5-kcompletion-devel
|
|
|
|
BuildRequires: kf5-frameworkintegration-devel
|
|
|
|
BuildRequires: kf5-kwindowsystem-devel
|
|
|
|
BuildRequires: kdecoration-devel
|
|
|
|
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
2015-09-16 19:10:01 +00:00
|
|
|
# icon optimizations
|
|
|
|
BuildRequires: hardlink
|
|
|
|
# for optimizegraphics
|
|
|
|
BuildRequires: kde-dev-scripts
|
|
|
|
BuildRequires: time
|
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
Requires: kf5-filesystem
|
|
|
|
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%package common
|
|
|
|
Summary: Common files shared between KDE 4 and Plasma 5 versions of the Breeze style
|
|
|
|
BuildArch: noarch
|
|
|
|
%description common
|
|
|
|
%{summary}.
|
|
|
|
|
2015-11-15 13:54:01 +00:00
|
|
|
%package -n breeze-cursor-theme
|
|
|
|
Summary: Breeze cursor theme
|
|
|
|
BuildArch: noarch
|
|
|
|
Provides: breeze-cursor-themes = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
%description -n breeze-cursor-theme
|
|
|
|
%{summary}.
|
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%package -n breeze-icon-theme
|
|
|
|
Summary: Breeze icon theme
|
|
|
|
BuildArch: noarch
|
2015-11-15 13:54:01 +00:00
|
|
|
Requires: breeze-cursor-theme = %{version}-%{release}
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
2015-01-16 10:30:36 +00:00
|
|
|
%description -n breeze-icon-theme
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if 0%{?build_kde4:1}
|
|
|
|
%package -n kde-style-breeze
|
|
|
|
Summary: KDE 4 version of Plasma 5 artwork, style and assets
|
|
|
|
BuildRequires: kdelibs4-devel
|
|
|
|
BuildRequires: libxcb-devel
|
|
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
Obsoletes: plasma-breeze-kde4 < 5.1.95
|
|
|
|
Provides: plasma-breeze-kde4%{?_isa} = %{version}-%{release}
|
|
|
|
%description -n kde-style-breeze
|
|
|
|
%{summary}.
|
|
|
|
%endif
|
|
|
|
|
2015-03-10 18:47:28 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%prep
|
2015-03-10 18:47:28 +00:00
|
|
|
%autosetup -n %{base_name}-%{version} -p1
|
|
|
|
|
2015-11-15 13:54:01 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%build
|
2015-03-10 18:47:28 +00:00
|
|
|
mkdir %{_target_platform}
|
2015-01-16 10:30:36 +00:00
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?build_kde4:1}
|
|
|
|
mkdir -p %{_target_platform}_kde4
|
|
|
|
pushd %{_target_platform}_kde4
|
|
|
|
%{cmake_kde4} -DUSE_KDE4=TRUE ..
|
|
|
|
popd
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}_kde4
|
|
|
|
%endif
|
|
|
|
|
2015-03-10 18:47:28 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang breeze --with-qt --all-name
|
2015-03-10 18:47:28 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%if 0%{?build_kde4:1}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}_kde4
|
|
|
|
%endif
|
|
|
|
|
2015-09-16 19:10:01 +00:00
|
|
|
## icon optimizations
|
|
|
|
for theme in breeze_cursors breeze breeze-dark Breeze_Snow; do
|
|
|
|
pushd %{buildroot}%{_datadir}/icons/${theme}
|
|
|
|
du -s .
|
|
|
|
time optimizegraphics ||:
|
|
|
|
du -s .
|
|
|
|
/usr/sbin/hardlink -c -v %{buildroot}%{_datadir}/icons/${theme}
|
|
|
|
du -s .
|
|
|
|
popd
|
|
|
|
done
|
|
|
|
|
|
|
|
|
2015-11-15 13:54:01 +00:00
|
|
|
%check
|
|
|
|
test "$(grep '^Inherits=' %{buildroot}%{_datadir}/icons/breeze-dark/index.theme)" = "Inherits=breeze"
|
|
|
|
|
|
|
|
|
2015-04-23 15:43:25 +00:00
|
|
|
%post
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
|
|
|
|
%postun
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
fi
|
2015-03-10 18:47:28 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%files
|
|
|
|
%doc cursors/Breeze/README COPYING COPYING-ICONS
|
|
|
|
%{_kf5_qtplugindir}/org.kde.kdecoration2/breezedecoration.so
|
|
|
|
%{_kf5_qtplugindir}/styles/breeze.so
|
|
|
|
%{_kf5_datadir}/kstyle/themes/breeze.themerc
|
|
|
|
%{_kf5_qtplugindir}/kstyle_breeze_config.so
|
|
|
|
%{_kf5_datadir}/kconf_update/kde4breeze.upd
|
|
|
|
%{_kf5_libdir}/kconf_update_bin/kde4breeze
|
|
|
|
%{_kf5_datadir}/kconf_update/gtkbreeze.upd
|
|
|
|
%{_kf5_libdir}/kconf_update_bin/gtkbreeze
|
|
|
|
%{_kf5_qmldir}/QtQuick/Controls/Styles/Breeze
|
2015-04-23 15:43:25 +00:00
|
|
|
%{_bindir}/breeze-settings5
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/breeze-settings.svgz
|
|
|
|
%{_kf5_datadir}/kservices5/breezedecorationconfig.desktop
|
|
|
|
%{_kf5_datadir}/kservices5/breezestyleconfig.desktop
|
2015-01-16 10:30:36 +00:00
|
|
|
|
|
|
|
%files common -f breeze.lang
|
|
|
|
%{_datadir}/color-schemes/*.colors
|
|
|
|
%{_datadir}/QtCurve/Breeze.qtcurve
|
|
|
|
%{_datadir}/wallpapers/Next
|
|
|
|
|
|
|
|
%post -n breeze-icon-theme
|
|
|
|
touch --no-create %{_datadir}/icons/{breeze_cursors,breeze,breeze-dark,Breeze_Snow} &> /dev/null || :
|
|
|
|
|
|
|
|
%posttrans -n breeze-icon-theme
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/{breeze_cursors,breeze,breeze-dark,Breeze_Snow} &> /dev/null || :
|
|
|
|
|
|
|
|
%postun -n breeze-icon-theme
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/{breeze_cursors,breeze,breeze-dark,Breeze_Snow} &> /dev/null || :
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/{breeze_cursors,breeze,breeze-dark,Breeze_Snow} &> /dev/null || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files -n breeze-icon-theme
|
|
|
|
%{_datadir}/icons/breeze_cursors
|
|
|
|
%{_datadir}/icons/breeze
|
|
|
|
%{_datadir}/icons/breeze-dark
|
|
|
|
%{_datadir}/icons/Breeze_Snow
|
|
|
|
|
|
|
|
%if 0%{?build_kde4:1}
|
|
|
|
%files -n kde-style-breeze
|
|
|
|
%{_kde4_libdir}/kde4/plugins/styles/breeze.so
|
|
|
|
%{_kde4_libdir}/kde4/kstyle_breeze_config.so
|
|
|
|
%{_kde4_appsdir}/kstyle/themes/breeze.themerc
|
|
|
|
%endif
|
|
|
|
|
2015-03-10 18:47:28 +00:00
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
%changelog
|
2015-11-15 13:54:01 +00:00
|
|
|
* Sun Nov 15 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.3-3
|
|
|
|
- breeze-cursor-theme pkg (#1282203)
|
|
|
|
|
2015-11-06 14:24:18 +00:00
|
|
|
* Fri Nov 06 2015 Daniel Vrátil <dvraitl@fedoraproject.org> - 5.4.3-2
|
|
|
|
- tarball respin
|
|
|
|
|
2015-11-05 20:12:32 +00:00
|
|
|
* Thu Nov 05 2015 Daniel Vrátil <dvratil@fedoraproject.org> - 5.4.3-1
|
|
|
|
- Plasma 5.4.3
|
|
|
|
|
2015-10-13 10:50:30 +00:00
|
|
|
* Tue Oct 13 2015 Jan Grulich <jgrulich@redhat.com> - 5.4.2-2
|
|
|
|
- Fix breeze-dark icons inheritance
|
|
|
|
|
2015-10-01 18:16:43 +00:00
|
|
|
* Thu Oct 01 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.2-1
|
|
|
|
- 5.4.2
|
|
|
|
|
2015-09-16 19:10:01 +00:00
|
|
|
* Wed Sep 16 2015 Rex Dieter <rdieter@fedoraproject.org> 5.4.1-2
|
|
|
|
- breeze-icon-theme: optimizegraphics,hardlink optimizations
|
|
|
|
|
2015-09-09 19:12:34 +00:00
|
|
|
* Wed Sep 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.4.1-1
|
|
|
|
- 5.4.1
|
|
|
|
|
2015-08-21 17:41:01 +00:00
|
|
|
* Fri Aug 21 2015 Daniel Vrátil <dvratil@redhat.com> - 5.4.0-1
|
|
|
|
- Plasma 5.4.0
|
|
|
|
|
|
|
|
* Thu Aug 13 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.95-1
|
|
|
|
- Plasma 5.3.95
|
|
|
|
|
2015-06-25 16:20:42 +00:00
|
|
|
* Thu Jun 25 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.2-1
|
|
|
|
- Plasma 5.3.2
|
|
|
|
|
2015-06-18 15:24:11 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.3.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-25 22:33:05 +00:00
|
|
|
* Tue May 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.1-1
|
|
|
|
- Plasma 5.3.1
|
|
|
|
|
2015-04-27 11:07:04 +00:00
|
|
|
* Mon Apr 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.3.0-1
|
|
|
|
- Plasma 5.3.0
|
|
|
|
|
2015-04-23 15:43:25 +00:00
|
|
|
* Wed Apr 22 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.95-1
|
|
|
|
- Plasma 5.2.95
|
|
|
|
|
2015-03-20 12:27:58 +00:00
|
|
|
* Fri Mar 20 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.2-1
|
|
|
|
- Plasma 5.2.2
|
|
|
|
|
2015-03-10 18:47:28 +00:00
|
|
|
* Tue Mar 10 2015 Rex Dieter <rdieter@fedoraproject.org> - 5.2.1-3
|
|
|
|
- backport upstream fixes (mostly crashers)
|
|
|
|
- .spec cosmetics
|
|
|
|
|
2015-02-27 19:00:00 +00:00
|
|
|
* Fri Feb 27 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-2
|
|
|
|
- Rebuild (GCC 5)
|
|
|
|
|
2015-02-24 10:03:21 +00:00
|
|
|
* Tue Feb 24 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.1-1
|
|
|
|
- Plasma 5.2.1
|
|
|
|
|
2015-01-26 16:14:17 +00:00
|
|
|
* Mon Jan 26 2015 Daniel Vrátil <dvratil@redhat.com> - 5.2.0-1
|
|
|
|
- Plasma 5.2.0
|
|
|
|
|
2015-01-16 10:30:36 +00:00
|
|
|
* Mon Jan 12 2015 Daniel Vrátil <dvratil@redhat.com> - 5.1.95-1.beta
|
|
|
|
- Plasma 5.1.95 Beta
|
|
|
|
|
|
|
|
* Mon Jan 05 2015 Jan Grulich <jgrulich@redhat.com> - 5.1.1-2
|
|
|
|
- better URL
|
|
|
|
breeze-kde4 renamed to kde-style-breeze
|
|
|
|
created breeze-icon-theme subpackage
|
|
|
|
used make install instead of make_install macro
|
|
|
|
|
|
|
|
* Wed Dec 17 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.2-2
|
|
|
|
- Plasma 5.1.2
|
|
|
|
|
|
|
|
* Fri Nov 07 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.1-1
|
|
|
|
- Plasma 5.1.1
|
|
|
|
|
|
|
|
* Tue Oct 14 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0.1-1
|
|
|
|
- Plasma 5.1.0.1
|
|
|
|
|
|
|
|
* Thu Oct 09 2014 Daniel Vrátil <dvratil@redhat.com> - 5.1.0-1
|
|
|
|
- Plasma 5.1.0
|
|
|
|
|
|
|
|
* Tue Sep 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.2-1
|
|
|
|
- Plasma 5.0.2
|
|
|
|
|
|
|
|
* Sun Aug 10 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.1-1
|
|
|
|
- Plasma 5.0.1
|
|
|
|
|
|
|
|
* Wed Jul 16 2014 Daniel Vrátil <dvratil@redhat.com> - 5.0.0-1
|
|
|
|
- Plasma 5.0.0
|
|
|
|
|
|
|
|
* Wed May 14 2014 Daniel Vrátil <dvratil@redhat.com> - 4.90.1-1.20140514git73a19ea
|
|
|
|
- Update to latest upstream
|
|
|
|
|
|
|
|
* Fri May 02 2014 Jan Grulich <jgrulich@redhat.com> 4.90.1-0.1.20140502git
|
|
|
|
- Initial version
|