]> git.pld-linux.org Git - packages/ka5-kdesdk-thumbnailers.git/blame - ka5-kdesdk-thumbnailers.spec
rebuild with qt5-5.15.6
[packages/ka5-kdesdk-thumbnailers.git] / ka5-kdesdk-thumbnailers.spec
CommitLineData
79e4f962
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
7c9ec41b 4%define kdeappsver 22.08.1
ff0194f8
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
42ab77c6
WF
7%define kaname kdesdk-thumbnailers
8Summary: kdesdk thumbnailers
9Name: ka5-%{kaname}
7c9ec41b 10Version: 22.08.1
eb8a37d4 11Release: 2
42ab77c6
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
901f7fcb 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
7c9ec41b 15# Source0-md5: 74be06aff93a093b7b59cd152eff6c43
42ab77c6
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5Widgets-devel
20BuildRequires: cmake >= 2.8.12
21BuildRequires: gettext-devel
ba950650
WF
22BuildRequires: kf5-extra-cmake-modules >= %{kframever}
23BuildRequires: kf5-kconfig-devel >= %{kframever}
24BuildRequires: kf5-ki18n-devel >= %{kframever}
25BuildRequires: kf5-kio-devel >= %{kframever}
2abb3483 26BuildRequires: ninja
42ab77c6
WF
27BuildRequires: qt5-build >= %{qtver}
28BuildRequires: rpmbuild(macros) >= 1.164
29BuildRequires: shared-mime-info
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Plugins for the thumbnailing system.
36
37%prep
38%setup -q -n %{kaname}-%{version}
39
40%build
41install -d build
42cd build
43%cmake \
2abb3483 44 -G Ninja \
79e4f962 45 %{!?with_tests:-DBUILD_TESTING=OFF} \
ba950650 46 -DHTML_INSTALL_DIR=%{_kdedocdir} \
42ab77c6
WF
47 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
48 ..
2abb3483 49%ninja_build
42ab77c6 50
79e4f962
WF
51%if %{with tests}
52ctest
53%endif
54
55
42ab77c6
WF
56%install
57rm -rf $RPM_BUILD_ROOT
2abb3483 58%ninja_install -C build
42ab77c6
WF
59
60%find_lang %{kaname} --all-name --with-kde
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files -f %{kaname}.lang
66%defattr(644,root,root,755)
67%attr(755,root,root) %{_libdir}/qt5/plugins/pothumbnail.so
68%{_datadir}/config.kcfg/pocreatorsettings.kcfg
69%{_datadir}/kservices5/pothumbnail.desktop
This page took 0.240897 seconds and 4 git commands to generate.