Compare commits

..

No commits in common. "c404ab1174e332fe4bb1af603e46ec820edc0729" and "5daf17a555b25a085a48bb6cc5b0f69fb7fa68ab" have entirely different histories.

3 changed files with 10 additions and 39 deletions

BIN
eog-3.28.4.tar.xz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,15 @@
Name: eog Name: eog
Version: 3.38.3 Version: 3.28.4
Release: 4 Release: 2
Summary: A GNOME Image Viewer Summary: A GNOME Image Viewer
License: GPLv2+ and GFDL-1.1-or-later License: GPLv2+ and GFDL
URL: https://wiki.gnome.org/Apps/EyeOfGnome URL: https://wiki.gnome.org/Apps/EyeOfGnome
Source0: http://download.gnome.org/sources/%{name}/3.38/%{name}-%{version}.tar.xz Source0: http://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
Requires: gsettings-desktop-schemas glib2 >= 2.53.0 gtk3 >= 3.22.0 Requires: gsettings-desktop-schemas glib2 >= 2.42.0 gtk3 >= 3.22.0
BuildRequires: pkgconfig(exempi-2.0) pkgconfig(gdk-pixbuf-2.0) pkgconfig(glib-2.0) >= 2.53.0 pkgconfig(gnome-desktop-3.0) >= 2.91.2 BuildRequires: pkgconfig(exempi-2.0) pkgconfig(gdk-pixbuf-2.0) pkgconfig(glib-2.0) >= 2.42.0 pkgconfig(gnome-desktop-3.0) >= 2.91.2
BuildRequires: pkgconfig(gobject-introspection-1.0) pkgconfig(gsettings-desktop-schemas) pkgconfig(gtk+-3.0) >= 3.22.0 pkgconfig(lcms2) 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(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: pkgconfig(shared-mime-info) pkgconfig(x11) desktop-file-utils gettext gtk-doc itstool libjpeg-devel meson zlib-devel libappstream-glib
BuildRequires: chrpath
#BuildRequires: pkgconfig(libportal)
%description %description
EOG is an application used for viewing and cataloging image files on the EOG is an application used for viewing and cataloging image files on the
@ -27,7 +25,7 @@ Development files for eog.
%package tests %package tests
Summary: Usability test of the eog package Summary: Usability test of the eog package
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: python3-dogtail python3-behave Requires: dogtail python3-behave
%description tests %description tests
The tests package can be used to verify the Usability of the eog package. The tests package can be used to verify the Usability of the eog package.
@ -36,37 +34,27 @@ The tests package can be used to verify the Usability of the eog package.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%meson -Dgtk_doc=true -Dinstalled_tests=true -Dlibportal=false %meson -Dgtk_doc=true -Dinstalled_tests=true
%meson_build %meson_build
%install %install
%meson_install %meson_install
%find_lang %{name} --with-gnome %find_lang %{name} --with-gnome
chrpath -d %{buildroot}/%{_bindir}/%{name}
mkdir -p %{buildroot}/etc/ld.so.conf.d
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%check %check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.eog.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
%files -f %{name}.lang %files -f %{name}.lang
%doc AUTHORS NEWS README COPYING %doc AUTHORS NEWS README COPYING
%{_datadir}/eog %{_datadir}/eog
%{_datadir}/applications/org.gnome.eog.desktop %{_datadir}/applications/eog.desktop
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%{_bindir}/* %{_bindir}/*
%{_libdir}/eog %{_libdir}/eog
%{_datadir}/GConf/gsettings/eog.convert %{_datadir}/GConf/gsettings/eog.convert
%{_datadir}/glib-2.0/schemas/* %{_datadir}/glib-2.0/schemas/*
%{_datadir}/metainfo/eog.appdata.xml %{_datadir}/metainfo/eog.appdata.xml
%config(noreplace) /etc/ld.so.conf.d/*
%files devel %files devel
%{_includedir}/eog-3.0 %{_includedir}/eog-3.0
@ -79,22 +67,5 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.eog.deskto
%{_datadir}/installed-tests/ %{_datadir}/installed-tests/
%changelog %changelog
* Mon May 16 2022 loong_C <loong_c@yeah.net> - 3.38.3-4
- update eog.spec
* Tue Jan 11 2022 yangping <yangping69@huawei.com> - 3.38.3-3
- fix chrpath command not found
* Thu Sep 9 2021 caodongxia <caodongxia@huawei.com> - 3.38.3-2
- Remove rpath
* 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
- Use python3-dogtail to replace python-dogtail
* Fri Nov 22 2019 gulining<gulining1@huawei.com> - 3.28.4-2 * Fri Nov 22 2019 gulining<gulining1@huawei.com> - 3.28.4-2
- Pakcage init - Pakcage init