X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=evolution-exchange.spec;h=43f90b3b470ac848cb168f874755e29122f65876;hb=68ed6547546744df5cbd6708a8ec8adc3b5be921;hp=7a1099b04f981d5e7b72bbfe4f92fa60329ad741;hpb=76ed405f2cfffb083c2c0998f2d3f5c9bd5f300a;p=packages%2Fevolution-exchange.git diff --git a/evolution-exchange.spec b/evolution-exchange.spec index 7a1099b..43f90b3 100644 --- a/evolution-exchange.spec +++ b/evolution-exchange.spec @@ -1,48 +1,82 @@ +# +%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.3.5 -Release: 0.1 +Version: 2.32.2 +Release: 1 License: GPL v2 Group: X11/Applications -Source0: http://ftp.gnome.org/pub/gnome/sources/evolution-exchange/2.3/%{name}-%{version}.tar.bz2 -# Source0-md5: c482766dd37172d59bca602fd1d02a2d -BuildRequires: GConf2-devel -BuildRequires: autoconf >= 2.53 -BuildRequires: automake -BuildRequires: evolution-data-server-devel >= 1.3.1 -BuildRequires: gtk+2-devel >= 2:2.6.4 -BuildRequires: heimdal-devel >= 0.7 -BuildRequires: intltool -BuildRequires: libgnomeui-devel >= 2.11.0 -BuildRequires: libsoup-devel >= 2.2.3 -BuildRequires: openldap-devel +Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/2.32/%{name}-%{version}.tar.bz2 +# Source0-md5: 6fa8e604a2bc9f5e0a7b78408f69d62c +Patch0: gtk224.patch +BuildRequires: GConf2-devel >= 2.22.0 +BuildRequires: autoconf >= 2.58 +BuildRequires: automake >= 1:1.9 +BuildRequires: docbook-dtd412-xml +BuildRequires: evolution-data-server-devel >= 2.32.1 +BuildRequires: evolution-devel >= 2.32.1 +BuildRequires: gettext-devel +BuildRequires: glib2-devel >= 1:2.16.1 +BuildRequires: gnome-common >= 2.20.0 +BuildRequires: gtk+2-devel >= 2:2.20.0 +BuildRequires: gtk-doc >= 1.9 +BuildRequires: intltool >= 0.36.2 +BuildRequires: libsoup-devel >= 2.4.0 +BuildRequires: libtool +BuildRequires: libxml2-devel >= 1:2.6.31 +BuildRequires: nss-devel +BuildRequires: openldap-devel >= 2.4.6 BuildRequires: pkgconfig BuildRequires: rpmbuild(macros) >= 1.197 +BuildRequires: sed >= 4.0 Requires(post,preun): GConf2 -Requires: evolution >= 2.3.5 -Requires: gtk+2 >= 2:2.6.4 +Requires: evolution >= 2.32.1 +Requires: gtk+2 >= 2:2.20.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 +%patch0 -p1 + +sed -i -e 's/^en@shaw//' po/LINGUAS +rm -f po/en@shaw.po %build -%{__aclocal} +%{__glib_gettextize} +%{__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} @@ -50,31 +84,36 @@ Ten pakiet dodaje do Evolution obs rm -rf $RPM_BUILD_ROOT %{__make} install \ - DESTDIR=$RPM_BUILD_ROOT \ - GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 + 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 -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/{camel-providers,extensions}/*.{la,a} +rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la -%find_lang %{name}-2.4 +%find_lang %{name}-2.32 %clean rm -rf $RPM_BUILD_ROOT -#post -#gconf_schema_install evolution-webcal.schemas +%post +%gconf_schema_install apps_exchange_addressbook-2.32.schemas + +%preun +%gconf_schema_uninstall apps_exchange_addressbook-2.32.schemas -#preun -#gconf_schema_uninstall evolution-webcal.schemas +%files -f %{name}-2.32.lang +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.32.schemas +%attr(755,root,root) %{_bindir}/exchange-connector-setup-2.32 +%attr(755,root,root) %{_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.so +%attr(755,root,root) %{_libdir}/evolution-data-server-1.2/extensions/libebookbackendexchange.so +%attr(755,root,root) %{_libdir}/evolution-data-server-1.2/extensions/libecalbackendexchange.so +%attr(755,root,root) %{_libdir}/evolution/2.32/plugins/liborg-gnome-exchange-operations.so +%{_libdir}/evolution/2.32/plugins/org-gnome-exchange-operations.eplug +%{_datadir}/evolution/2.32/errors/org-gnome-exchange-operations.error +%{_datadir}/evolution-exchange +%{_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.urls -%files -f %{name}-2.4.lang +%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/*/evolution-exchange-storage -%{_libdir}/bonobo/servers/* -%attr(755,root,root) %{_libdir}/evolution-data-server-*/camel-providers/*.so -#%attr(755,root,root) %{_libdir}/evolution/*/*.so.* -%{_libdir}/evolution-data-server-*/camel-providers/*.urls -%{_datadir}/%{name} -%{_gtkdocdir}/* +%{_gtkdocdir}/evolution-exchange