Name: gwenview Summary: An image viewer Epoch: 1 Version: 17.12.3 Release: 2%{?dist} # app: GPLv2+ # lib: IJG and (LGPLv2 or LGPLv3 or LGPLv3+ (KDE e.V.)) and LGPLv2+ and GPLv2+ License: GPLv2+ URL: https://www.kde.org/applications/graphics/gwenview/ %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz %global majmin_ver %(echo %{version} | cut -d. -f1,2) ## upstreamable patches BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gettext BuildRequires: kf5-rpm-macros BuildRequires: kf5-baloo-devel BuildRequires: kf5-kactivities-devel buildRequires: kf5-kdelibs4support-devel BuildRequires: kf5-kio-devel #if "%{?copr_projectname}" == "digikam" BuildRequires: kf5-libkdcraw-devel >= %{majmin_ver} BuildRequires: kf5-libkipi-devel >= %{majmin_ver} #endif BuildRequires: libappstream-glib BuildRequires: libjpeg-devel BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(phonon4qt5) BuildRequires: pkgconfig(Qt5DBus) pkgconfig(Qt5Widgets) pkgconfig(Qt5Script) pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Concurrent) pkgconfig(Qt5Svg) pkgconfig(Qt5OpenGL) BuildRequires: pkgconfig(Qt5X11Extras) Requires: %{name}-libs%{?_isa} = %{epoch}:%{version}-%{release} # support for more formats, e.g. jp2, tiff, webp Requires: qt5-qtimageformats%{?_isa} # eps, etc... Requires: kf5-kimageformats%{?_isa} # when split occurred Conflicts: kdegraphics < 7:4.6.95-10 # translations moved here Conflicts: kde-l10n < 17.03 %description %{summary}. %package libs Summary: Runtime files for %{name} # wrt (LGPLv2 or LGPLv3), KDE e.V. may determine that future GPL versions are accepted License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3 Requires: %{name} = %{epoch}:%{version}-%{release} %description libs %{summary}. %prep %autosetup -p1 %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-html %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.gwenview.appdata.xml desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.gwenview.desktop %files -f %{name}.lang %license COPYING %{_kf5_bindir}/gwenview %{_kf5_bindir}/gwenview_importer %{_kf5_datadir}/applications/org.kde.gwenview.desktop %{_kf5_metainfodir}/org.kde.gwenview.appdata.xml %{_kf5_datadir}/icons/hicolor/*/*/* %{_kf5_datadir}/gwenview/ %{_kf5_datadir}/kservices5/ServiceMenus/slideshow.desktop %{_kf5_datadir}/solid/actions/gwenview_importer*.desktop %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files libs %{_kf5_libdir}/libgwenviewlib.so.* %{_kf5_qtplugindir}/gvpart.so %{_kf5_datadir}/kxmlgui5/gvpart/ %{_kf5_datadir}/kservices5/gvpart.desktop %changelog * Tue Mar 06 2018 Rex Dieter - 1:17.12.3-1 - 17.12.3 * Thu Feb 08 2018 Rex Dieter - 1:17.12.2-1 - 17.12.2 * Wed Feb 07 2018 Fedora Release Engineering - 1:17.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Rex Dieter - 1:17.12.1-1 - 17.12.1 * Thu Jan 11 2018 Igor Gnatenko - 1:17.12.0-2 - Remove obsolete scriptlets * Thu Dec 28 2017 Rex Dieter - 1:17.12.0-1 - 17.12.0 * Wed Nov 08 2017 Rex Dieter - 1:17.08.3-1 - 17.08.3 * Wed Oct 11 2017 Rex Dieter - 1:17.08.2-1 - 17.08.2 * Thu Sep 28 2017 Rex Dieter - 1:17.08.1-1 - 17.08.1 * Thu Aug 03 2017 Rex Dieter - 1:17.04.3-1 - 17.04.3 * Wed Aug 02 2017 Fedora Release Engineering - 1:17.04.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1:17.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 15 2017 Rex Dieter - 1:17.04.2-1 - 17.04.2 * Mon May 15 2017 Fedora Release Engineering - 1:17.04.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild * Thu May 11 2017 Rex Dieter - 1:17.04.1-1 - 17.04.1 * Fri May 05 2017 Rex Dieter - 1:17.04.0-1 - 17.04.0 * Tue May 02 2017 Rex Dieter - 1:16.12.3-3 - rebuild (exiv2) * Wed Mar 22 2017 Rex Dieter - 2:16.12.3-2 - Recommends: kf5-kimageformats * Thu Mar 09 2017 Rex Dieter - 1:16.12.3-1 - 16.12.3 * Thu Feb 09 2017 Rex Dieter - 1:16.12.2-1 - 16.12.2 * Thu Jan 12 2017 Rex Dieter - 1:16.12.1-1 - 16.12.1, update URL * Mon Dec 05 2016 Rex Dieter - 1:16.08.3-1 - 16.08.3 * Thu Oct 13 2016 Rex Dieter - 1:16.08.2-1 - 16.08.2 * Wed Sep 07 2016 Rex Dieter - 1:16.08.1-1 - 16.08.1 * Sat Aug 13 2016 Rex Dieter - 1:16.08.0-1 - 16.08.0 * Fri Aug 12 2016 Rex Dieter - 1:16.07.90-2 - Recommends: qt5-qtimageformats * Sat Aug 06 2016 Rex Dieter - 1:16.07.90-1 - 16.07.90 * Sat Jul 30 2016 Rex Dieter - 1:16.07.80-1 - 16.07.80 * Sun Jul 10 2016 Rex Dieter - 1:16.04.3-1 - 16.04.3 * Sun Jun 12 2016 Rex Dieter - 1:16.04.2-1 - 16.04.2 * Sun May 08 2016 Rex Dieter - 1:16.04.1-1 - 16.04.1 * Fri Apr 15 2016 Rex Dieter - 1:16.04.0-1 - 16.04.0 * Thu Apr 14 2016 Rex Dieter - 1:16.03.80-1 - 16.03.80 * Tue Mar 15 2016 Rex Dieter - 1:15.12.3-1 - 15.12.3 * Mon Feb 15 2016 Rex Dieter - 1:15.12.2-1 - 15.12.2 * Wed Feb 03 2016 Fedora Release Engineering - 1:15.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Jan 30 2016 Rex Dieter - 1:15.12.1-1 - 15.12.1 * Wed Dec 30 2015 Rex Dieter 15.12.0-1 - 15.12.0 * Thu Nov 12 2015 Rex Dieter - 1:15.08.3-1 - 15.08.3 - epoch: 1 (to match epoch introduced in f23 branch) - fix appdata - move all gvpart bits to -libs * Thu Aug 20 2015 Than Ngo - 15.08.0-1 - 15.08.0 * Wed Jun 24 2015 Rex Dieter - 15.04.2-3 - rebuild (exiv2) * Wed Jun 17 2015 Fedora Release Engineering - 15.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 10 2015 Rex Dieter - 15.04.2-1 - 15.04.2 * Wed May 27 2015 Rex Dieter - 15.04.1-1 - 15.04.1 * Wed Apr 15 2015 Rex Dieter - 15.04.0-1 - 15.04.0 * Sat Jan 17 2015 Rex Dieter 4.14.3-4 - kde-applications fixes, cleanup * Wed Nov 26 2014 Rex Dieter 4.14.3-3 - drop libjpeg-turbo workaround * Mon Nov 17 2014 Rex Dieter - 4.14.3-2 - fix/workaround FTBFS against new libjpeg-turbo (#1163476) - use %%find_lang * Sat Nov 08 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Fri Nov 07 2014 Rex Dieter 4.14.2-2 - pull in appdata from upstream master/ branch * Sun Oct 12 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sat Aug 16 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Tue Jul 15 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sat Jun 07 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Fri Apr 04 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sat Mar 22 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Wed Mar 19 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sun Mar 02 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Tue Dec 03 2013 Rex Dieter - 4.11.97-2 - rebuild (exiv2) * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Sat Nov 16 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Wed Sep 04 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Thu Aug 08 2013 Than Ngo - 4.11.0-1 - 4.11.0 * Thu Jul 25 2013 Rex Dieter - 4.10.97-1 - 4.10.97 * Tue Jul 23 2013 Rex Dieter - 4.10.95-1 - 4.10.95 * Fri Jun 28 2013 Rex Dieter - 4.10.90-1 - 4.10.90 * Sat Jun 01 2013 Rex Dieter - 4.10.4-1 - 4.10.4 * Mon May 06 2013 Than Ngo - 4.10.3-1 - 4.10.3 * Sun Mar 31 2013 Rex Dieter - 4.10.2-1 - 4.10.2 * Sat Mar 02 2013 Rex Dieter - 4.10.1-1 - 4.10.1 * Fri Feb 01 2013 Rex Dieter - 4.10.0-1 - 4.10.0 * Tue Jan 22 2013 Rex Dieter - 4.9.98-1 - 4.9.98 * Fri Jan 18 2013 Adam Tkac - 4.9.97-2 - rebuild due to "jpeg8-ABI" feature drop * Fri Jan 04 2013 Rex Dieter - 4.9.97-1 - 4.9.97 * Thu Dec 20 2012 Rex Dieter - 4.9.95-1 - 4.9.95 * Tue Dec 04 2012 Rex Dieter - 4.9.90-1 - 4.9.90 * Mon Dec 03 2012 Than Ngo - 4.9.4-1 - 4.9.4 * Sat Nov 03 2012 Rex Dieter - 4.9.3-1 - 4.9.3 * Wed Oct 24 2012 Rex Dieter 4.9.2-2 - rebuild (libjpeg-turbo v8) * Sat Sep 29 2012 Rex Dieter - 4.9.2-1 - 4.9.2 * Fri Sep 21 2012 Alexey Kurov - 4.9.1-2 - rebuild (libkipi) * Mon Sep 03 2012 Than Ngo - 4.9.1-1 - 4.9.1 * Mon Aug 6 2012 Lukas Tinkl - 4.9.0-2 - stop the thumbnailing when Gwenview exits; This is important as it blocks unmounting of flash drives * Thu Jul 26 2012 Lukas Tinkl - 4.9.0-1 - 4.9.0 * Thu Jul 19 2012 Fedora Release Engineering - 4.8.97-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jul 11 2012 Rex Dieter - 4.8.97-1 - 4.8.97 * Wed Jun 27 2012 Jaroslav Reznik - 4.8.95-1 - 4.8.95 * Sat Jun 09 2012 Rex Dieter - 4.8.90-1 - 4.8.90 * Fri Jun 01 2012 Jaroslav Reznik - 4.8.80-1 - 4.8.80 * Wed May 02 2012 Rex Dieter - 4.8.3-2 - rebuild (exiv2) * Mon Apr 30 2012 Jaroslav Reznik - 4.8.3-1 - 4.8.3 * Fri Mar 30 2012 Rex Dieter - 4.8.2-1 - 4.8.2 * Mon Mar 12 2012 Rex Dieter 4.8.1-2 - gvpart fixes (#784683,kde#292394) * Mon Mar 05 2012 Jaroslav Reznik - 4.8.1-1 - 4.8.1 * Sun Jan 22 2012 Rex Dieter - 4.8.0-1 - 4.8.0 * Wed Jan 04 2012 Rex Dieter 4.7.97-1 - 4.7.97 * Wed Dec 21 2011 Radek Novacek - 4.7.95-1 - 4.7.95 * Sun Dec 04 2011 Rex Dieter - 4.7.90-1 - 4.7.90 * Fri Nov 25 2011 Rex Dieter 4.7.80-1 - 4.7.80 * Sat Oct 29 2011 Rex Dieter 4.7.3-1 - 4.7.3 * Fri Oct 14 2011 Rex Dieter - 4.7.2-2 - rebuild (exiv2) * Wed Oct 05 2011 Rex Dieter 4.7.2-1 - 4.7.2 * Wed Sep 14 2011 Radek Novacek - 4.7.1-2 - Make BR: kdebase4-devel versioned * Fri Sep 02 2011 Than Ngo - 4.7.1-1 - 4.7.1 * Tue Jul 26 2011 Jaroslav Reznik 4.7.0-1 - 4.7.0 * Mon Jul 18 2011 Rex Dieter 4.6.95-2 - License: GPLv2+ - -libs: License: IJG and LGPLv2+ and GPLv2+ and LGPLv2 or LGPLv3 - %%postun: +update-desktop-database * Mon Jul 11 2011 Rex Dieter 4.6.95-1 - 4.6.95 - update URL * Wed Jul 06 2011 Rex Dieter 4.6.90-2 - fix Source0 URL - Conflicts: kdegraphics < 7:4.6.90-10 * Tue Jul 05 2011 Rex Dieter 4.6.90-1 - first try