]> git.pld-linux.org Git - packages/ka5-kdegraphics-thumbnailers.git/blob - ka5-kdegraphics-thumbnailers.spec
- updated to 21.08.0
[packages/ka5-kdegraphics-thumbnailers.git] / ka5-kdegraphics-thumbnailers.spec
1 %define         kdeappsver      21.08.0
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:        21.08.0
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:  77f59f5ef58abd6fb9c677d51f703461
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 %description -l pl.UTF-8
33 Te wtyczki pozwalają oprogramowaniu KDE tworzyć miniaturki dla
34 wielu zaawansowanych formatów graficznych (PS, RAW).
35
36 %prep
37 %setup -q -n %{kaname}-%{version}
38
39 %build
40 install -d build
41 cd build
42 %cmake \
43         -G Ninja \
44         -DHTML_INSTALL_DIR=%{_kdedocdir} \
45         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
46         ..
47 %ninja_build
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 %ninja_install -C build
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %attr(755,root,root) %{_libdir}/qt5/plugins/blenderthumbnail.so
59 %attr(755,root,root) %{_libdir}/qt5/plugins/gsthumbnail.so
60 %attr(755,root,root) %{_libdir}/qt5/plugins/rawthumbnail.so
61 %{_datadir}/kservices5/blenderthumbnail.desktop
62 %{_datadir}/kservices5/gsthumbnail.desktop
63 %{_datadir}/kservices5/rawthumbnail.desktop
64 %{_datadir}/metainfo/org.kde.kdegraphics-thumbnailers.metainfo.xml
This page took 0.052927 seconds and 3 git commands to generate.