Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
5c4e503c73
!35 【轻量级 PR】:fix bad date in changelog
From: @zhangshaoning_uniontech 
Reviewed-by: @technology208 
Signed-off-by: @technology208
2024-07-04 06:16:42 +00:00
张少宁
d9337b6457
fix bad date in changelog
Signed-off-by: 张少宁 <zhangshaoning@uniontech.com>
2024-06-14 10:16:40 +00:00
openeuler-ci-bot
541024148c
!34 fix rpath
From: @lwg99 
Reviewed-by: @open-bot 
Signed-off-by: @open-bot
2023-12-01 03:38:14 +00:00
lwg
295ab4de65 fix rpath 2023-12-01 11:26:10 +08:00
openeuler-ci-bot
e128b5e39a !8 Use python3-dogtail to replace python-dogtail
From: @ultra_planet
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-04-23 19:35:00 +08:00
wang_yue111
030e033210 Use python3-dogtail to replace python-dogtail 2021-04-23 16:49:57 +08:00
openeuler-ci-bot
29e4d8f134 !2 change eog-tests requires
Merge pull request !2 from gu-gu-gu/gu
2019-12-13 11:07:49 +08:00
gu-gu-gu
f3a4989b7c change eog-tests requires 2019-12-13 11:06:03 +08:00
openeuler-ci-bot
3a4c3ae20c !1 eog: openEuler init
Merge pull request !1 from gu-gu-gu/gu
2019-12-03 14:23:22 +08:00
gu-gu-gu
c4ecacb206 : openEuler init 2019-12-02 21:34:37 +08:00
2 changed files with 92 additions and 0 deletions

BIN
eog-3.28.4.tar.xz Normal file

Binary file not shown.

92
eog.spec Normal file
View File

@ -0,0 +1,92 @@
Name: eog
Version: 3.28.4
Release: 4
Summary: A GNOME Image Viewer
License: GPLv2+ and GFDL
URL: https://wiki.gnome.org/Apps/EyeOfGnome
Source0: http://download.gnome.org/sources/%{name}/3.28/%{name}-%{version}.tar.xz
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.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(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
GNOME Desktop.It has basic editing capabilites.
%package devel
Summary: developing plugins for the eog image viewer
Requires: %{name} = %{version}-%{release}
%description devel
Development files for eog.
%package tests
Summary: Usability test of the eog package
Requires: %{name} = %{version}-%{release}
Requires: python3-dogtail python3-behave
%description tests
The tests package can be used to verify the Usability of the eog package.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%meson -Dgtk_doc=true -Dinstalled_tests=true
%meson_build
%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
%{_datadir}/applications/eog.desktop
%{_datadir}/icons/hicolor/*/apps/*
%{_bindir}/*
%{_libdir}/eog
%{_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
%{_libdir}/pkgconfig/eog.pc
%{_datadir}/gtk-doc/
%files tests
%dir %{_libexecdir}/eog
%{_libexecdir}/eog/installed-tests/
%{_datadir}/installed-tests/
%changelog
* Fri Dec 01 2023 lwg <weigangli99@gmail.com> - 3.28.4-4
- fix rpath
* 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
- Pakcage init