2022-04-15 11:02:06 +08:00
|
|
|
%global gtk3_version 3.24.15
|
|
|
|
|
%global glib2_version 2.53.4
|
|
|
|
|
%global gnome_desktop_version 2.91.2
|
|
|
|
|
%global libexif_version 0.6.14
|
|
|
|
|
%global libhandy_version 1.5.0
|
|
|
|
|
|
2019-12-02 21:34:37 +08:00
|
|
|
Name: eog
|
2023-01-31 15:46:12 +08:00
|
|
|
Version: 43.1
|
2021-06-11 17:25:27 +08:00
|
|
|
Release: 1
|
2019-12-02 21:34:37 +08:00
|
|
|
Summary: A GNOME Image Viewer
|
2022-06-09 10:57:39 +08:00
|
|
|
License: GPLv2+
|
2019-12-02 21:34:37 +08:00
|
|
|
URL: https://wiki.gnome.org/Apps/EyeOfGnome
|
2023-01-31 15:46:12 +08:00
|
|
|
Source0: https://download.gnome.org/sources/%{name}/43/%{name}-%{version}.tar.xz
|
2022-04-15 11:02:06 +08:00
|
|
|
|
|
|
|
|
BuildRequires: pkgconfig(exempi-2.0) pkgconfig(gdk-pixbuf-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
|
|
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
|
|
|
|
BuildRequires: pkgconfig(libexif) >= %{libexif_version}
|
|
|
|
|
BuildRequires: pkgconfig(libhandy-1) >= %{libhandy_version}
|
|
|
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gsettings-desktop-schemas) pkgconfig(lcms2)
|
|
|
|
|
BuildRequires: pkgconfig(libpeas-1.0) >= 0.7.4 pkgconfig(libpeas-gtk-1.0) >= 0.7.4 pkgconfig(librsvg-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(shared-mime-info) pkgconfig(x11)
|
2023-01-31 15:46:12 +08:00
|
|
|
BuildRequires: desktop-file-utils gettext itstool libjpeg-devel meson zlib-devel libappstream-glib gi-docgen
|
2021-06-11 17:25:27 +08:00
|
|
|
#BuildRequires: pkgconfig(libportal)
|
2019-12-02 21:34:37 +08:00
|
|
|
|
2022-04-15 11:02:06 +08:00
|
|
|
Requires: gsettings-desktop-schemas
|
|
|
|
|
Requires: glib2 >= %{glib2_version}
|
|
|
|
|
Requires: gtk3 >= %{gtk3_version}
|
|
|
|
|
Requires: libhandy%{?_isa} >= %{libhandy_version}
|
|
|
|
|
Provides: bundled(libjpeg)
|
|
|
|
|
|
2019-12-02 21:34:37 +08:00
|
|
|
%description
|
|
|
|
|
EOG is an application used for viewing and cataloging image files on the
|
|
|
|
|
GNOME Desktop.It has basic editing capabilites.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: developing plugins for the eog image viewer
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
2022-04-15 11:02:06 +08:00
|
|
|
Requires: python3-dogtail python3-behave
|
2019-12-02 21:34:37 +08:00
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development files for eog.
|
2022-04-15 11:02:06 +08:00
|
|
|
verify the Usability of the eog package.
|
2019-12-02 21:34:37 +08:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
2022-04-15 11:02:06 +08:00
|
|
|
%meson \
|
|
|
|
|
-Dgtk_doc=true \
|
|
|
|
|
-Dinstalled_tests=true \
|
|
|
|
|
-Dlibportal=false
|
2019-12-02 21:34:37 +08:00
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
2022-04-15 11:02:06 +08:00
|
|
|
|
2019-12-02 21:34:37 +08:00
|
|
|
%find_lang %{name} --with-gnome
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
2021-06-11 17:25:27 +08:00
|
|
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.eog.desktop
|
2019-12-02 21:34:37 +08:00
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2022-04-15 11:02:06 +08:00
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
|
%license COPYING
|
2019-12-02 21:34:37 +08:00
|
|
|
%{_datadir}/eog
|
2021-06-11 17:25:27 +08:00
|
|
|
%{_datadir}/applications/org.gnome.eog.desktop
|
2019-12-02 21:34:37 +08:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_libdir}/eog
|
|
|
|
|
%{_datadir}/GConf/gsettings/eog.convert
|
2022-04-15 11:02:06 +08:00
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.eog.enums.xml
|
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.eog.gschema.xml
|
2019-12-02 21:34:37 +08:00
|
|
|
%{_datadir}/metainfo/eog.appdata.xml
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/eog-3.0
|
|
|
|
|
%{_libdir}/pkgconfig/eog.pc
|
|
|
|
|
%{_datadir}/gtk-doc/
|
|
|
|
|
%{_libexecdir}/eog/installed-tests/
|
|
|
|
|
%{_datadir}/installed-tests/
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-01-31 15:46:12 +08:00
|
|
|
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.1-1
|
|
|
|
|
- Update to 43.1 for gnome 43
|
|
|
|
|
|
2022-06-09 10:57:39 +08:00
|
|
|
* Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.2-1
|
|
|
|
|
- Update to 42.2
|
|
|
|
|
|
2022-06-08 04:46:17 +00:00
|
|
|
* Mon Mar 28 2022 dillon chen <dillon.chen@gmail.com> - 42.0-1
|
2022-04-15 11:02:06 +08:00
|
|
|
- Update to 42.0
|
|
|
|
|
|
2021-06-11 17:25:27 +08:00
|
|
|
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.3-1
|
|
|
|
|
- Upgrade to 3.38.3
|
|
|
|
|
- Update Version, Release, Source0, BuildRequires
|
|
|
|
|
- Temporaryly disable libportal, because there isn't in cunrrent community
|
|
|
|
|
|
|
|
|
|
* Fri Sep 11 2020 wangyue<wangyue92@huawei.com> - 3.28.4-3
|
2020-09-11 18:34:14 +08:00
|
|
|
- Use python3-dogtail to replace python-dogtail
|
|
|
|
|
|
2019-12-02 21:34:37 +08:00
|
|
|
* Fri Nov 22 2019 gulining<gulining1@huawei.com> - 3.28.4-2
|
|
|
|
|
- Pakcage init
|