fix rpath
This commit is contained in:
parent
e128b5e39a
commit
295ab4de65
20
eog.spec
20
eog.spec
@ -1,6 +1,6 @@
|
|||||||
Name: eog
|
Name: eog
|
||||||
Version: 3.28.4
|
Version: 3.28.4
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: A GNOME Image Viewer
|
Summary: A GNOME Image Viewer
|
||||||
License: GPLv2+ and GFDL
|
License: GPLv2+ and GFDL
|
||||||
URL: https://wiki.gnome.org/Apps/EyeOfGnome
|
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(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
|
||||||
|
|
||||||
%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
|
||||||
@ -39,12 +40,25 @@ The tests package can be used to verify the Usability of the eog package.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_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
|
%find_lang %{name} --with-gnome
|
||||||
|
|
||||||
%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/eog.desktop
|
desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
|
||||||
|
|
||||||
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS NEWS README COPYING
|
%doc AUTHORS NEWS README COPYING
|
||||||
%{_datadir}/eog
|
%{_datadir}/eog
|
||||||
@ -55,6 +69,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
|
|||||||
%{_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/%{name}-%{_arch}.conf
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/eog-3.0
|
%{_includedir}/eog-3.0
|
||||||
@ -67,6 +82,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/eog.desktop
|
|||||||
%{_datadir}/installed-tests/
|
%{_datadir}/installed-tests/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri 11 Sep 2020 wangyue<wangyue92@huawei.com> - 3.28.4-3
|
||||||
- Use python3-dogtail to replace python-dogtail
|
- Use python3-dogtail to replace python-dogtail
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user