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