2011-11-09 15:54:44 +00:00
|
|
|
%global evo_base_version 3.4
|
2011-11-07 17:57:55 +00:00
|
|
|
|
|
|
|
Name: evolution-ews
|
2011-11-07 18:00:22 +00:00
|
|
|
Version: 3.3.1
|
2011-11-07 17:57:55 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Group: Applications/Productivity
|
|
|
|
Summary: Evolution extension for Exchange Web Services
|
|
|
|
License: LGPLv2
|
|
|
|
URL: http://projects.gnome.org/evolution
|
|
|
|
Source: http://download.gnome.org/sources/%{name}/3.2/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: evolution-devel >= %{version}
|
|
|
|
BuildRequires: evolution-data-server-devel >= %{version}
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
2011-11-09 15:00:44 +00:00
|
|
|
# Build fixes
|
2011-11-07 19:38:54 +00:00
|
|
|
Patch1: evolution-ews-3.3.1-enable-deprecated-glib-symbols.patch
|
2011-11-09 15:00:44 +00:00
|
|
|
Patch2: evolution-ews-3.3.1-illegal-includes.patch
|
2011-11-09 15:42:41 +00:00
|
|
|
Patch3: evolution-ews-3.3.1-skip-g-thread-init.patch
|
2011-11-07 19:38:54 +00:00
|
|
|
|
2011-11-07 17:57:55 +00:00
|
|
|
%description
|
|
|
|
This package allows Evolution to interact with Microsoft Exchange servers,
|
|
|
|
versions 2007 and later, through its Exchange Web Services (EWS) interface.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2011-11-07 19:38:54 +00:00
|
|
|
%patch1 -p1 -b .enable-deprecated-glib-symbols
|
2011-11-09 15:00:44 +00:00
|
|
|
%patch2 -p1 -b .illegal-includes
|
2011-11-09 15:42:41 +00:00
|
|
|
%patch3 -p1 -b .skip-g-thread-init
|
2011-11-07 17:57:55 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
# Remove files we don't want packaged (no devel subpackage).
|
|
|
|
rm -r $RPM_BUILD_ROOT%{_includedir}/evolution-data-server-%{evo_base_version}/
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-%{evo_base_version}/*.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-%{evo_base_version}/*.so
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/*/*.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/evolution/%{evo_base_version}/plugins/*.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/liblzx.la
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/liblzx.so
|
|
|
|
rm $RPM_BUILD_ROOT%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc COPYING NEWS README
|
|
|
|
%{_libdir}/evolution-data-server-%{evo_base_version}/libeews-1.2.so.*
|
|
|
|
%{_libdir}/evolution-data-server-%{evo_base_version}/libewsutils.so.*
|
|
|
|
%{_libdir}/evolution-data-server/addressbook-backends/libebookbackendews.so
|
|
|
|
%{_libdir}/evolution-data-server/calendar-backends/libecalbackendews.so
|
|
|
|
%{_libdir}/evolution-data-server/camel-providers/libcamelews.so
|
|
|
|
%{_libdir}/evolution-data-server/camel-providers/libcamelews.urls
|
|
|
|
%{_libdir}/evolution/%{evo_base_version}/plugins/liborg-gnome-exchange-ews.so
|
|
|
|
%{_libdir}/evolution/%{evo_base_version}/plugins/org-gnome-exchange-ews.eplug
|
|
|
|
|
|
|
|
# XXX For now this is a private library even though it lives
|
|
|
|
# directly in LIBDIR. Nothing else should be using it.
|
|
|
|
%{_libdir}/liblzx.so.*
|
|
|
|
|
|
|
|
%changelog
|
2011-11-07 18:00:22 +00:00
|
|
|
* Wed Nov 07 2011 Matthew Barnes <mbarnes@redhat.com> - 3.3.1-1
|
|
|
|
- Initial packaging for Fedora 17.
|
2011-11-07 17:57:55 +00:00
|
|
|
|