3cd2b4f5b1
ok OBS-URL: https://build.opensuse.org/request/show/47430 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/eog?expand=0&rev=81
131 lines
3.8 KiB
RPMSpec
131 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package eog (Version 2.31.91)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: eog
|
|
Version: 2.31.91
|
|
# FIXME: replace libexempi-devel BuildRequires with pkgconfig(exempi-2.0) once fixed exempi is in
|
|
Release: 1
|
|
License: GPLv2+ ; LGPLv2.1+
|
|
Summary: Eye of GNOME for the GNOME 2.x Desktop
|
|
Url: http://www.gnome.org/
|
|
Group: Productivity/Graphics/Viewers
|
|
Source: %{name}-%{version}.tar.bz2
|
|
BuildRequires: fdupes
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libexempi-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
BuildRequires: pkgconfig(gconf-2.0)
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gnome-desktop-2.0)
|
|
BuildRequires: pkgconfig(gnome-icon-theme)
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
BuildRequires: pkgconfig(lcms)
|
|
BuildRequires: pkgconfig(libexif)
|
|
BuildRequires: pkgconfig(librsvg-2.0)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(pygobject-2.0)
|
|
BuildRequires: pkgconfig(pygtk-2.0)
|
|
BuildRequires: pkgconfig(shared-mime-info)
|
|
Requires: %{name}-lang = %{version}
|
|
Provides: eog2 = %{version}
|
|
Obsoletes: eog2 < %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%gconf_schemas_prereq
|
|
%py_requires
|
|
|
|
%description
|
|
Eye of GNOME is a very fast picture viewer. It can be used as a plug-in
|
|
for Nautilus or as a stand-alone application. This version of EOG is
|
|
compiled for the GNOME 2.x Desktop.
|
|
|
|
%package devel
|
|
License: GPLv2+ ; LGPLv2.1+
|
|
Summary: Eye of GNOME for the GNOME 2.x Desktop
|
|
Group: Productivity/Graphics/Viewers
|
|
Requires: %{name} = %{version}
|
|
Requires: gconf2-devel
|
|
Requires: gtk2-devel
|
|
|
|
%description devel
|
|
Eye of GNOME is a very fast picture viewer. It can be used as a plug-in
|
|
for Nautilus or as a stand-alone application. This version of EOG is
|
|
compiled for the GNOME 2.x Desktop.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%configure\
|
|
--disable-schemas-install\
|
|
--disable-scrollkeeper
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%if 0%{?suse_version} <= 1120
|
|
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
|
|
%endif
|
|
%suse_update_desktop_file -r -N "Eye of Gnome" -G "Image Viewer" eog GNOME Graphics Viewer
|
|
%find_lang %{name}
|
|
%find_gconf_schemas
|
|
cat %{name}.schemas_list >%{name}.lst
|
|
%fdupes %{buildroot}
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%files -f %{name}.lst
|
|
%defattr (-, root, root)
|
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
%{_bindir}/*
|
|
%{_libdir}/eog
|
|
%{_datadir}/applications/eog.desktop
|
|
%{_datadir}/eog
|
|
%{_datadir}/icons/*/*/*/*.png
|
|
%{_datadir}/icons/*/*/*/*.svg
|
|
|
|
%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
|
|
%defattr (-, root, root)
|
|
%{_includedir}/eog-2.20
|
|
%{_libdir}/pkgconfig/eog.pc
|
|
%dir %{_datadir}/gtk-doc
|
|
%dir %{_datadir}/gtk-doc/html/
|
|
%{_datadir}/gtk-doc/html/eog
|
|
|
|
%changelog
|