Accepting request 60731 from home:vuntz:branches:GNOME:Factory
Forwarding to openSUSE:Factory OBS-URL: https://build.opensuse.org/request/show/60731 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/eog?expand=0&rev=90
This commit is contained in:
parent
cf32d34d84
commit
97aeae4466
14
eog.changes
14
eog.changes
@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 13 12:44:59 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Call relevant macros in %post/%postun:
|
||||||
|
+ %desktop_database_post/postun because the package ships at
|
||||||
|
least one desktop file.
|
||||||
|
+ %icon_theme_cache_post/postun because the package ships themed
|
||||||
|
icons.
|
||||||
|
- Pass %{?no_lang_C} to %find_lang so that english documentation
|
||||||
|
can be packaged with the program, and not in the lang subpackage.
|
||||||
|
- Change Requires of lang subpackage to Recommends, since the
|
||||||
|
english documentation is not there anymore.
|
||||||
|
- Remove 2.x references in summaries and descriptions.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 16 09:19:34 CET 2010 - dimstar@opensuse.org
|
Tue Nov 16 09:19:34 CET 2010 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
40
eog.spec
40
eog.spec
@ -22,7 +22,7 @@ Version: 2.32.1
|
|||||||
Release: 1
|
Release: 1
|
||||||
# FIXME: replace libexempi-devel BuildRequires with pkgconfig(exempi-2.0) once fixed exempi is in
|
# FIXME: replace libexempi-devel BuildRequires with pkgconfig(exempi-2.0) once fixed exempi is in
|
||||||
License: GPLv2+ ; LGPLv2.1+
|
License: GPLv2+ ; LGPLv2.1+
|
||||||
Summary: Eye of GNOME for the GNOME 2.x Desktop
|
Summary: Image Viewer for GNOME
|
||||||
Url: http://www.gnome.org/
|
Url: http://www.gnome.org/
|
||||||
Group: Productivity/Graphics/Viewers
|
Group: Productivity/Graphics/Viewers
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
@ -47,7 +47,7 @@ BuildRequires: pkgconfig(libxml-2.0)
|
|||||||
BuildRequires: pkgconfig(pygobject-2.0)
|
BuildRequires: pkgconfig(pygobject-2.0)
|
||||||
BuildRequires: pkgconfig(pygtk-2.0)
|
BuildRequires: pkgconfig(pygtk-2.0)
|
||||||
BuildRequires: pkgconfig(shared-mime-info)
|
BuildRequires: pkgconfig(shared-mime-info)
|
||||||
Requires: %{name}-lang = %{version}
|
Recommends: %{name}-lang
|
||||||
Provides: eog2 = %{version}
|
Provides: eog2 = %{version}
|
||||||
Obsoletes: eog2 < %{version}
|
Obsoletes: eog2 < %{version}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -55,22 +55,20 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
%py_requires
|
%py_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Eye of GNOME is a very fast picture viewer. It can be used as a plug-in
|
Eye of GNOME is an image viewer program. It is meant to be a fast and
|
||||||
for Nautilus or as a stand-alone application. This version of EOG is
|
functional image viewer.
|
||||||
compiled for the GNOME 2.x Desktop.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
License: GPLv2+ ; LGPLv2.1+
|
License: GPLv2+ ; LGPLv2.1+
|
||||||
Summary: Eye of GNOME for the GNOME 2.x Desktop
|
Summary: Image Viewer for GNOME
|
||||||
Group: Productivity/Graphics/Viewers
|
Group: Productivity/Graphics/Viewers
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Requires: gconf2-devel
|
Requires: gconf2-devel
|
||||||
Requires: gtk2-devel
|
Requires: gtk2-devel
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Eye of GNOME is a very fast picture viewer. It can be used as a plug-in
|
Eye of GNOME is an image viewer program. It is meant to be a fast and
|
||||||
for Nautilus or as a stand-alone application. This version of EOG is
|
functional image viewer.
|
||||||
compiled for the GNOME 2.x Desktop.
|
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
@ -89,9 +87,8 @@ make %{?jobs:-j%jobs}
|
|||||||
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
||||||
%endif
|
%endif
|
||||||
%suse_update_desktop_file -r -N "Eye of Gnome" -G "Image Viewer" eog GNOME Graphics Viewer
|
%suse_update_desktop_file -r -N "Eye of Gnome" -G "Image Viewer" eog GNOME Graphics Viewer
|
||||||
%find_lang %{name}
|
%find_lang %{name} %{?no_lang_C}
|
||||||
%find_gconf_schemas
|
%find_gconf_schemas
|
||||||
cat %{name}.schemas_list >%{name}.lst
|
|
||||||
%fdupes %{buildroot}
|
%fdupes %{buildroot}
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -99,13 +96,28 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%pre -f %{name}.schemas_pre
|
%pre -f %{name}.schemas_pre
|
||||||
|
|
||||||
|
%post
|
||||||
|
%desktop_database_post
|
||||||
|
%icon_theme_cache_post
|
||||||
|
|
||||||
%posttrans -f %{name}.schemas_posttrans
|
%posttrans -f %{name}.schemas_posttrans
|
||||||
|
|
||||||
%preun -f %{name}.schemas_preun
|
%preun -f %{name}.schemas_preun
|
||||||
|
|
||||||
%files -f %{name}.lst
|
%postun
|
||||||
|
%desktop_database_postun
|
||||||
|
%icon_theme_cache_postun
|
||||||
|
|
||||||
|
%files -f %{name}.schemas_list
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
|
%dir %{_datadir}/gnome/
|
||||||
|
%dir %{_datadir}/gnome/help/
|
||||||
|
%dir %{_datadir}/gnome/help/%{name}/
|
||||||
|
%doc %{_datadir}/gnome/help/%{name}/C/
|
||||||
|
%dir %{_datadir}/omf/
|
||||||
|
%dir %{_datadir}/omf/%{name}/
|
||||||
|
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_libdir}/eog
|
%{_libdir}/eog
|
||||||
%{_datadir}/applications/eog.desktop
|
%{_datadir}/applications/eog.desktop
|
||||||
@ -114,10 +126,6 @@ rm -rf %{buildroot}
|
|||||||
%{_datadir}/icons/*/*/*/*.svg
|
%{_datadir}/icons/*/*/*/*.svg
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
# Temporary workaround to not depend on libgnome: own the directories
|
|
||||||
%defattr (-, root, root)
|
|
||||||
%dir %{_datadir}/gnome
|
|
||||||
%dir %{_datadir}/gnome/help
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
|
Loading…
Reference in New Issue
Block a user