## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global tarball_version %%(echo %{version} | tr '~' '.') %global major_version %%(echo %%{tarball_version} | cut -d. -f1) %global __provides_exclude_from ^%{_libdir}/%{name}/.*\\.so.*$ %global __requires_exclude ^libgnome-photos\\.so.*$ %global cairo_version 1.14.0 %global dazzle_version 3.26.0 %global gdk_pixbuf_version 2.36.8 %global gegl_version 0.4.0 %global gettext_version 0.19.8 %global gexiv2_version 0.10.8 %global glib2_version 2.62.0 %global goa_version 3.8.0 %global gtk3_version 3.22.16 %global handy_version 1.1.90 %global tracker_miners_version 3.0.0 Name: gnome-photos Version: 44.0 Release: %autorelease Summary: Access, organize and share your photos on GNOME # GNOME Photos itself is GPLv3+, but the bundled libgd is LGPLv2+ License: GPL-3.0-or-later AND LGPL-2.1-or-later URL: https://wiki.gnome.org/Apps/Photos Source0: https://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz Patch1: 0001-wip-item-manager-Handle-collection-COLUMNS_URNs-with.patch BuildRequires: /usr/bin/appstream-util BuildRequires: desktop-file-utils BuildRequires: docbook-style-xsl BuildRequires: gcc BuildRequires: gettext >= %{gettext_version} BuildRequires: itstool BuildRequires: libxslt BuildRequires: meson BuildRequires: pkgconfig(babl-0.1) BuildRequires: pkgconfig(cairo) >= %{cairo_version} BuildRequires: pkgconfig(cairo-gobject) >= %{cairo_version} BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf_version} BuildRequires: pkgconfig(gegl-0.4) >= %{gegl_version} BuildRequires: pkgconfig(geocode-glib-2.0) BuildRequires: pkgconfig(gexiv2) >= %{gexiv2_version} BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} BuildRequires: pkgconfig(gobject-2.0) >= %{glib2_version} BuildRequires: pkgconfig(goa-1.0) >= %{goa_version} BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} BuildRequires: pkgconfig(libdazzle-1.0) >= %{dazzle_version} BuildRequires: pkgconfig(libhandy-1) >= %{handy_version} BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libportal) BuildRequires: pkgconfig(libportal-gtk3) BuildRequires: pkgconfig(tracker-sparql-3.0) Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf_version} Requires: gegl04%{?_isa} >= %{gegl_version} Requires: glib2%{?_isa} >= %{glib2_version} Requires: gtk3%{?_isa} >= %{gtk3_version} Requires: libdazzle%{?_isa} >= %{dazzle_version} Requires: libgexiv2%{?_isa} >= %{gexiv2_version} Requires: libhandy%{?_isa} >= %{handy_version} Requires: tracker-miners >= %{tracker_miners_version} # These are started/contacted over D-Bus Recommends: baobab Recommends: gnome-settings-daemon %if 0%{?fedora} || 0%{?rhel} < 9 Recommends: dleyna-renderer %endif # libgd is not meant to be installed as a system-wide shared library. # It is just a way for GNOME applications to share widgets and other common # code on an ad-hoc basis. Provides: bundled(libgd) %description Access, organize and share your photos on GNOME. A simple and elegant replacement for using a file manager to deal with photos. Enhance, crop and edit in a snap. Seamless cloud integration is offered through GNOME Online Accounts. %package tests Summary: Tests for %{name} %if 0%{?fedora} || 0%{?rhel} < 9 Requires: python3-dogtail %endif %description tests This package contains the installable tests for %{name}. %prep %autosetup -p1 -n %{name}-%{tarball_version} %build # never enable -Dflatpak=true, the files it installs are meant to be provided # by a flatpak build of tracker-miners %meson \ --buildtype=plain \ %if 0%{?fedora} || 0%{?rhel} < 9 -Ddogtail=true \ %else -Ddogtail=false \ %endif -Dflatpak=false \ -Dinstalled_tests=true \ -Dmanuals=true \ %meson_build %install %meson_install # Upstream doesn't install with desktop-file-install, so let's check desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Photos.desktop appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/*.appdata.xml %find_lang %{name} --with-gnome %files -f %{name}.lang %license COPYING %{_bindir}/%{name} %{_datadir}/applications/org.gnome.Photos.desktop %{_datadir}/dbus-1/services/org.gnome.Photos.service %{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml %{_datadir}/gnome-shell/ %{_datadir}/icons/hicolor/scalable/apps/org.gnome.Photos.svg %{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Photos-symbolic.svg %{_docdir}/%{name} %dir %{_libdir}/%{name} %{_libdir}/%{name}/libgnome-photos.so %{_libexecdir}/%{name}-thumbnailer %{_mandir}/man1/%{name}.1* %{_metainfodir}/org.gnome.Photos.appdata.xml %files tests %{_libexecdir}/installed-tests/%{name} %{_datadir}/installed-tests %changelog * Wed Jul 19 2023 Fedora Release Engineering - 44.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Mar 30 2023 David King - 44.0-1 - Update to 44.0 * Thu Feb 16 2023 Yaakov Selkowitz - 43.0-4 - Fix flatpak build * Fri Feb 10 2023 David King - 43.0-3 - Improve tracker-miners dependency * Thu Jan 19 2023 Fedora Release Engineering - 43.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Sep 20 2022 Kalev Lember - 43.0-1 - Update to 43.0 * Thu Aug 11 2022 Kalev Lember - 43~beta-2 - Backport upstream patch to drop flickr plugin (#2117520) - Drop RHEL-specific 0001-Remove-Facebook-Flickr-and-Google-support.patch * Tue Aug 09 2022 Kalev Lember - 43~beta-1 - Update to 43.beta * Thu Jul 21 2022 Fedora Release Engineering - 42.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 18 2022 Michael Catanzaro - 42.0-5 - Remove dependency on gnome-online-miners * Thu Jun 16 2022 David King - 42.0-3 - Filter private library from Provides * Tue May 03 2022 Ray Strode - 42.0-2 - Add workaround for albumn display problems Related: #2079344 * Sat Mar 19 2022 David King - 42.0-1 - Update to 42.0 * Tue Mar 01 2022 Debarshi Ray - 40.0-6 - Fix typos - it's %%{_isa}, not %%{isa} * Thu Jan 20 2022 Fedora Release Engineering - 40.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Oct 07 2021 Kalev Lember - 40.0-4 - Add missing gcc BuildRequires * Thu Jul 22 2021 Fedora Release Engineering - 40.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Apr 24 2021 Debarshi Ray - 40.0-2 - Remove Facebook, Flickr and Google support from RHEL >= 9 * Thu Mar 25 2021 Kalev Lember - 40.0-1 - Update to 40.0 * Mon Mar 22 2021 Debarshi Ray - 40~rc-3 - The gnome-online-miners package won't be part of RHEL 9 * Fri Mar 19 2021 Debarshi Ray - 40~rc-2 - Update to 40.rc * Fri Mar 12 2021 Debarshi Ray - 40~beta-2 - Unbreak Flatpak builds on hosts without Tracker 3 * Fri Mar 12 2021 Debarshi Ray - 40~beta-1 - Update to 40.beta * Tue Feb 16 2021 Debarshi Ray - 3.38.1-1 - Update to 3.38.1 * Tue Jan 26 2021 Fedora Release Engineering - 3.38.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 14 2020 Debarshi Ray - 3.38.0-2 - Remove python3-dogtail from Requires on RHEL 9 * Wed Sep 23 2020 Debarshi Ray - 3.38.0-1 - Update to 3.38.0 * Mon Aug 24 2020 Debarshi Ray - 3.37.91.1-1 - Update to 3.37.91.1 * Mon Aug 24 2020 Debarshi Ray - 3.37.91-1 - Update to 3.37.91 * Tue Aug 11 2020 Debarshi Ray - 3.37.2-4 - The dLeyna stack won't be part of RHEL 9 * Sat Aug 01 2020 Fedora Release Engineering - 3.37.2-3 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 3.37.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri May 22 2020 Debarshi Ray - 3.37.2-1 - Update to 3.37.2 * Wed May 20 2020 Debarshi Ray - 3.34.2-1 - Update to 3.34.2 * Thu Feb 13 2020 Kalev Lember - 3.34.1-1 - Update to 3.34.1 * Tue Jan 28 2020 Fedora Release Engineering - 3.34.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 11 2019 Kalev Lember - 3.34.0-1 - Update to 3.34.0 * Tue Aug 20 2019 Debarshi Ray - 3.33.91-1 - Update to 3.33.91 * Thu Jul 25 2019 Fedora Release Engineering - 3.32.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Mar 18 2019 Kalev Lember - 3.32.0-1 - Update to 3.32.0 * Thu Feb 21 2019 Debarshi Ray - 3.31.91-1 - Update to 3.31.91 * Thu Jan 31 2019 Fedora Release Engineering - 3.31.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Dec 17 2018 Debarshi Ray - 3.31.3-2 - Update dependencies * Sun Dec 16 2018 Phil Wyett - 3.31.3-1 - Update to 3.31.3 * Thu Nov 15 2018 Debarshi Ray - 3.31.2-1 - Update to 3.31.2 * Sat Oct 13 2018 Debarshi Ray - 3.31.1-2 - Build without git-core * Sat Oct 13 2018 Debarshi Ray - 3.31.1-1 - Update to 3.31.1 - Switch to the Meson build system - Add %%license - Switch to %%autosetup - Update dependencies * Thu Sep 27 2018 Debarshi Ray - 3.30.1-1 - Update to 3.30.1 * Thu Sep 06 2018 Kalev Lember - 3.30.0-1 - Update to 3.30.0 * Mon Sep 03 2018 Debarshi Ray - 3.29.92-1 - Update to 3.29.92 * Tue Aug 14 2018 Debarshi Ray - 3.29.91-1 - Update to 3.29.91 * Thu Aug 09 2018 Debarshi Ray - 3.29.4-2 - Remove Requires: gettext-libs - it is extraneous * Wed Jul 18 2018 Debarshi Ray - 3.29.4-1 - Update to 3.29.4 * Fri Jul 13 2018 Fedora Release Engineering - 3.29.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Jun 22 2018 Debarshi Ray - 3.29.3-1 - Update to 3.29.3 - Drop the run-time requirement on ImageMagick * Thu Mar 15 2018 Kalev Lember - 3.28.0-1 - Update to 3.28.0 * Wed Mar 07 2018 Debarshi Ray - 3.27.92-1 - Update to 3.27.92 * Mon Feb 19 2018 Debarshi Ray - 3.27.90-1 - Update to 3.27.90 * Wed Feb 07 2018 Fedora Release Engineering - 3.27.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 12 2018 Debarshi Ray - 3.27.4-1 - Update to 3.27.4 * Thu Jan 11 2018 Igor Gnatenko - 3.27.3-2 - Remove obsolete scriptlets * Wed Dec 13 2017 Debarshi Ray - 3.27.3-1 - Update to 3.27.3 * Tue Oct 24 2017 Debarshi Ray - 3.27.1-1 - Update to 3.27.1 * Sun Oct 08 2017 Kalev Lember - 3.26.1-1 - Update to 3.26.1 * Tue Sep 19 2017 Debarshi Ray - 3.26.0-2 - Add run-time dependency on tracker-miners * Wed Sep 13 2017 Kalev Lember - 3.26.0-1 - Update to 3.26.0 * Tue Sep 05 2017 Debarshi Ray - 3.25.92-1 - Update to 3.25.92 * Wed Aug 23 2017 Debarshi Ray - 3.25.91-1 - Update to 3.25.91 * Wed Aug 02 2017 Fedora Release Engineering - 3.25.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 3.25.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Wed Jul 19 2017 Debarshi Ray - 3.25.4-1 - Update to 3.25.4 * Wed Jun 21 2017 Debarshi Ray - 3.25.3-1 - Update to 3.25.3 * Wed May 10 2017 Debarshi Ray - 3.25.1-1 - Update to 3.25.1 * Tue Apr 11 2017 Kalev Lember - 3.24.1-1 - Update to 3.24.1 * Tue Mar 21 2017 Kalev Lember - 3.24.0-1 - Update to 3.24.0 * Tue Mar 14 2017 Debarshi Ray - 3.23.92-1 - Update to 3.23.92 * Fri Mar 03 2017 Debarshi Ray - 3.23.91-1 - Update to 3.23.91 * Mon Feb 20 2017 Debarshi Ray - 3.23.90-1 - Update to 3.23.90 * Mon Feb 13 2017 Richard Hughes - 3.23.4-1 - Update to 3.23.4 * Fri Feb 10 2017 Fedora Release Engineering - 3.23.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Dec 01 2016 Kalev Lember - 3.23.2-1 - Update to 3.23.2 * Wed Nov 23 2016 Kalev Lember - 3.22.2-1 - Update to 3.22.2 * Thu Oct 06 2016 Debarshi Ray - 3.22.1-1 - Update to 3.22.1 - Use --disable-silent-rules * Mon Sep 19 2016 Kalev Lember - 3.22.0-1 - Update to 3.22.0 * Mon Sep 12 2016 Debarshi Ray - 3.21.92-1 - Update to 3.21.92 - Use make_build macro - Update minimum required versions; use pkgconfig(...) for BRs * Sat Sep 03 2016 Kalev Lember - 3.21.91-1 - Update to 3.21.91 * Mon Aug 22 2016 Kalev Lember - 3.21.90-1 - Update to 3.21.90 * Wed Jul 20 2016 Richard Hughes - 3.21.4-1 - Update to 3.21.4 * Wed Jun 22 2016 Richard Hughes - 3.21.3-1 - Update to 3.21.3 * Tue May 03 2016 Kalev Lember - 3.21.1-1 - Update to 3.21.1 * Wed Apr 13 2016 Kalev Lember - 3.20.1-1 - Update to 3.20.1 * Tue Mar 22 2016 Kalev Lember - 3.20.0-1 - Update to 3.20.0 * Wed Mar 16 2016 Kalev Lember - 3.19.92-1 - Update to 3.19.92 * Fri Mar 04 2016 Richard Hughes - 3.19.91-1 - Update to 3.19.91 * Thu Feb 18 2016 Richard Hughes - 3.19.90-1 - Update to 3.19.90 * Wed Feb 03 2016 Fedora Release Engineering - 3.19.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jan 29 2016 Debarshi Ray - 3.19.4-2 - Use upstreamed screenshots * Wed Jan 20 2016 Kalev Lember - 3.19.4-1 - Update to 3.19.4 * Fri Dec 18 2015 Kalev Lember - 3.19.3-2 - Build with grilo 0.3 * Wed Dec 16 2015 Kalev Lember - 3.19.3-1 - Update to 3.19.3 - Build with grilo 0.2 - Define minimum gegl version - Use make_install macro * Tue Dec 08 2015 Debarshi Ray - 3.19.2-1 - Update to 3.19.2 * Tue Nov 10 2015 Kalev Lember - 3.18.2-1 - Update to 3.18.2 * Mon Oct 12 2015 Kalev Lember - 3.18.1-1 - Update to 3.18.1 * Tue Sep 22 2015 Kalev Lember - 3.18.0-1 - Update to 3.18.0 * Wed Jul 22 2015 David King - 3.17.2-3 - Bump for new gnome-desktop3 * Wed Jun 17 2015 Fedora Release Engineering - 3.17.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri May 29 2015 Debarshi Ray - 3.17.2-1 - Update to 3.17.2 * Wed May 13 2015 Debarshi Ray - 3.16.2-1 - Update to 3.16.2 * Mon Apr 27 2015 David King - 3.16.0-3 - Rebuild for libgdata soname bump * Mon Mar 30 2015 Richard Hughes - 3.16.0-2 - Use better AppData screenshots * Mon Mar 23 2015 Kalev Lember - 3.16.0-1 - Update to 3.16.0 * Fri Mar 13 2015 Kalev Lember - 3.15.91-1 - Update to 3.15.91 * Wed Feb 25 2015 Richard Hughes - 3.15.90-1 - Update to 3.15.90 * Thu Jan 22 2015 Richard Hughes - 3.15.4-1 - Update to 3.15.4 * Fri Dec 19 2014 Richard Hughes - 3.15.3-1 - Update to 3.15.3 * Sat Nov 29 2014 Kalev Lember - 3.15.2-1 - Update to 3.15.2 * Wed Nov 12 2014 Vadim Rutkovsky - 3.14.2-2 - Build installed tests * Mon Nov 10 2014 Kalev Lember - 3.14.2-1 - Update to 3.14.2 * Wed Sep 24 2014 Kalev Lember - 3.14.0-1 - Update to 3.14.0 - Set minimum required versions for libgdata and gtk3 * Wed Sep 17 2014 Kalev Lember - 3.13.92-1 - Update to 3.13.92 * Fri Sep 05 2014 Kalev Lember - 3.13.91-1 - Update to 3.13.91 - Include HighContrast icons * Sat Aug 16 2014 Fedora Release Engineering - 3.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Thu Jul 24 2014 Kalev Lember - 3.13.4-1 - Update to 3.13.4 * Sat Jun 07 2014 Fedora Release Engineering - 3.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed Apr 16 2014 Kalev Lember - 3.12.1-1 - Update to 3.12.1 - Include help files * Mon Mar 24 2014 Richard Hughes - 3.12.0-1 - Update to 3.12.0 * Tue Mar 18 2014 Richard Hughes - 3.11.92-1 - Update to 3.11.92 * Sat Mar 08 2014 Richard Hughes - 3.11.91-1 - Update to 3.11.91 * Thu Feb 20 2014 Kalev Lember - 3.11.90-1 - Update to 3.11.90 * Wed Feb 19 2014 Richard Hughes - 3.11.5-2 - Rebuilt for gnome-desktop soname bump * Thu Feb 06 2014 Kalev Lember - 3.11.5-1 - Update to 3.11.5 * Wed Jan 15 2014 Richard Hughes - 3.11.4-1 - Update to 3.11.4 * Tue Dec 17 2013 Richard Hughes - 3.11.3-1 - Update to 3.11.3 * Mon Nov 25 2013 Richard Hughes - 3.11.2-1 - Update to 3.11.2 * Thu Nov 14 2013 Richard Hughes - 3.10.2-1 - Update to 3.10.2 * Tue Oct 29 2013 Richard Hughes - 3.10.1-1 - Update to 3.10.1 * Wed Sep 25 2013 Richard Hughes - 3.10.0-1 - Update to 3.10.0 * Wed Sep 18 2013 Kalev Lember - 3.9.92-1 - Update to 3.9.92 - Include the appdata file * Wed Sep 04 2013 Kalev Lember - 3.9.91-1 - Update to 3.9.91 * Thu Aug 22 2013 Kalev Lember - 3.9.90-1 - Update to 3.9.90 * Sun Aug 04 2013 Debarshi Ray - 3.9.5.1-1 - Update to 3.9.5.1 * Sat Aug 03 2013 Fedora Release Engineering - 3.9.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Jul 16 2013 Debarshi Ray - 3.9.4-1 - Update to 3.9.4 * Tue May 14 2013 Richard Hughes - 3.8.2-1 - Update to 3.8.2 * Mon Apr 15 2013 Richard Hughes - 3.8.0-1 - Update to 3.8.0 - Drop upstreamed packages - Fix BRs * Thu Feb 21 2013 Kalev Lember - 3.7.3-6 - Rebuilt for cogl soname bump * Wed Feb 20 2013 Kalev Lember - 3.7.3-5 - Rebuilt for libgnome-desktop soname bump * Mon Jan 28 2013 Matthias Clasen - 3.7.3-4 - Rebuild for new tracker * Fri Jan 25 2013 Peter Robinson 3.7.3-3 - Rebuild for new cogl * Fri Dec 21 2012 Kalev Lember - 3.7.3-2 - Rebuilt for libgnome-desktop-3 3.7.3 soname bump * Wed Dec 19 2012 Debarshi Ray - 3.7.3-1 - Update to 3.7.3 * Sat Dec 01 2012 Mathieu Bridon - 3.7.2-4 * Fix based on Ivan's review feedback: - Add a comment on the multi-licensing situation * Thu Nov 29 2012 Mathieu Bridon - 3.7.2-3 * Fixes based on Ivan's review feedback: - Fix the upstream URL - Fix the License tag - Preserve timestamps when installing * Sun Nov 25 2012 Mathieu Bridon - 3.7.2-2 * Fixes based on Debarshi's review feedback: - Fix build requirement on gdk-pixbuf2-devel - Add missing Provides on the bundled libgd * Sun Nov 18 2012 Mathieu Bridon - 3.7.2-1 - Initial package for Fedora.