]>
Commit | Line | Data |
---|---|---|
8387620b | 1 | # |
136d3210 | 2 | # configure: WARNING: |
3 | # No NTLM support in OpenLDAP; Plaintext password authentication will be | |
4 | # used when connecting to the Global Catalog server. Consider installing | |
5 | # the evo-openldap package, or building OpenLDAP with the patch in | |
6 | # docs/openldap-ntlm.diff | |
7 | # | |
1361a22c | 8 | %define filterout_ld -Wl,--as-needed |
1450324a | 9 | Summary: Microsoft Exchange support for Evolution |
0a2ef1fc | 10 | Summary(pl.UTF-8): Wsparcie dla Microsoft Exchange w Evolution |
1450324a | 11 | Name: evolution-exchange |
e52f7a3b MB |
12 | Version: 2.10.1 |
13 | Release: 1 | |
1450324a AF |
14 | License: GPL v2 |
15 | Group: X11/Applications | |
075f7b6c | 16 | Source0: http://ftp.gnome.org/pub/gnome/sources/evolution-exchange/2.10/%{name}-%{version}.tar.bz2 |
e52f7a3b | 17 | # Source0-md5: 3457a46a0450737d83f1c74e97c89b8f |
8387620b | 18 | BuildRequires: GConf2-devel >= 2.18.0.1 |
1450324a AF |
19 | BuildRequires: autoconf >= 2.53 |
20 | BuildRequires: automake | |
e52f7a3b | 21 | BuildRequires: evolution-data-server-devel >= 1.10.1 |
075f7b6c MB |
22 | BuildRequires: evolution-devel >= 2.10.0 |
23 | BuildRequires: gtk+2-devel >= 2:2.10.10 | |
57280f44 | 24 | BuildRequires: gtk-doc >= 1.8 |
d2cc6b40 | 25 | BuildRequires: krb5-devel |
8387620b | 26 | BuildRequires: intltool >= 0.35.5 |
075f7b6c | 27 | BuildRequires: libbonobo-devel >= 2.18.0 |
1361a22c | 28 | BuildRequires: libglade2-devel >= 2.6.0 |
075f7b6c | 29 | BuildRequires: libgnomeprint-devel >= 2.18.0 |
e52f7a3b | 30 | BuildRequires: libgnomeui-devel >= 2.18.1 |
8387620b | 31 | BuildRequires: libsoup-devel >= 2.2.100 |
57280f44 | 32 | BuildRequires: libxml2-devel >= 1:2.6.27 |
d3bffad4 | 33 | BuildRequires: openldap-devel >= 2.3.0 |
1450324a AF |
34 | BuildRequires: pkgconfig |
35 | BuildRequires: rpmbuild(macros) >= 1.197 | |
8387620b | 36 | Requires(post,preun): GConf2 |
075f7b6c MB |
37 | Requires: evolution >= 2.10.0 |
38 | Requires: gtk+2 >= 2:2.10.10 | |
1450324a AF |
39 | Obsoletes: ximian-connector |
40 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
41 | ||
42 | %description | |
4a0841a2 JB |
43 | This package adds support for Microsoft Exchange 2000 and 2003 to |
44 | Evolution. | |
1450324a | 45 | |
a9b2c375 JR |
46 | %description -l pl.UTF-8 |
47 | Ten pakiet dodaje do Evolution obsługę Microsoft Exchange 2000 i 2003. | |
1450324a AF |
48 | |
49 | %prep | |
50 | %setup -q | |
51 | ||
52 | %build | |
485d2038 | 53 | %{__glib_gettextize} |
1361a22c | 54 | %{__intltoolize} |
1450324a AF |
55 | %{__aclocal} |
56 | %{__autoconf} | |
57 | %{__automake} | |
58 | %configure \ | |
1361a22c | 59 | --with-openldap=/usr \ |
1450324a | 60 | --with-krb5=/usr \ |
1361a22c | 61 | --disable-schemas-install \ |
62 | --enable-gtk-doc \ | |
1450324a AF |
63 | --with-html-dir=%{_gtkdocdir} |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} install \ | |
90a436db | 70 | DESTDIR=$RPM_BUILD_ROOT |
1450324a | 71 | |
a04f41a4 | 72 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.{la,a} |
1450324a | 73 | |
8387620b | 74 | %find_lang %{name}-2.10 |
1450324a AF |
75 | |
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
8387620b MB |
79 | %post |
80 | %gconf_schema_install apps_exchange_addressbook-2.10.schemas | |
81 | ||
82 | %preun | |
83 | %gconf_schema_uninstall apps_exchange_addressbook-2.10.schemas | |
84 | ||
85 | %files -f %{name}-2.10.lang | |
1450324a | 86 | %defattr(644,root,root,755) |
8387620b MB |
87 | %doc AUTHORS ChangeLog NEWS README |
88 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.10.schemas | |
1361a22c | 89 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-* |
1450324a | 90 | %attr(755,root,root) %{_libdir}/evolution-data-server-*/camel-providers/*.so |
136d3210 | 91 | %attr(755,root,root) %{_libdir}/evolution/*/evolution-exchange-storage |
1450324a AF |
92 | %{_datadir}/%{name} |
93 | %{_gtkdocdir}/* | |
136d3210 | 94 | %{_libdir}/bonobo/servers/* |
95 | %{_libdir}/evolution-data-server-*/camel-providers/*.urls |