]>
Commit | Line | Data |
---|---|---|
718caa36 | 1 | %define kdeframever 5.92 |
84657f34 | 2 | %define qtver 5.9.0 |
405f5364 WF |
3 | %define kfname breeze-icons |
4 | ||
5 | Summary: breeze icons | |
6 | Name: kf5-%{kfname} | |
718caa36 | 7 | Version: 5.92.0 |
84657f34 | 8 | Release: 1 |
405f5364 WF |
9 | License: LGPL v2.1+ |
10 | Group: X11/Libraries | |
c32e56ca | 11 | Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
718caa36 | 12 | # Source0-md5: 5831f1bdcc904436d0db2653464a99cb |
405f5364 WF |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: Qt5Core-devel >= %{qtver} | |
15 | BuildRequires: Qt5Test-devel >= %{qtver} | |
16 | BuildRequires: cmake >= 2.8.12 | |
17 | BuildRequires: gettext-devel | |
46ca9686 WF |
18 | BuildRequires: kf5-extra-cmake-modules >= %{version} |
19 | BuildRequires: ninja | |
405f5364 WF |
20 | BuildRequires: pkgconfig |
21 | BuildRequires: qt5-linguist >= %{qtver} | |
22 | BuildRequires: rpmbuild(macros) >= 1.164 | |
23 | BuildRequires: tar >= 1:1.22 | |
24 | BuildRequires: xz | |
55c3e175 | 25 | Requires: kf5-dirs |
4624432e | 26 | Obsoletes: breeze-icon-theme |
405f5364 WF |
27 | BuildArch: noarch |
28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
29 | ||
30 | %define qt5dir %{_libdir}/qt5 | |
31 | ||
32 | %description | |
33 | Breeze-icons is a freedesktop.org compatible icon theme. | |
34 | ||
35 | %prep | |
36 | %setup -q -n %{kfname}-%{version} | |
37 | ||
38 | %build | |
39 | install -d build | |
40 | cd build | |
46ca9686 | 41 | %cmake -G Ninja \ |
405f5364 WF |
42 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
43 | ../ | |
46ca9686 | 44 | %ninja_build |
405f5364 WF |
45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
46ca9686 | 48 | %ninja_install -C build |
405f5364 WF |
49 | |
50 | %clean | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
ef373eb9 | 55 | %{_iconsdir}/breeze |
4624432e | 56 | %{_iconsdir}/breeze-dark |