X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=evolution-exchange.spec;h=119de1c9b08f749b24159f3bf61926ed08daf379;hb=refs%2Ftags%2Fauto%2Fth%2Fevolution-exchange-3.4.4-1;hp=fc02d810f248484f44535232c3e9fd7875055f96;hpb=d3bffad4e4c8fa845d12729337eb44cc9c7f177c;p=packages%2Fevolution-exchange.git diff --git a/evolution-exchange.spec b/evolution-exchange.spec index fc02d81..119de1c 100644 --- a/evolution-exchange.spec +++ b/evolution-exchange.spec @@ -1,57 +1,78 @@ -# -# configure: WARNING: -# No NTLM support in OpenLDAP; Plaintext password authentication will be -# used when connecting to the Global Catalog server. Consider installing -# the evo-openldap package, or building OpenLDAP with the patch in -# docs/openldap-ntlm.diff # +%define filterout_ld -Wl,--as-needed Summary: Microsoft Exchange support for Evolution -Summary(pl): Wsparcie dla Microsoft Exchange w Evolution +Summary(pl.UTF-8): Wsparcie dla Microsoft Exchange w Evolution Name: evolution-exchange -Version: 2.4.2 -Release: 2 +Version: 3.4.4 +Release: 1 License: GPL v2 Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/evolution-exchange/2.4/%{name}-%{version}.tar.bz2 -# Source0-md5: 67802f9c0be1528edaa0612188588914 -BuildRequires: GConf2-devel -BuildRequires: autoconf >= 2.53 -BuildRequires: automake -BuildRequires: evolution-data-server-devel >= 1.4.1 -BuildRequires: evolution-devel >= 2.4.0 -BuildRequires: gtk+2-devel >= 2:2.8.3 -BuildRequires: heimdal-devel >= 0.7 -BuildRequires: intltool -BuildRequires: libgnomeui-devel >= 2.12.0 -BuildRequires: libsoup-devel >= 2.2.6.1 -BuildRequires: openldap-devel >= 2.3.0 +Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/3.4/%{name}-%{version}.tar.xz +# Source0-md5: 81feb8cc7e9fb8726b33f84dc498dda6 +BuildRequires: GConf2-devel >= 2.22.0 +BuildRequires: autoconf >= 2.58 +BuildRequires: automake >= 1:1.9 +BuildRequires: docbook-dtd412-xml +BuildRequires: evolution-data-server-devel >= %{version} +BuildRequires: evolution-devel >= %{version} +BuildRequires: gettext-devel +BuildRequires: glib2-devel >= 1:2.28.0 +BuildRequires: gnome-common >= 2.20.0 +BuildRequires: gtk+3-devel >= 3.0.0 +BuildRequires: gtk-doc >= 1.9 +BuildRequires: intltool >= 0.36.2 +BuildRequires: libsoup-devel >= 2.4.0 +BuildRequires: libtool >= 2:2.2 +BuildRequires: libxml2-devel >= 1:2.6.31 +BuildRequires: nss-devel +BuildRequires: openldap-devel >= 2.4.6 BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.197 +BuildRequires: tar >= 1:1.22 +BuildRequires: xz Requires(post,preun): GConf2 -Requires: evolution >= 2.4.1 -Requires: gtk+2 >= 2:2.8.3 +Requires: evolution >= %{version} +Requires: gtk+3 >= 3.0.0 Obsoletes: ximian-connector +# sr@Latn vs. sr@latin +Conflicts: glibc-misc < 6:2.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This package adds support for Microsoft Exchange 2000 and 2003 to Evolution. -%description -l pl -Ten pakiet dodaje do Evolution obs³ugê Microsoft Exchange 2000 i 2003. +%description -l pl.UTF-8 +Ten pakiet dodaje do Evolution obsługę Microsoft Exchange 2000 i 2003. + +%package apidocs +Summary: Microsoft Exchange support for Evolution API documentation +Summary(pl.UTF-8): Dokumentacja API wsparcia Microsoft Exchange w Evolution +Group: Documentation +Requires: gtk-doc-common + +%description apidocs +Microsoft Exchange support for Evolution API documentation. + +%description apidocs -l pl.UTF-8 +Dokumentacja API wsparcia Microsoft Exchange w Evolution. %prep %setup -q %build -%{__intltoolize} %{__glib_gettextize} -%{__aclocal} +%{__intltoolize} +%{__libtoolize} +%{__aclocal} -I m4 %{__autoconf} +%{__autoheader} %{__automake} %configure \ - --with-openlda-=/usr \ - --with-krb5=/usr \ + --with-openldap=/usr \ + --disable-schemas-install \ + --disable-silent-rules \ + --enable-gtk-doc \ --with-html-dir=%{_gtkdocdir} %{__make} @@ -61,21 +82,41 @@ rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no -rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.{la,a} +%{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/{addressbook-backends,calendar-backends,camel-providers}/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-exchange/3.4/*.la +%{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la -%find_lang %{name}-2.4 +%find_lang %{name}-3.4 %clean rm -rf $RPM_BUILD_ROOT -%files -f %{name}-2.4.lang +%post +%gconf_schema_install apps_exchange_addressbook-3.4.schemas + +%preun +%gconf_schema_uninstall apps_exchange_addressbook-3.4.schemas + +%files -f %{name}-3.4.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-3.4.schemas +%attr(755,root,root) %{_bindir}/exchange-connector-setup-3.4 +%attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendexchange.so +%attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendexchange.so +%attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelexchange.so +%{_libdir}/evolution-data-server/camel-providers/libcamelexchange.urls +%dir %{_libdir}/evolution-exchange +%dir %{_libdir}/evolution-exchange/3.4 +%attr(755,root,root) %{_libdir}/evolution-exchange/3.4/libevolution-exchange-shared.so +%attr(755,root,root) %{_libdir}/evolution-exchange/3.4/libexchange-storage.so +%attr(755,root,root) %{_libdir}/evolution-exchange/3.4/libexchange.so* +%attr(755,root,root) %{_libdir}/evolution-exchange/3.4/libxntlm.so* +%attr(755,root,root) %{_libdir}/evolution/3.4/plugins/liborg-gnome-exchange-operations.so +%{_libdir}/evolution/3.4/plugins/org-gnome-exchange-operations.eplug +%{_datadir}/evolution/3.4/errors/org-gnome-exchange-operations.error +%{_datadir}/evolution-exchange + +%files apidocs %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README -%attr(755,root,root) %{_bindir}/ximian-connector-setup-* -%attr(755,root,root) %{_libdir}/evolution-data-server-*/camel-providers/*.so -%attr(755,root,root) %{_libdir}/evolution/*/evolution-exchange-storage -%{_datadir}/%{name} -%{_gtkdocdir}/* -%{_libdir}/bonobo/servers/* -%{_libdir}/evolution-data-server-*/camel-providers/*.urls +%{_gtkdocdir}/evolution-exchange