evolution/evolution.spec

515 lines
18 KiB
RPMSpec
Raw Permalink Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
%define apiver %{majversion}
Name: evolution
Version: 3.30.1
Release: 1mamba
Summary: An integrated mail, addressbook and calendaring tool
Group: Graphical Desktop/Applications/Office
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org/projects/evolution/
Source: http://ftp.gnome.org/pub/gnome/sources/evolution/%{majversion}/%{name}-%{version}.tar.xz
Patch0: evolution-pilot-link-0.12.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gnome-desktop-devel
BuildRequires: libX11-devel
BuildRequires: libarchive-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libcanberra-devel
BuildRequires: libenchant1-devel
BuildRequires: libevolution-data-server-devel
BuildRequires: libgcr-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgnome-autoar-devel
BuildRequires: libgtk-devel
BuildRequires: libgtkspell3-devel
BuildRequires: libgweather-devel
BuildRequires: libical-devel
BuildRequires: libnotify-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libopenldap-devel
BuildRequires: libp11-kit-devel
BuildRequires: libpango-devel
BuildRequires: libpst-devel
BuildRequires: libsecret-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libwebkit2gtk-devel
BuildRequires: libxml2-devel
BuildRequires: libytnef-devel
## AUTOBUILDREQ-END
BuildRequires: upower-devel >= 0.99.2-2mamba
BuildRequires: intltool
BuildRequires: perl-XML-Parser
BuildRequires: pkgconfig
BuildRequires: gettext-devel
BuildRequires: gtk-doc
BuildRequires: pkgconfig
BuildRequires: flex
BuildRequires: bison
BuildRequires: gnome-doc-utils-devel >= 0.3.2
BuildRequires: shared-mime-info
BuildRequires: bogofilter
BuildRequires: highlight
BuildRequires: SpamAssassin
BuildRequires: gnome-desktop-devel >= %{majversion}
BuildRequires: libevolution-data-server-devel >= %{majversion}
BuildRequires: libgnome-desktop-devel >= %{majversion}
BuildRequires: libytnef-devel
Requires: gnome-icon-theme >= 1.2.0
Requires: bogofilter
Requires: SpamAssassin
Provides: evolution-gnome-pilot
Obsoletes: evolution-gnome-pilot
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME:
# checking for NM... checking for NM... yes
# pkg-config --exists --print-errors "dbus-glib-1 libnm_glib"
#
# checking for NetworkManager/NetworkManager.h... no
#
# checking for SOUPTEMP...
# pkg-config --exists --print-errors "libsoup-2.4"
%description
An integrated mail, addressbook and calendaring tool.
#%package gnome-pilot
#Group: Graphical Desktop/Applications/Office
#Summary: Evolution conduits for gnome-pilot
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Requires: gnome-pilot >= 2.0.11
#
#%description gnome-pilot
#Evolution is a project to provide integrated mail, addressbook and calendaring functionality to the GNOME desktop.
#
#This package contains conduits needed by gnome-pilot to synchronize your Palm with Evolution.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Evolution is a project to provide integrated mail, addressbook and calendaring functionality to the GNOME desktop.
This package contains static libraries and header files need for development.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%prep
%setup -q
#-D -T
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/evolution-%{version}/find_provides.sh
cat > %{_builddir}/evolution-%{version}/find_provides.sh <<_EOF
#! /bin/sh
grep -v %{buildroot}%{_libdir}/evolution | \
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
_EOF
chmod +x %{_builddir}/evolution-%{version}/find_provides.sh
%define __find_requires %{_builddir}/evolution-%{version}/find_requires.sh
cat > %{_builddir}/evolution-%{version}/find_requires.sh <<_EOF
#! /bin/sh
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null |
while read line; do
[ ! -f %{buildroot}%{_libdir}/evolution/\${line/\(*} -a \
! -f %{buildroot}%{_libdir}/evolution/web-extensions/\${line/\(*} ] && echo "\$line"
done
_EOF
chmod +x %{_builddir}/evolution-%{version}/find_requires.sh
%build
%cmake -d build \
-DLIBEXEC_INSTALL_DIR=%{_libexecdir} \
-DENABLE_INTROSPECTION=ON \
-DENABLE_GTK_DOC=ON \
-DENABLE_VALA_BINDINGS=ON
#% configure \
# --with-openldap=yes \
# --with-krb5=%{_prefix} \
# --enable-nss=yes \
# --enable-smime=yes \
# --enable-plugins=all \
# --enable-pilot-conduits=yes \
# --disable-scrollkeeper \
# --disable-image-inline
# FIXME: for --disable-image-inline see http://mail.gnome.org/archives/evolution-hackers/2011-January/msg00052.html
# --with-kde-applnk-path=%{_datadir}/applnk
%make
#CFLAGS="-DPILOT_LINK_0_12"
%install
[ %{buildroot} != / ] && rm -rf %{buildroot}
%makeinstall -C build
%find_lang %{name}
%clean
[ %{buildroot} != / ] && rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
#%{_sysconfdir}/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop
%{_bindir}/evolution
%dir %{_libdir}/evolution
%dir %{_libdir}/evolution/
%{_libdir}/evolution/*.so
%{_libdir}/evolution/*/*.so
%{_libdir}/evolution/plugins/*.eplug
%dir %{_libdir}/evolution/web-extensions
%dir %{_libdir}/evolution/web-extensions/webkit-editor
%{_libdir}/evolution/web-extensions/webkit-editor/module-webkit-editor-webextension.so
%dir %{_libdir}/evolution-data-server
%{_libdir}/evolution-data-server/ui-modules/*.so
%{_datadir}/applications/org.gnome.Evolution.desktop
%{_datadir}/metainfo/org.gnome.Evolution*.xml
%dir %{_datadir}/evolution
%{_datadir}/evolution/*
%{_datadir}/GConf/gsettings/evolution.convert
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.*.xml
%dir %{_datadir}/help/*/evolution
%{_datadir}/help/*/evolution/*
%{_datadir}/icons/hicolor/*/apps/evolution.png
%{_datadir}/icons/hicolor/*/apps/evolution-mail.png
%{_datadir}/icons/hicolor/*/apps/evolution-memos.png
%{_datadir}/icons/hicolor/*/apps/evolution-tasks.png
%{_datadir}/icons/hicolor/symbolic/apps/evolution-symbolic.svg
%dir %{_libexecdir}/evolution
%{_libexecdir}/evolution/*
#%{_libdir}/evolution/%{majversion}/plugins/*.xml
%doc AUTHORS COPYING
#%files gnome-pilot
#%defattr(-,root,root)
#%{_datadir}/gnome-pilot/conduits/*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/evolution
%{_includedir}/evolution/*
%{_libdir}/pkgconfig/evolution-calendar-3.0.pc
%{_libdir}/pkgconfig/evolution-mail-3.0.pc
#%{_libdir}/pkgconfig/evolution-plugin-3.0.pc
%{_libdir}/pkgconfig/evolution-shell-3.0.pc
%{_libdir}/pkgconfig/libemail-engine.pc
#%{_libdir}/pkgconfig/libemail-utils.pc
#%{_libdir}/pkgconfig/libevolution-utils.pc
#%doc ChangeLog NEWS README
%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/evolution-mail-composer
%{_datadir}/gtk-doc/html/evolution-mail-composer/*
%dir %{_datadir}/gtk-doc/html/evolution-mail-engine
%{_datadir}/gtk-doc/html/evolution-mail-engine/*
%dir %{_datadir}/gtk-doc/html/evolution-mail-formatter
%{_datadir}/gtk-doc/html/evolution-mail-formatter/*
%dir %{_datadir}/gtk-doc/html/evolution-shell
%{_datadir}/gtk-doc/html/evolution-shell/*
%dir %{_datadir}/gtk-doc/html/evolution-util
%{_datadir}/gtk-doc/html/evolution-util/*
%changelog
* Mon Oct 01 2018 Automatic Build System <autodist@mambasoft.it> 3.30.1-1mamba
- automatic version update by autodist
* Wed Sep 05 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.28.5-1mamba
- update to 3.28.5
* Mon Jul 17 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.22.6-2mamba
- fix for a missing requirement provided internally
* Sun Jul 16 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.22.6-1mamba
- update to 3.22.6
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 3.20.5-1mamba
- automatic version update by autodist
* Mon Mar 14 2016 Automatic Build System <autodist@mambasoft.it> 3.18.5.2-1mamba
- automatic version update by autodist
* Sat Feb 27 2016 Automatic Build System <autodist@mambasoft.it> 3.18.5.1-1mamba
- automatic version update by autodist
* Tue Feb 16 2016 Automatic Build System <autodist@mambasoft.it> 3.18.5-1mamba
- automatic version update by autodist
* Wed Jan 20 2016 Automatic Build System <autodist@mambasoft.it> 3.18.4-1mamba
- automatic version update by autodist
* Mon Dec 14 2015 Automatic Build System <autodist@mambasoft.it> 3.18.3-1mamba
- automatic version update by autodist
* Sun Nov 22 2015 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
- automatic version update by autodist
* Mon Aug 10 2015 Automatic Build System <autodist@mambasoft.it> 3.16.5-1mamba
- automatic version update by autodist
* Mon Jul 13 2015 Automatic Build System <autodist@mambasoft.it> 3.16.4-1mamba
- automatic version update by autodist
* Mon Jun 08 2015 Automatic Build System <autodist@mambasoft.it> 3.16.3-1mamba
- automatic version update by autodist
* Thu May 07 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.16.1-1mamba
- update to 3.16.1
* Wed May 06 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.11-2mamba
- rebuilt by autoport with build requirements: upower-devel>=0.99.2-2mamba
* Mon Feb 09 2015 Automatic Build System <autodist@mambasoft.it> 3.12.11-1mamba
- automatic version update by autodist
* Mon Jan 12 2015 Automatic Build System <autodist@mambasoft.it> 3.12.10-1mamba
- automatic version update by autodist
* Mon Dec 08 2014 Automatic Build System <autodist@mambasoft.it> 3.12.9-1mamba
- automatic version update by autodist
* Mon Nov 10 2014 Automatic Build System <autodist@mambasoft.it> 3.12.8-1mamba
- automatic version update by autodist
* Sun Oct 26 2014 Automatic Build System <autodist@mambasoft.it> 3.12.7-1mamba
- automatic version update by autodist
* Mon Sep 08 2014 Automatic Build System <autodist@mambasoft.it> 3.12.6-1mamba
- automatic version update by autodist
* Mon Aug 11 2014 Automatic Build System <autodist@mambasoft.it> 3.12.5-1mamba
- automatic version update by autodist
* Mon Jul 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.4-1mamba
- update to 3.12.4
* Sun Jun 22 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.3-1mamba
- update to 3.12.3
* Mon Feb 10 2014 Automatic Build System <autodist@mambasoft.it> 3.10.4-1mamba
- automatic version update by autodist
* Mon Dec 09 2013 Automatic Build System <autodist@mambasoft.it> 3.10.3-1mamba
- automatic version update by autodist
* Tue Nov 12 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Tue Nov 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.1-3mamba
- rebuilt with libgweather 3.10
* Sat Nov 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.1-2mamba
- rebuilt with gnome-desktop 3.10
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist
* Sun Aug 11 2013 Automatic Build System <autodist@mambasoft.it> 3.8.5-1mamba
- automatic version update by autodist
* Fri Aug 02 2013 Automatic Build System <autodist@mambasoft.it> 3.8.4-1mamba
- automatic version update by autodist
* Mon May 20 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Sun Apr 14 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Sat Apr 13 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Thu Mar 07 2013 Automatic Build System <autodist@mambasoft.it> 3.6.4-1mamba
- automatic version update by autodist
* Mon Jan 21 2013 Automatic Build System <autodist@mambasoft.it> 3.6.3-1mamba
- automatic version update by autodist
* Fri Dec 07 2012 Automatic Build System <autodist@mambasoft.it> 3.6.2-1mamba
- automatic version update by autodist
* Sun Oct 14 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Sat Oct 06 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Fri Sep 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.4-3mamba
- remove provides/requires for internal plugin libraries
* Sat Aug 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.4-2mamba
- move plugin libraries *.la and *.so from devel to main package
* Mon Aug 13 2012 Automatic Build System <autodist@mambasoft.it> 3.4.4-1mamba
- automatic version update by autodist
* Sat Aug 04 2012 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
- automatic version update by autodist
* Thu Jun 14 2012 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- update to 3.4.2
* Sat Apr 07 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0.1-1mamba
- update to 3.4.0.1
* Wed Aug 31 2011 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Mon Feb 07 2011 Automatic Build System <autodist@mambasoft.it> 2.32.2-1mamba
- automatic update by autodist
* Mon Nov 15 2010 Automatic Build System <autodist@mambasoft.it> 2.32.1-1mamba
- automatic update to 2.32.1 by autodist
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Fri Aug 13 2010 Automatic Build System <autodist@mambasoft.it> 2.30.3-1mamba
- automatic update to 2.30.3 by autodist
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 2.30.2-1mamba
- automatic update to 2.30.2 by autodist
* Tue May 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.30.1.2-1mamba
- update to 2.30.1.2
* Mon Mar 15 2010 Automatic Build System <autodist@mambasoft.it> 2.28.3.1-1mamba
- automatic update to 2.28.3.1 by autodist
* Mon Dec 14 2009 Automatic Build System <autodist@mambasoft.it> 2.28.2-1mamba
- automatic update to 2.28.2 by autodist
* Sun Oct 18 2009 Automatic Build System <autodist@mambasoft.it> 2.28.1-1mamba
- automatic update to 2.28.1 by autodist
* Fri Oct 09 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- automatic update to 2.28.0 by autodist
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 2.26.3-1mamba
- automatic update to 2.26.3 by autodist
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 2.26.2-1mamba
- automatic update to 2.26.2 by autodist
* Sun May 17 2009 Automatic Build System <autodist@mambasoft.it> 2.26.1.1-2mamba
- automatic rebuild by autodist
* Fri Apr 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.1.1-1mamba
- automatic update to 2.26.1.1 by autodist
* Tue Apr 14 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.1-1mamba
- automatic update to 2.26.1 by autodist
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- automatic update to 2.26.0 by autodist
* Wed Feb 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.5-1mamba
- automatic update to 2.24.5 by autodist
* Mon Feb 23 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.4-2mamba
- automatic rebuild by autodist
* Tue Feb 17 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.4-1mamba
- automatic update to 2.24.4 by autodist
* Mon Jan 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.3-1mamba
- automatic update to 2.24.3 by autodist
* Mon Nov 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.2-1mamba
- automatic update to 2.24.2 by autodist
* Mon Nov 17 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.1.1-1mamba
- automatic update to 2.24.1.1 by autodist
* Tue Oct 21 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.1-1mamba
- automatic update to 2.24.1 by autodist
* Tue Sep 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.24.0-1mamba
- automatic update to 2.24.0 by autodist
* Fri Aug 29 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.3.1-1mamba
- update to 2.22.3.1
* Tue Jun 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.2-1mamba
- update to 2.22.2
* Thu May 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.1.1-1mamba
- update to 2.22.1.1
* Fri Apr 11 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.22.1-1mamba
- update to 2.22.1
* Mon Sep 17 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.3-1mamba
- update to 2.10.3
* Tue Feb 27 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.2.1-3qilnx
- oops, rebuilding now against gstreamer 0.10
* Sun Feb 25 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.8.2.1-2qilnx
- rebuild against gstreamer 0.10
* Sat Jan 13 2007 Davide Madrisan <davide.madrisan@qilinux.it> 2.8.2.1-1qilnx
- update to version 2.8.2.1 by autospec
* Wed Nov 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.4.2-1qilnx
- update to version 2.4.2 by autospec
- enabled support for building pilot conduits
- new package %{name}-gnome-pilot
* Fri Sep 16 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.4.0-2qilnx
- rebuilt to enable LDAP NTLM bind support
* Thu Sep 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.4.0-1qilnx
- update to version 2.4.0 by autospec
- removed security patch
- added some missing build requirements
- build with SSL and SMIME support (Mozilla NSS)
- build with Kerberos V support
* Wed Aug 31 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.3-2qilnx
- fixed security issue QSA-2005-098 (CAN-2005-2549, CAN-2005-2550)
* Tue Jun 07 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.3-1qilnx
- update to version 2.2.3 by autospec
* Fri May 27 2005 Davide Madrisan <davide.madrisan@qilinux.it> 2.2.1.1-3qilnx
- requires gnome-icon-theme package
- added missing build requirements
- added development documentation via gtk-doc
* Thu Apr 07 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1.1-2qilnx
- remove duplicate KDE menu link
- fix Group entry
* Fri Mar 18 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1.1-1qilnx
- update to version 2.2.1.1 by autospec
* Thu Dec 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-1qilnx
- new version build
* Mon Oct 18 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.2-1qilnx
- new version build
* Mon Oct 11 2004 Massimo Pintore <massimo.pintore@qilinux.it> 2.0.1-1qilnx
- package created by autospec