]> git.pld-linux.org Git - packages/ka5-kdegraphics-thumbnailers.git/commitdiff
- updated to 18.12.0
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 29 Dec 2018 16:06:53 +0000 (17:06 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sat, 29 Dec 2018 16:06:53 +0000 (17:06 +0100)
ka5-kdegraphics-thumbnailers.spec [new file with mode: 0644]

diff --git a/ka5-kdegraphics-thumbnailers.spec b/ka5-kdegraphics-thumbnailers.spec
new file mode 100644 (file)
index 0000000..bd1fb3a
--- /dev/null
@@ -0,0 +1,54 @@
+%define                kdeappsver      18.12.0
+%define                qtver           5.9.0
+%define                kaname          kdegraphics-thumbnailers
+Summary:       KDE graphics thumbnailers
+Name:          ka5-%{kaname}
+Version:       18.12.0
+Release:       1
+License:       GPL v2+/LGPL v2.1+
+Group:         X11/Libraries
+Source0:       http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 921bc1ad68c3a3f4b97423dac8651efb
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Gui-devel
+BuildRequires: cmake >= 2.8.12
+BuildRequires: ka5-libkdcraw-devel
+BuildRequires: ka5-libkexiv2-devel
+BuildRequires: kf5-kio-devel
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: zlib-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+These plugins allow KDE software to create thumbnails for several
+advanced graphic file formats (PS, RAW).
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/qt5/plugins/gsthumbnail.so
+%attr(755,root,root) %{_libdir}/qt5/plugins/rawthumbnail.so
+%{_datadir}/kservices5/gsthumbnail.desktop
+%{_datadir}/kservices5/rawthumbnail.desktop
This page took 0.069758 seconds and 4 git commands to generate.