|
|
|
@ -1,70 +1,66 @@
|
|
|
|
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
|
|
|
|
%global major_version %%(echo %%{tarball_version} | cut -d. -f1)
|
|
|
|
|
|
|
|
|
|
%global cairo_version 1.14.0
|
|
|
|
|
%global gdata_version 0.15.2
|
|
|
|
|
%global gdk_pixbuf_version 2.32.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 glib2_version 2.44.0
|
|
|
|
|
%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 tracker_version 2.0.3
|
|
|
|
|
%global tracker_miners_version 2.0.4
|
|
|
|
|
%global handy_version 1.1.90
|
|
|
|
|
%global tracker_miners_version 3.0.0
|
|
|
|
|
|
|
|
|
|
Name: gnome-photos
|
|
|
|
|
Version: 3.28.1
|
|
|
|
|
Version: 40.0
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: Access, organize and share your photos on GNOME
|
|
|
|
|
|
|
|
|
|
# GNOME Photos itself is GPLv3+, but the egg-* files and the
|
|
|
|
|
# bundled libgd are LGPLv2+
|
|
|
|
|
# GNOME Photos itself is GPLv3+, but the bundled libgd is LGPLv2+
|
|
|
|
|
License: GPLv3+ and LGPLv2+
|
|
|
|
|
URL: https://wiki.gnome.org/Apps/Photos
|
|
|
|
|
Source0: http://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1605184
|
|
|
|
|
Patch0: gnome-photos-Build-against-gegl04.patch
|
|
|
|
|
Source0: http://download.gnome.org/sources/%{name}/%{major_version}/%{name}-%{tarball_version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1612779
|
|
|
|
|
Patch1: gnome-photos-Add-a-manual.patch
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1913641
|
|
|
|
|
Patch0: 0001-Remove-Facebook-Flickr-and-Google-support.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: autoconf automake gettext-devel libtool yelp-tools
|
|
|
|
|
BuildRequires: pkgconfig(babl)
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
|
BuildRequires: docbook-style-xsl
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext >= %{gettext_version}
|
|
|
|
|
BuildRequires: itstool
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: pkgconfig(babl)
|
|
|
|
|
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-1.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(grilo-0.3)
|
|
|
|
|
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
|
|
|
|
BuildRequires: itstool
|
|
|
|
|
BuildRequires: pkgconfig(libdazzle-1.0)
|
|
|
|
|
BuildRequires: pkgconfig(libgdata) >= %{gdata_version}
|
|
|
|
|
BuildRequires: pkgconfig(gexiv2)
|
|
|
|
|
BuildRequires: libjpeg-turbo-devel
|
|
|
|
|
BuildRequires: libxslt
|
|
|
|
|
BuildRequires: pkgconfig(tracker-control-2.0) >= %{tracker_version}
|
|
|
|
|
BuildRequires: pkgconfig(tracker-sparql-2.0) >= %{tracker_version}
|
|
|
|
|
BuildRequires: pkgconfig(libgfbgraph-0.2)
|
|
|
|
|
BuildRequires: pkgconfig(geocode-glib-1.0)
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: pkgconfig(libdazzle-1.0) >= %{dazzle_version}
|
|
|
|
|
BuildRequires: pkgconfig(libhandy-1) >= %{handy_version}
|
|
|
|
|
BuildRequires: pkgconfig(libjpeg)
|
|
|
|
|
BuildRequires: pkgconfig(tracker-sparql-3.0)
|
|
|
|
|
|
|
|
|
|
Requires: baobab
|
|
|
|
|
Requires: dleyna-renderer
|
|
|
|
|
Requires: gdk-pixbuf2%{?isa} >= %{gdk_pixbuf_version}
|
|
|
|
|
Requires: gegl04%{?_isa} >= %{gegl_version}
|
|
|
|
|
Requires: gettext-libs%{?isa} >= %{gettext_version}
|
|
|
|
|
Requires: gnome-online-miners >= 3.11.3
|
|
|
|
|
Requires: glib2%{?isa} >= %{glib2_version}
|
|
|
|
|
Requires: gnome-settings-daemon
|
|
|
|
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
|
|
|
|
Requires: libgdata%{?_isa} >= %{gdata_version}
|
|
|
|
|
Requires: tracker >= %{tracker_version}
|
|
|
|
|
Requires: tracker-miners >= %{tracker_miners_version}
|
|
|
|
|
Requires: libdazzle%{?isa} >= %{dazzle_version}
|
|
|
|
|
Requires: libgexiv2%{?_isa} >= %{gexiv2_version}
|
|
|
|
|
Requires: libhandy1%{?_isa} >= %{handy_version}
|
|
|
|
|
Requires: tracker3-miners >= %{tracker_miners_version}
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
@ -73,10 +69,10 @@ Provides: bundled(libgd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
A simple application to access, organize and share your photos on
|
|
|
|
|
GNOME. It is meant to be a simple and elegant replacement for using a
|
|
|
|
|
file manager to deal with photos. Seamless cloud integration is offered
|
|
|
|
|
through GNOME Online Accounts.
|
|
|
|
|
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
|
|
|
|
@ -87,21 +83,26 @@ This package contains the installable tests for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
|
|
|
|
|
pathfix.py -i %{__python3} -n tests/basic.py
|
|
|
|
|
autoreconf -i -f
|
|
|
|
|
%autosetup -p1 -n %{name}-%{tarball_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --enable-installed-tests --disable-silent-rules
|
|
|
|
|
%make_build
|
|
|
|
|
%meson \
|
|
|
|
|
--buildtype=plain \
|
|
|
|
|
-Ddogtail=false \
|
|
|
|
|
%if 0%{?flatpak}
|
|
|
|
|
-Dflatpak=true \
|
|
|
|
|
%else
|
|
|
|
|
-Dflatpak=false \
|
|
|
|
|
%endif
|
|
|
|
|
-Dinstalled_tests=true \
|
|
|
|
|
-Dmanuals=true \
|
|
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%make_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
|
|
|
|
@ -109,51 +110,169 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Photos.desk
|
|
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%license COPYING
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%{_datadir}/metainfo/org.gnome.Photos.appdata.xml
|
|
|
|
|
%{_datadir}/applications/org.gnome.Photos.desktop
|
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Photos.service
|
|
|
|
|
|
|
|
|
|
%if 0%{?flatpak}
|
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Photos.Tracker3.Miner.Extract.service
|
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.Photos.Tracker3.Miner.Files.service
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.photos.gschema.xml
|
|
|
|
|
%{_datadir}/gnome-shell/
|
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Photos.png
|
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Photos-symbolic.svg
|
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Photos.svg
|
|
|
|
|
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Photos-symbolic.svg
|
|
|
|
|
%{_datadir}/man/man1/%{name}.1*
|
|
|
|
|
|
|
|
|
|
%if 0%{?flatpak}
|
|
|
|
|
%{_datadir}/tracker3-miners/domain-ontologies/org.gnome.Photos.rule
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%{_docdir}/%{name}
|
|
|
|
|
|
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
|
%{_libdir}/%{name}/libgnome-photos.so
|
|
|
|
|
|
|
|
|
|
%{_libexecdir}/%{name}-thumbnailer
|
|
|
|
|
|
|
|
|
|
%files tests
|
|
|
|
|
%{_libexecdir}/installed-tests/Photos
|
|
|
|
|
%{_libexecdir}/installed-tests/%{name}
|
|
|
|
|
%{_datadir}/installed-tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Nov 11 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.28.1-4
|
|
|
|
|
- Add a manual
|
|
|
|
|
Resolves: #1612779
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Tue Feb 11 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.28.1-3
|
|
|
|
|
- Disable Python 2 during the build - itstool doesn't need it anymore
|
|
|
|
|
Resolves: #1597806
|
|
|
|
|
* Fri Apr 23 2021 Debarshi Ray <rishi@fedoraproject.org> - 40.0-3
|
|
|
|
|
- Add gcc to BuildRequires
|
|
|
|
|
- Remove Facebook, Flickr and Google support
|
|
|
|
|
Resolves: #1913641
|
|
|
|
|
|
|
|
|
|
* Mon Dec 17 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-2
|
|
|
|
|
- rebuild
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-2
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Sep 05 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.28.1-1
|
|
|
|
|
- Update to 3.28.1
|
|
|
|
|
* Thu Mar 25 2021 Kalev Lember <klember@redhat.com> - 40.0-1
|
|
|
|
|
- Update to 40.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 26 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.28.0-4
|
|
|
|
|
- Build against gegl04
|
|
|
|
|
Resolves: #1605184
|
|
|
|
|
* Mon Mar 22 2021 Debarshi Ray <rishi@fedoraproject.org> - 40~rc-3
|
|
|
|
|
- The gnome-online-miners package won't be part of RHEL 9
|
|
|
|
|
|
|
|
|
|
* Tue Jul 03 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.28.0-3
|
|
|
|
|
- Drop the run-time requirement on ImageMagick
|
|
|
|
|
- Enable Python 2 during the build for itstool
|
|
|
|
|
Resolves: #1564997
|
|
|
|
|
* Fri Mar 19 2021 Debarshi Ray <rishi@fedoraproject.org> - 40~rc-2
|
|
|
|
|
- Update to 40.rc
|
|
|
|
|
|
|
|
|
|
* Fri Mar 12 2021 Debarshi Ray <rishi@fedoraproject.org> - 40~beta-2
|
|
|
|
|
- Unbreak Flatpak builds on hosts without Tracker 3
|
|
|
|
|
|
|
|
|
|
* Fri Mar 12 2021 Debarshi Ray <rishi@fedoraproject.org> - 40~beta-1
|
|
|
|
|
- Update to 40.beta
|
|
|
|
|
|
|
|
|
|
* Tue Feb 16 2021 Debarshi Ray <rishi@fedoraproject.org> - 3.38.1-1
|
|
|
|
|
- Update to 3.38.1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.0-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 14 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.38.0-2
|
|
|
|
|
- Remove python3-dogtail from Requires on RHEL 9
|
|
|
|
|
|
|
|
|
|
* Wed Sep 23 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.38.0-1
|
|
|
|
|
- Update to 3.38.0
|
|
|
|
|
|
|
|
|
|
* Mon Aug 24 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.37.91.1-1
|
|
|
|
|
- Update to 3.37.91.1
|
|
|
|
|
|
|
|
|
|
* Thu Jun 14 2018 Petr Viktorin <pviktori@redhat.com> - 3.28.0-2
|
|
|
|
|
- Change shebang for a test script to Python 3
|
|
|
|
|
* Mon Aug 24 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.37.91-1
|
|
|
|
|
- Update to 3.37.91
|
|
|
|
|
|
|
|
|
|
* Tue Aug 11 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.37.2-4
|
|
|
|
|
- The dLeyna stack won't be part of RHEL 9
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.37.2-3
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.37.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 22 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.37.2-1
|
|
|
|
|
- Update to 3.37.2
|
|
|
|
|
|
|
|
|
|
* Wed May 20 2020 Debarshi Ray <rishi@fedoraproject.org> - 3.34.2-1
|
|
|
|
|
- Update to 3.34.2
|
|
|
|
|
|
|
|
|
|
* Thu Feb 13 2020 Kalev Lember <klember@redhat.com> - 3.34.1-1
|
|
|
|
|
- Update to 3.34.1
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Sep 11 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
|
|
|
|
|
- Update to 3.34.0
|
|
|
|
|
|
|
|
|
|
* Tue Aug 20 2019 Debarshi Ray <rishi@fedoraproject.org> - 3.33.91-1
|
|
|
|
|
- Update to 3.33.91
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.32.0-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Mar 18 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
|
|
|
|
|
- Update to 3.32.0
|
|
|
|
|
|
|
|
|
|
* Thu Feb 21 2019 Debarshi Ray <rishi@fedoraproject.org> - 3.31.91-1
|
|
|
|
|
- Update to 3.31.91
|
|
|
|
|
|
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 17 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.31.3-2
|
|
|
|
|
- Update dependencies
|
|
|
|
|
|
|
|
|
|
* Sun Dec 16 2018 Phil Wyett <philwyett@kathenas.org> - 3.31.3-1
|
|
|
|
|
- Update to 3.31.3
|
|
|
|
|
|
|
|
|
|
* Thu Nov 15 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.31.2-1
|
|
|
|
|
- Update to 3.31.2
|
|
|
|
|
|
|
|
|
|
* Sat Oct 13 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.31.1-2
|
|
|
|
|
- Build without git-core
|
|
|
|
|
|
|
|
|
|
* Sat Oct 13 2018 Debarshi Ray <rishi@fedoraproject.org> - 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 <rishi@fedoraproject.org> - 3.30.1-1
|
|
|
|
|
- Update to 3.30.1
|
|
|
|
|
|
|
|
|
|
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
|
|
|
|
|
- Update to 3.30.0
|
|
|
|
|
|
|
|
|
|
* Mon Sep 03 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.29.92-1
|
|
|
|
|
- Update to 3.29.92
|
|
|
|
|
|
|
|
|
|
* Tue Aug 14 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.29.91-1
|
|
|
|
|
- Update to 3.29.91
|
|
|
|
|
|
|
|
|
|
* Thu Aug 09 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.29.4-2
|
|
|
|
|
- Remove Requires: gettext-libs - it is extraneous
|
|
|
|
|
|
|
|
|
|
* Wed Jul 18 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.29.4-1
|
|
|
|
|
- Update to 3.29.4
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.29.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jun 22 2018 Debarshi Ray <rishi@fedoraproject.org> - 3.29.3-1
|
|
|
|
|
- Update to 3.29.3
|
|
|
|
|
- Drop the run-time requirement on ImageMagick
|
|
|
|
|
|
|
|
|
|
* Thu Mar 15 2018 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
|
|
|
|
- Update to 3.28.0
|
|
|
|
|