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