Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37566907
en ru br
ALT Linux repositórios
S:3.50.0-alt1
5.0: 2.26.1.1-alt1
4.1: 2.22.3-alt0.M41.1
4.0: 2.8.3-alt3
3.0: 2.2.3-alt1.1

Group :: Escritórios
RPM: evolution

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 2.2
%define ver_base 2.2
%def_disable pilot

Name: evolution
Version: %ver_major.3
Release: alt1.1

Summary: Integrated GNOME mail client, calendar and address book
License: GPL
Group: Office
Url: http://www.gnome.org/projects/%name/

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.bz2
Source2: evolution_48.png
Source3: evolution_32.png
Source4: evolution_16.png

Provides: camel

%define GConf_ver 2.10.0
%define ORBit_ver 2.12.1
%define libbonobo_ver 2.8.1
%define gal_ver 2.4.3
%define gtkhtml3_ver 3.6.1
%define soup_ver 2.2.3
%define evolution_dataserver_ver 1.2.2

PreReq: scrollkeeper
PreReq: GConf2 >= %GConf_ver

# https://bugzilla.altlinux.org/show_bug.cgi?id=5444

Requires: mozilla mozilla-psm

Requires: gnome-spell
Requires: libgal2 >= %gal_ver
Requires: libgtkhtml3 >= %gtkhtml3_ver
Requires: libsoup >= %soup_ver
Requires: libORBit2 >= %ORBit_ver
Requires: libbonobo2 >= %libbonobo_ver
Requires: evolution-data-server >= %evolution_dataserver_ver

BuildPreReq: gnome-common
BuildPreReq: menu-devel
BuildPreReq: libgal2-devel >= %gal_ver
BuildPreReq: libgtkhtml3-devel >= %gtkhtml3_ver
BuildPreReq: libORBit2 >= %ORBit_ver
BuildPreReq: libbonobo2-devel >= %libbonobo_ver
BuildPreReq: libsoup-devel >= %soup_ver
BuildPreReq: evolution-data-server-devel >= %evolution_dataserver_ver

# Automatically added by buildreq on Tue Apr 12 2005

BuildRequires: GConf2 ORBit2-devel docbook-utils esound evolution-data-server-devel flex fontconfig freetype2 gcc-c++ gcc-g77 glib2-devel gnome-icon-theme gnome-vfs2-devel gstreamer-devel gtk-doc libGConf2-devel libart_lgpl-devel libatk-devel libbonobo2-devel libbonoboui-devel libdbus-devel libdbus-glib-devel libe2fs-devel libgal2-devel libgcrypt-devel libglade2-devel libgnome-devel libgnome-keyring libgnomecanvas-devel libgnomeprint2-devel libgnomeprintui-devel libgnomeui-devel libgnutls-devel libgpg-error-devel libgtk+2-devel libgtkhtml3-devel libkrb5-devel libldap-devel libpango-devel libpopt-devel libsoup-devel libstdc++-devel libtasn1-devel libxml2-devel mozilla-devel mozilla-psm perl-XML-Parser pkgconfig scrollkeeper xorg-x11-devel xorg-x11-libs zlib-devel

%description
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.

%package pilot
Summary: Evolution conduits for gnome-pilot
Group: Communications
Obsoletes: %name-pilot
Requires: %name = %version-%release

%description pilot
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.

This package contains conduits needed by gnome-pilot to
synchronize your Palm with Evolution

%package devel
Summary: Evolution development files
Group: Development/C
Requires: %name = %version-%release
Requires: libgal2-devel >= %gal_ver
Requires: libgtkhtml3-devel >= %gtkhtml3_ver
Requires: libORBit2 >= %ORBit_ver
Requires: libbonobo2-devel >= %libbonobo_ver
Requires: libsoup-devel >= %soup_ver
Requires: evolution-data-server-devel >= %evolution_dataserver_ver

%description devel
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The tools which make up Evolution will
be tightly integrated with one another and act as a seamless
personal information-management tool.

This package contains files needed to develop Evolution plugins.

%add_findprov_lib_path %_libdir/%name/%ver_base

%prep
%setup -q
%__subst '/use diagnostics/d' addressbook/tools/csv2vcard
%__subst 's,(Unstable),,' data/evolution.desktop*

%build
%if 0
%__rm -f missing
%__libtoolize --copy --force
%__aclocal
%__autoheader
%__automake -a -c -f
%__autoconf
%endif

export LDFLAGS="-L/lib"
export CFLAGS="-I%_includedir/krb5"
export ac_cv_path_SENDMAIL=/usr/sbin/sendmail
export KILL_PROCESS_CMD=%_bindir/killall
%configure \
   --with-openldap \
   --enable-gtk-doc \
   --with-openldap=yes \
   --with-static-ldap=no \
   --with-sub-version=" (%version-%release)" \
   --with-kde-applnk-path=no \
   --enable-file-locking=fcntl \
   --enable-dot-locking=no \
   --enable-ipv6 \
   --enable-nntp=yes \
%if_enabled pilot
   --enable-pilot-conduits=yes \
%else
   --enable-pilot-conduits=no \
%endif
   --with-nspr-includes=%_includedir/nspr \
   --enable-nss \
   --with-nss-includes=%_includedir/nss \
   --with-krb5=%_prefix \
   --disable-schemas-install

#    --disable-default-binary


%make_build

%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%make DESTDIR=%buildroot install
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL

# menu

%__mkdir_p %buildroot%_menudir
freedesktop2menu.pl %name "Networking/Mail"  \
   %buildroot%_datadir/applications/%name-%ver_base.desktop \
   %buildroot%_menudir/%name

# icons

%__mkdir_p %buildroot{%_iconsdir,%_liconsdir,%_miconsdir}
%__cp -f %SOURCE2 %buildroot%_liconsdir/evolution.png
%__cp -f %SOURCE3 %buildroot%_iconsdir/evolution.png
%__cp -f %SOURCE4 %buildroot%_miconsdir/evolution.png

# remove non-packaged files

%__rm -f %buildroot%_libdir/%name/%ver_base/*.la
%__rm -f %buildroot%_libdir/%name/%ver_base/*/*.la
%__rm -f %buildroot%_libdir/%name/%ver_base/gnome-pilot/conduits/*.la

# temporarily fix for other applications that requires thease libraries

for f in %buildroot%_libdir/%name/%ver_base/{libeshell*,libeutil*}; do
%__ln_s %name/%ver_base/`basename $f` %buildroot%_libdir/`basename $f`
done

%find_lang --with-gnome --output=%name.lang %name %name-%ver_base

%define schemas apps_evolution_addressbook-%ver_base apps_evolution_calendar-%ver_base apps_evolution_shell-%ver_base evolution-mail-%ver_base

%post
%post_ldconfig
%gconf2_install %schemas
%update_scrollkeeper
%update_menus

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

%postun
%postun_ldconfig
%clean_scrollkeeper
%clean_menus

%files -f %name.lang
%_bindir/*
%_libdir/*.so.*
%_libdir/bonobo/servers/*
%_libdir/%name
%_datadir/applications/*
%_datadir/idl/*
%_datadir/mime-info/*
%_datadir/%name
%_datadir/pixmaps/*
%_iconsdir/*.png
%_liconsdir/*.png
%_miconsdir/*.png
%_menudir/*
%_sysconfdir/gconf/schemas/*
%doc AUTHORS ChangeLog INSTALL NEWS README

%files devel
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*

%if_enabled pilot
%files pilot
%_libdir/gnome-pilot/conduits/*.so
%_datadir/gnome-pilot/conduits/*
%endif

%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