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