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