Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37561050
en ru br
ALT Linux repositórios
S:45.0-alt1
5.0: 2.26.1-alt1
4.1: 2.22.1-alt1
4.0: 2.16.3-alt2

Group :: Gráficos
RPM: eog

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define oldname eog2
%define ver_major 2.26
%def_enable color_management

Name: eog
Version: %ver_major.1
Release: alt1

Summary: Eye Of Gnome
License: %gpl2plus
Group: Graphics
Url: http://www.gnome.org
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

Source: %gnome_ftp/%name/%ver_major/%name-%version.tar.bz2

Provides: %oldname = %version-%release
Obsoletes: %oldname < 2.14.2-alt1

%define rpm_ver 4.0.4-alt14
%define scrollkeeper_ver 0.3.14

PreReq: GConf2
PreReq: scrollkeeper >= %scrollkeeper_ver

BuildPreReq: rpm-build-gnome rpm-build-licenses
BuildPreReq: rpm >= %rpm_ver

# From configure.in

BuildPreReq: gnome-common
BuildPreReq: intltool >= 0.40.0
BuildPreReq: gnome-doc-utils >= 0.3.2
BuildPreReq: libgtk+2-devel >= 2.13.1
BuildPreReq: gtk-doc
BuildPreReq: libgio-devel glib2-devel >= 2.15.3
BuildPreReq: libGConf-devel >= 2.5.90
BuildPreReq: libart_lgpl-devel >= 2.3.16
BuildPreReq: libglade-devel >= 2.3.6
BuildPreReq: libgnome-desktop-devel >= 2.25.1
BuildPreReq: gnome-icon-theme >= 2.19.1
BuildPreReq: shared-mime-info >= 0.20
BuildPreReq: libexempi-devel >= 1.99.5
BuildPreReq: libexif-devel >= 0.6.14
%{?_enable_color_management:BuildPreReq: liblcms-devel}
BuildPreReq: libjpeg-devel
BuildPreReq: libdbus-glib-devel >= 0.71
# For Python bindings
BuildPreReq: python-module-pygobject-devel >= 2.11.5
BuildPreReq: python-module-pygtk-devel >= 2.9.7
BuildPreReq: python-module-pygnome-devel >= 2.18.2

BuildRequires: libXt-devel perl-XML-Parser scrollkeeper zlib-devel

%description
This is the Eye of GNOME, an image viewer program. It is meant to be
a fast and functional image viewer as well as an image cataloging
program.

%package devel
Summary: Development files for EOG viewer
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description devel
This package contains files necessary to develop plugins for Eye of GNOME.

%prep
%setup -q
rm -f m4/libtool.m4 m4/lt*.m4

subst 's/libgnomeui-2.0 //
s/gnome-vfs-2.0, //' data/eog.pc.in

%build
gtkdocize
%autoreconf
export "LDFLAGS=$LDFLAGS -lxml2"
%configure \
   --with-libexif \
   %{?_enable_color_management:--with-cms} \
   --with-xmp \
   --with-libjpeg \
   --with-dbus \
   --enable-python \
   --disable-schemas-install --disable-scrollkeeper

%make_build

%install
%makeinstall

#%%gconf2_stripschemas

%find_lang --with-gnome %name

%post
%gconf2_install %name

%preun
if [ $1 = 0 ]; then
%gconf2_uninstall %name
fi

%files -f %name.lang
%_bindir/*
%_desktopdir/*
%_datadir/%name
%dir %_libdir/%name
%dir %_libdir/%name/plugins/
%_libdir/%name/plugins/*.so
%_libdir/%name/plugins/*-plugin
%_iconsdir/hicolor/*/apps/%name.*
%config %gconf_schemasdir/*
%doc AUTHORS ChangeLog HACKING MAINTAINERS NEWS
%doc README THANKS TODO

%files devel
%dir %_includedir/%name-2.20
%dir %_includedir/%name-2.20/%name
%_includedir/%name-2.20/%name/*.h
%_pkgconfigdir/%name.pc
%_datadir/gtk-doc/html/*

%exclude %_iconsdir/hicolor/icon-theme.cache
%exclude %_libdir/%name/plugins/*.la

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009