]>
Commit | Line | Data |
---|---|---|
aa7d932a | 1 | %define kdeplasmaver 5.21.3 |
ab95334a | 2 | %define qtver 5.9.0 |
a8447a7d WF |
3 | %define kpname breeze-gtk |
4 | Summary: Artwork, styles and assets for the Breeze visual style for the Plasma Desktop | |
5 | Name: kp5-%{kpname} | |
aa7d932a | 6 | Version: 5.21.3 |
cf1a2f9e | 7 | Release: 2 |
a8447a7d WF |
8 | License: GPL v2+/LGPL v2.1+ |
9 | Group: X11/Libraries | |
10 | Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz | |
aa7d932a | 11 | # Source0-md5: 32c8e9e3f390ebbccee292e9a66fed32 |
a8447a7d WF |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: Qt5Core-devel >= %{qtver} | |
14 | BuildRequires: Qt5DBus-devel | |
15 | BuildRequires: Qt5Gui-devel | |
16 | BuildRequires: Qt5Widgets-devel | |
17 | BuildRequires: Qt5X11Extras-devel | |
18 | BuildRequires: Qt5Xml-devel | |
19 | BuildRequires: cmake >= 2.8.12 | |
20 | BuildRequires: gettext-devel | |
21 | BuildRequires: hardlink >= 1.0-3 | |
22 | BuildRequires: kf5-attica-devel | |
23 | BuildRequires: kf5-extra-cmake-modules >= 1.4.0 | |
24 | BuildRequires: kf5-frameworkintegration-devel | |
25 | BuildRequires: kf5-kauth-devel | |
26 | BuildRequires: kf5-kcmutils-devel | |
27 | BuildRequires: kf5-kcodecs-devel | |
28 | BuildRequires: kf5-kconfig-devel | |
29 | BuildRequires: kf5-kconfigwidgets-devel | |
30 | BuildRequires: kf5-kcoreaddons-devel | |
31 | BuildRequires: kf5-kguiaddons-devel | |
32 | BuildRequires: kf5-ki18n-devel | |
33 | BuildRequires: kf5-kiconthemes-devel | |
34 | BuildRequires: kf5-kservice-devel | |
35 | BuildRequires: kf5-kwidgetsaddons-devel | |
36 | BuildRequires: kf5-kwindowsystem-devel | |
622fda60 | 37 | BuildRequires: kp5-breeze-devel |
e87fa340 | 38 | BuildRequires: kp5-kdecoration-devel >= %{kdeplasmaver} |
a8447a7d | 39 | BuildRequires: libstdc++-devel |
c05377c4 | 40 | BuildRequires: ninja |
a8447a7d | 41 | BuildRequires: pkgconfig |
c05377c4 | 42 | BuildRequires: python3-pycairo-devel |
a8447a7d WF |
43 | BuildRequires: qt5-build >= %{qtver} |
44 | BuildRequires: qt5-qmake | |
45 | BuildRequires: rpmbuild(macros) >= 1.596 | |
c05377c4 | 46 | BuildRequires: sassc |
a8447a7d WF |
47 | BuildRequires: tar >= 1:1.22 |
48 | BuildRequires: xz | |
a8447a7d WF |
49 | Requires: gtk-update-icon-cache |
50 | Requires: hicolor-icon-theme | |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
52 | ||
cf1a2f9e JR |
53 | %define _debugsource_packages 0 |
54 | ||
a8447a7d WF |
55 | %description |
56 | Artwork, styles and assets for the Breeze visual style for the Plasma | |
57 | Desktop. | |
58 | ||
59 | %package -n %{kpname}-icon-theme | |
60 | Summary: Breeze icon theme | |
61 | Summary(pl.UTF-8): Breeze Motyw ikon | |
62 | Group: Themes | |
63 | Requires: gtk-update-icon-cache | |
64 | Requires: hicolor-icon-theme | |
65 | Conflicts: kp5-breeze < 5.4.0-5 | |
a8447a7d | 66 | BuildArch: noarch |
a8447a7d WF |
67 | |
68 | %description -n %{kpname}-icon-theme | |
69 | Breeze is an icon theme. | |
70 | ||
71 | %description -n %{kpname}-icon-theme -l pl.UTF-8 | |
72 | Breeze to motyw ikon. | |
73 | ||
74 | %package -n %{kpname}-cursor-theme | |
75 | Summary: Breeze cursor theme | |
76 | Group: Themes | |
77 | Conflicts: breeze-icon-theme < 5.4.0-7 | |
78 | Conflicts: kp5-breeze < 5.4.0-5 | |
a8447a7d | 79 | BuildArch: noarch |
a8447a7d WF |
80 | |
81 | %description -n %{kpname}-cursor-theme | |
82 | Breeze cursor theme. | |
83 | ||
84 | %prep | |
85 | %setup -q -n %{kpname}-%{version} | |
86 | ||
87 | %build | |
88 | install -d build | |
89 | cd build | |
c05377c4 | 90 | %cmake -G Ninja \ |
a8447a7d WF |
91 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
92 | .. | |
c05377c4 | 93 | %ninja_build |
a8447a7d WF |
94 | |
95 | %install | |
96 | rm -rf $RPM_BUILD_ROOT | |
c05377c4 | 97 | %ninja_install -C build |
a8447a7d WF |
98 | |
99 | %clean | |
100 | rm -rf $RPM_BUILD_ROOT | |
101 | ||
102 | %post | |
103 | %update_icon_cache hicolor | |
104 | ||
105 | %postun | |
106 | %update_icon_cache hicolor | |
107 | ||
108 | %files | |
109 | %defattr(644,root,root,755) | |
80c5a4a5 WF |
110 | %{_datadir}/themes/Breeze-Dark |
111 | %{_datadir}/themes/Breeze |