]> git.pld-linux.org Git - packages/ka5-kdegraphics-thumbnailers.git/blame - ka5-kdegraphics-thumbnailers.spec
- updated to 21.04.2
[packages/ka5-kdegraphics-thumbnailers.git] / ka5-kdegraphics-thumbnailers.spec
CommitLineData
03696ae8 1%define kdeappsver 21.04.2
1301aa5b 2%define kframever 5.56.0
28d35c31
WF
3%define qtver 5.9.0
4%define kaname kdegraphics-thumbnailers
5Summary: KDE graphics thumbnailers
6Name: ka5-%{kaname}
03696ae8 7Version: 21.04.2
28d35c31
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
10Group: X11/Libraries
cdc25fb3 11Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
03696ae8 12# Source0-md5: 340026ad81cae4c5e160bf1da1ec6bcd
28d35c31
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: Qt5Gui-devel
16BuildRequires: cmake >= 2.8.12
1301aa5b
WF
17BuildRequires: ka5-libkdcraw-devel >= %{kdeappsver}
18BuildRequires: ka5-libkexiv2-devel >= %{kdeappsver}
19BuildRequires: kf5-kio-devel >= %{kframever}
069ea5b1 20BuildRequires: ninja
28d35c31
WF
21BuildRequires: qt5-build >= %{qtver}
22BuildRequires: rpmbuild(macros) >= 1.164
23BuildRequires: tar >= 1:1.22
24BuildRequires: xz
25BuildRequires: zlib-devel
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29These plugins allow KDE software to create thumbnails for several
30advanced graphic file formats (PS, RAW).
31
32%prep
33%setup -q -n %{kaname}-%{version}
34
35%build
36install -d build
37cd build
38%cmake \
069ea5b1 39 -G Ninja \
1301aa5b 40 -DHTML_INSTALL_DIR=%{_kdedocdir} \
28d35c31
WF
41 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
42 ..
069ea5b1 43%ninja_build
28d35c31
WF
44
45%install
46rm -rf $RPM_BUILD_ROOT
069ea5b1 47%ninja_install -C build
28d35c31
WF
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
1301aa5b 54%attr(755,root,root) %{_libdir}/qt5/plugins/blenderthumbnail.so
28d35c31
WF
55%attr(755,root,root) %{_libdir}/qt5/plugins/gsthumbnail.so
56%attr(755,root,root) %{_libdir}/qt5/plugins/rawthumbnail.so
1301aa5b 57%{_datadir}/kservices5/blenderthumbnail.desktop
28d35c31
WF
58%{_datadir}/kservices5/gsthumbnail.desktop
59%{_datadir}/kservices5/rawthumbnail.desktop
cdc25fb3 60%{_datadir}/metainfo/org.kde.kdegraphics-thumbnailers.metainfo.xml
This page took 0.079481 seconds and 4 git commands to generate.