%undefine __cmake_in_source_build # trim changelog included in binary rpms %global _changelog_trimtime %(date +%s -d "1 year ago") Summary: KDE Photo Album Name: kphotoalbum Version: 5.9.1 Release: 1%{?dist} # KDE e.V. may determine that future GPL versions are accepted License: (GPLv2 or GPLv3) and GFDL URL: http://kphotoalbum.org/ Source0: http://download.kde.org/stable/kphotoalbum/%{version}/kphotoalbum-%{version}.tar.xz ## upstream patches (lookaside cache) ## upstreamable patches BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: libappstream-glib BuildRequires: libjpeg-devel BuildRequires: pkgconfig(exiv2) BuildRequires: cmake(Qt5Network) BuildRequires: cmake(Qt5Sql) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5Xml) BuildRequires: pkgconfig(phonon4qt5) BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: cmake(KF5Archive) BuildRequires: cmake(KF5Completion) BuildRequires: cmake(KF5Config) BuildRequires: cmake(KF5CoreAddons) BuildRequires: cmake(KF5DocTools) BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5IconThemes) BuildRequires: cmake(KF5JobWidgets) BuildRequires: cmake(KF5KIO) BuildRequires: cmake(KF5TextWidgets) BuildRequires: cmake(KF5XmlGui) BuildRequires: cmake(KF5WidgetsAddons) BuildRequires: cmake(KF5Kipi) BuildRequires: cmake(KF5KDcraw) ## turns out this is not enabled by default (without ENABLE_PLAYGROUND=ON) #BuildRequires: cmake(KF5KFace) BuildRequires: cmake(KF5KGeoMap) %description A photo album tool. Focuses on three key points: * It must be easy to describe a number of images at a time. * It must be easy to search for images. * It must be easy to browse and View the images. %prep %autosetup -p1 %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang %{name} --with-html %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.kphotoalbum.*.xml desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.kphotoalbum.desktop desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.kphotoalbum-import.desktop desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.kphotoalbum.open-raw.desktop %files -f %{name}.lang %doc ChangeLog %license LICENSES/* %config(noreplace) %{_kf5_sysconfdir}/xdg/kphotoalbumrc %{_kf5_bindir}/kpa-backup.sh %{_kf5_bindir}/kphotoalbum %{_kf5_bindir}/open-raw.pl %{_kf5_bindir}/kpa-thumbnailtool %{_kf5_libdir}/libkpabase.so %{_kf5_libdir}/libkpathumbnails.so %{_kf5_libdir}/libkpaexif.so %{_kf5_datadir}/kphotoalbum/ %{_kf5_datadir}/kxmlgui5/kphotoalbum/ %{_kf5_metainfodir}/org.kde.kphotoalbum.*.xml %{_kf5_datadir}/applications/org.kde.kphotoalbum.desktop %{_kf5_datadir}/applications/org.kde.kphotoalbum-import.desktop %{_kf5_datadir}/applications/org.kde.kphotoalbum.open-raw.desktop %{_kf5_datadir}/icons/hicolor/*/*/* %changelog * Sun Sep 04 2022 Onuralp Sezer - 5.9.1-1 - Hotfix: KPhotoAlbum 5.9.1 (https://www.kphotoalbum.org//2022/09/06/hotfix-kphotoalbum-5.9.1/ * Sun Sep 04 2022 Onuralp Sezer - 5.9.0-1 - 5.9.0 * Tue Aug 09 2022 Onuralp Sezer - 5.8.1-1 - 5.8.1 * Thu Jul 21 2022 Fedora Release Engineering - 5.7.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 5.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 5.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 5.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Aug 09 2020 Marie Loise Nolden - 5.7.0-1 - 5.7.0 * Tue Jul 28 2020 Fedora Release Engineering - 5.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 12 2020 Marie Loise Nolden - 5.6.1-1 - 5.6.1 * Wed Jan 29 2020 Fedora Release Engineering - 5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jan 30 2019 Rex Dieter - 5.4-1 - 5.4, pull in exiv2 fixes from master branch * Wed Jan 30 2019 Rex Dieter - 5.3-2 - rebuild (exiv2) * Wed Jul 25 2018 Rex Dieter - 5.3-1 - kphotoalbum-5.3 - use %%make_build * Fri Jul 13 2018 Fedora Release Engineering - 5.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 5.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Igor Gnatenko - 5.2-6 - Remove obsolete scriptlets * Thu Aug 03 2017 Fedora Release Engineering - 5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 5.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue May 09 2017 Rex Dieter - 5.2-3 - trim changelog * Fri May 05 2017 Rex Dieter - 5.2-2 - libkface support unconditionally off (upstream doesn't enable by default) * Fri May 05 2017 Rex Dieter - 5.2-1 - kphotoalbum-5.2, disable libkface support on f26+ * Tue May 02 2017 Rex Dieter - 5.1-2 - rebuild (exiv2) * Mon Feb 20 2017 Rex Dieter - 5.1-1 - 5.1 (kf5-based) * Fri Feb 10 2017 Fedora Release Engineering - 4.7.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Sep 07 2016 Rex Dieter - 4.7.2-1 - 4.7.2 * Fri Apr 22 2016 Rex Dieter - 4.7.1-2 - disable libkface f25+ (#1246056) * Sat Mar 05 2016 Rex Dieter 4.7.1-1 - 4.7.1 * Thu Feb 04 2016 Fedora Release Engineering - 4.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Oct 13 2015 Rex Dieter 4.6.2-1 - 4.6.2 * Wed Jun 24 2015 Rex Dieter - 4.6.1-4 - rebuild (exiv2) * Wed Jun 17 2015 Fedora Release Engineering - 4.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Apr 19 2015 Rex Dieter 4.6.1-2 - drop (unused) marble dep (using libkgeomap now instead), use kde_runtime_requires macro * Wed Apr 15 2015 Rex Dieter 4.6.1-1 - 4.6.1 * Wed Dec 10 2014 Rex Dieter 4.5-4 - rebuild (marble) * Sun Aug 17 2014 Fedora Release Engineering - 4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Wed Aug 06 2014 Rex Dieter 4.5-2 - rebuild (kde-4.14) * Wed Jul 16 2014 Rex Dieter - 4.5-1 - kphotoalbum-4.5 - trim changelog - update License - improve scriptlets