]>
Commit | Line | Data |
---|---|---|
8387620b | 1 | # |
1361a22c | 2 | %define filterout_ld -Wl,--as-needed |
1450324a | 3 | Summary: Microsoft Exchange support for Evolution |
0a2ef1fc | 4 | Summary(pl.UTF-8): Wsparcie dla Microsoft Exchange w Evolution |
1450324a | 5 | Name: evolution-exchange |
961cab4b | 6 | Version: 2.12.1 |
8aca6d90 | 7 | Release: 2 |
1450324a AF |
8 | License: GPL v2 |
9 | Group: X11/Applications | |
8b3bf16e | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/2.12/%{name}-%{version}.tar.bz2 |
961cab4b | 11 | # Source0-md5: 7130d53d0b10e3475bbd1c2af1e35810 |
8b3bf16e | 12 | BuildRequires: GConf2-devel >= 2.20.0 |
1450324a AF |
13 | BuildRequires: autoconf >= 2.53 |
14 | BuildRequires: automake | |
8b3bf16e MB |
15 | BuildRequires: evolution-data-server-devel >= 1.12.0 |
16 | BuildRequires: evolution-devel >= 2.12.0 | |
17 | BuildRequires: gtk+2-devel >= 2:2.12.0 | |
57280f44 | 18 | BuildRequires: gtk-doc >= 1.8 |
d2cc6b40 | 19 | BuildRequires: krb5-devel |
8b3bf16e MB |
20 | BuildRequires: intltool >= 0.36.2 |
21 | BuildRequires: libbonobo-devel >= 2.20.0 | |
22 | BuildRequires: libglade2-devel >= 2.6.2 | |
075f7b6c | 23 | BuildRequires: libgnomeprint-devel >= 2.18.0 |
8b3bf16e | 24 | BuildRequires: libgnomeui-devel >= 2.20.0 |
8387620b | 25 | BuildRequires: libsoup-devel >= 2.2.100 |
8b3bf16e | 26 | BuildRequires: libxml2-devel >= 1:2.6.30 |
8aca6d90 | 27 | BuildRequires: openldap-evolution-devel >= 2.4.6 |
1450324a AF |
28 | BuildRequires: pkgconfig |
29 | BuildRequires: rpmbuild(macros) >= 1.197 | |
8387620b | 30 | Requires(post,preun): GConf2 |
8b3bf16e MB |
31 | Requires: evolution >= 2.12.0 |
32 | Requires: gtk+2 >= 2:2.12.0 | |
1450324a AF |
33 | Obsoletes: ximian-connector |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
4a0841a2 JB |
37 | This package adds support for Microsoft Exchange 2000 and 2003 to |
38 | Evolution. | |
1450324a | 39 | |
a9b2c375 JR |
40 | %description -l pl.UTF-8 |
41 | Ten pakiet dodaje do Evolution obsługę Microsoft Exchange 2000 i 2003. | |
1450324a | 42 | |
0812a127 MB |
43 | %package apidocs |
44 | Summary: Microsoft Exchange support for Evolution API documentation | |
45 | Summary(pl.UTF-8): Dokumentacja API wsparcia Microsoft Exchange w Evolution | |
46 | Group: Documentation | |
47 | Requires: gtk-doc-common | |
48 | ||
49 | %description apidocs | |
50 | Microsoft Exchange support for Evolution API documentation. | |
51 | ||
52 | %description apidocs -l pl.UTF-8 | |
53 | Dokumentacja API wsparcia Microsoft Exchange w Evolution. | |
54 | ||
1450324a AF |
55 | %prep |
56 | %setup -q | |
57 | ||
58 | %build | |
485d2038 | 59 | %{__glib_gettextize} |
1361a22c | 60 | %{__intltoolize} |
1450324a AF |
61 | %{__aclocal} |
62 | %{__autoconf} | |
63 | %{__automake} | |
64 | %configure \ | |
8aca6d90 | 65 | --with-openldap=%{_libdir}/evolution-openldap \ |
1450324a | 66 | --with-krb5=/usr \ |
1361a22c | 67 | --disable-schemas-install \ |
68 | --enable-gtk-doc \ | |
1450324a AF |
69 | --with-html-dir=%{_gtkdocdir} |
70 | %{__make} | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %{__make} install \ | |
90a436db | 76 | DESTDIR=$RPM_BUILD_ROOT |
1450324a | 77 | |
a04f41a4 | 78 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.{la,a} |
1450324a | 79 | |
8b3bf16e | 80 | %find_lang %{name}-2.12 |
1450324a AF |
81 | |
82 | %clean | |
83 | rm -rf $RPM_BUILD_ROOT | |
84 | ||
8387620b | 85 | %post |
8b3bf16e | 86 | %gconf_schema_install apps_exchange_addressbook-2.12.schemas |
8387620b MB |
87 | |
88 | %preun | |
8b3bf16e | 89 | %gconf_schema_uninstall apps_exchange_addressbook-2.12.schemas |
8387620b | 90 | |
8b3bf16e | 91 | %files -f %{name}-2.12.lang |
1450324a | 92 | %defattr(644,root,root,755) |
8387620b | 93 | %doc AUTHORS ChangeLog NEWS README |
8b3bf16e | 94 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.12.schemas |
1361a22c | 95 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-* |
1450324a | 96 | %attr(755,root,root) %{_libdir}/evolution-data-server-*/camel-providers/*.so |
136d3210 | 97 | %attr(755,root,root) %{_libdir}/evolution/*/evolution-exchange-storage |
1450324a | 98 | %{_datadir}/%{name} |
136d3210 | 99 | %{_libdir}/bonobo/servers/* |
100 | %{_libdir}/evolution-data-server-*/camel-providers/*.urls | |
0812a127 MB |
101 | |
102 | %files apidocs | |
103 | %defattr(644,root,root,755) | |
104 | %{_gtkdocdir}/* |