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