From: @lwg99 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
This commit is contained in:
openeuler-ci-bot 2023-12-01 03:38:14 +00:00 committed by Gitee
commit 541024148c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: eog
Version: 3.28.4
Release: 3
Release: 4
Summary: A GNOME Image Viewer
License: GPLv2+ and GFDL
URL: https://wiki.gnome.org/Apps/EyeOfGnome
@ -10,6 +10,7 @@ BuildRequires: pkgconfig(exempi-2.0) pkgconfig(gdk-pixbuf-2.0) pkgconfig(glib-2.
BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gsettings-desktop-schemas) pkgconfig(gtk+-3.0) >= 3.22.0 pkgconfig(lcms2)
BuildRequires: pkgconfig(libexif) >= 0.6.14 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) desktop-file-utils gettext gtk-doc itstool libjpeg-devel meson zlib-devel libappstream-glib
BuildRequires: chrpath
%description
EOG is an application used for viewing and cataloging image files on the
@ -39,12 +40,25 @@ The tests package can be used to verify the Usability of the eog package.
%install
%meson_install
# fix rpath
chrpath -d %{buildroot}%{_bindir}/eog
chrpath -d %{buildroot}%{_libdir}/eog/plugins/*.so
chrpath -d %{buildroot}%{_libdir}/eog/libeog.so
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/eog" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%find_lang %{name} --with-gnome
%check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files -f %{name}.lang
%doc AUTHORS NEWS README COPYING
%{_datadir}/eog
@ -55,6 +69,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
%{_datadir}/GConf/gsettings/eog.convert
%{_datadir}/glib-2.0/schemas/*
%{_datadir}/metainfo/eog.appdata.xml
%config(noreplace) /etc/ld.so.conf.d/%{name}-%{_arch}.conf
%files devel
%{_includedir}/eog-3.0
@ -67,6 +82,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
%{_datadir}/installed-tests/
%changelog
* Fri Dec 01 2023 lwg <weigangli99@gmail.com> - 3.28.4-4
- fix rpath
* Fri 11 Sep 2020 wangyue<wangyue92@huawei.com> - 3.28.4-3
- Use python3-dogtail to replace python-dogtail