]> git.pld-linux.org Git - packages/kf5-breeze-icons.git/blame - kf5-breeze-icons.spec
- updated to 5.97.0
[packages/kf5-breeze-icons.git] / kf5-breeze-icons.spec
CommitLineData
2867734f
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
edbdb667 4%define kdeframever 5.97
706ab058 5%define qtver 5.15.2
405f5364
WF
6%define kfname breeze-icons
7
8Summary: breeze icons
9Name: kf5-%{kfname}
edbdb667 10Version: 5.97.0
84657f34 11Release: 1
405f5364
WF
12License: LGPL v2.1+
13Group: X11/Libraries
c32e56ca 14Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
edbdb667 15# Source0-md5: ad6ca5a1b4bcd4613fe1095b2db58a97
405f5364
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Test-devel >= %{qtver}
19BuildRequires: cmake >= 2.8.12
20BuildRequires: gettext-devel
46ca9686
WF
21BuildRequires: kf5-extra-cmake-modules >= %{version}
22BuildRequires: ninja
405f5364
WF
23BuildRequires: pkgconfig
24BuildRequires: qt5-linguist >= %{qtver}
25BuildRequires: rpmbuild(macros) >= 1.164
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
55c3e175 28Requires: kf5-dirs
4624432e 29Obsoletes: breeze-icon-theme
405f5364
WF
30BuildArch: noarch
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%define qt5dir %{_libdir}/qt5
34
35%description
36Breeze-icons is a freedesktop.org compatible icon theme.
37
38%prep
39%setup -q -n %{kfname}-%{version}
40
41%build
42install -d build
43cd build
46ca9686 44%cmake -G Ninja \
2867734f 45 %{!?with_tests:-DBUILD_TESTING=OFF} \
405f5364
WF
46 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
47 ../
46ca9686 48%ninja_build
405f5364 49
2867734f
WF
50%if %{with tests}
51ctest
52%endif
53
54
405f5364
WF
55%install
56rm -rf $RPM_BUILD_ROOT
46ca9686 57%ninja_install -C build
405f5364
WF
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
ef373eb9 64%{_iconsdir}/breeze
4624432e 65%{_iconsdir}/breeze-dark
This page took 0.154973 seconds and 4 git commands to generate.