]>
Commit | Line | Data |
---|---|---|
959577ac | 1 | %define kdeframever 5.86 |
ce0d334b | 2 | %define qtver 5.9.0 |
463297e7 WF |
3 | %define kfname oxygen-icons5 |
4 | ||
5 | Summary: oxygen icons | |
6 | Name: kf5-%{kfname} | |
959577ac | 7 | Version: 5.86.0 |
463297e7 WF |
8 | Release: 1 |
9 | License: LGPL v2.1+ | |
10 | Group: X11/Libraries | |
959577ac WF |
11 | Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz |
12 | # Source0-md5: 6e34bb5bad35c76bf535770877a007bb | |
463297e7 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 | |
72eba925 WF |
18 | BuildRequires: kf5-extra-cmake-modules >= %{version} |
19 | BuildRequires: ninja | |
463297e7 WF |
20 | BuildRequires: pkgconfig |
21 | BuildRequires: qt5-linguist >= %{qtver} | |
22 | BuildRequires: rpmbuild(macros) >= 1.164 | |
23 | BuildRequires: tar >= 1:1.22 | |
24 | BuildRequires: xz | |
25 | BuildArch: noarch | |
3ac32c12 | 26 | Requires: kf5-dirs |
463297e7 WF |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %define qt5dir %{_libdir}/qt5 | |
30 | ||
31 | %description | |
32 | Oxygen-icons is a freedesktop.org compatible icon theme. | |
33 | ||
34 | %prep | |
35 | %setup -q -n %{kfname}-%{version} | |
36 | ||
37 | %build | |
38 | install -d build | |
39 | cd build | |
72eba925 | 40 | %cmake -G Ninja \ |
463297e7 WF |
41 | -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ |
42 | ../ | |
72eba925 | 43 | %ninja_build |
463297e7 WF |
44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
72eba925 | 47 | %ninja_install -C build |
463297e7 WF |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
ce0d334b | 54 | %{_iconsdir}/oxygen |