129 lines
4.4 KiB
RPMSpec
129 lines
4.4 KiB
RPMSpec
%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
|
|
%global gdata_version 0.17.3
|
|
%global gfbgraph_version 0.2.1
|
|
%global grilo_version 0.3.5
|
|
|
|
Name: gnome-photos
|
|
Version: 42.0
|
|
Release: 1
|
|
Summary: Access, organize and share your photos on GNOME
|
|
License: GPLv3+ and LGPLv2+
|
|
URL: https://wiki.gnome.org/Apps/Photos
|
|
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc meson itstool libxslt docbook-style-xsl desktop-file-utils
|
|
BuildRequires: gettext >= %{gettext_version}
|
|
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: glib2-devel >= %{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(tracker-sparql-3.0)
|
|
BuildRequires: pkgconfig(grilo-0.3) >= %{grilo_version}
|
|
BuildRequires: pkgconfig(libgdata) >= %{gdata_version}
|
|
BuildRequires: pkgconfig(libgfbgraph-0.2) >= %{gfbgraph_version}
|
|
|
|
Requires: baobab
|
|
Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf_version}
|
|
Requires: gegl04%{?_isa} >= %{gegl_version}
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
Requires: gnome-settings-daemon
|
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
|
Requires: libdazzle%{?_isa} >= %{dazzle_version}
|
|
Requires: libgexiv2%{?_isa} >= %{gexiv2_version}
|
|
Requires: libhandy%{?_isa} >= %{handy_version}
|
|
Requires: tracker3-miners >= %{tracker_miners_version}
|
|
Requires: tracker3 >= %{tracker_miners_version}
|
|
Requires: dleyna-renderer
|
|
Requires: gfbgraph%{?_isa} >= %{gfbgraph_version}
|
|
Requires: gnome-online-miners >= 3.11.3
|
|
Requires: grilo%{?_isa} >= %{grilo_version}
|
|
Requires: libgdata%{?_isa} >= %{gdata_version}
|
|
|
|
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}
|
|
Requires: python3-dogtail
|
|
|
|
%description tests
|
|
This package contains the installable tests for %{name}.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson \
|
|
--buildtype=plain \
|
|
-Ddogtail=false \
|
|
-Dflatpak=true \
|
|
-Dinstalled_tests=true \
|
|
-Dmanuals=true
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Photos.desktop
|
|
|
|
%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
|
|
%{_datadir}/dbus-1/services/org.gnome.Photos.Tracker3.Miner.Extract.service
|
|
%{_datadir}/dbus-1/services/org.gnome.Photos.Tracker3.Miner.Files.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
|
|
%{_datadir}/man/man1/%{name}.1*
|
|
%{_datadir}/tracker3-miners/domain-ontologies/org.gnome.Photos.rule
|
|
%{_docdir}/%{name}
|
|
%{_libdir}/%{name}/libgnome-photos.so
|
|
%{_libexecdir}/%{name}-thumbnailer
|
|
|
|
%files tests
|
|
%{_libexecdir}/installed-tests/%{name}
|
|
%{_datadir}/installed-tests
|
|
|
|
%changelog
|
|
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.0-1
|
|
- Update to 42.0 Add gnome-photos.yaml
|
|
|
|
* Fri Sep 24 2021 Wenlong Ding <wenlong.ding@turbolinux.com.cn> - 40.0-1
|
|
- Update to 40
|
|
|
|
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.1-1
|
|
- Package init with version 3.38.1
|