]>
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 |
8ef63076 | 7 | Release: 3 |
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 | 33 | Obsoletes: ximian-connector |
8ef63076 | 34 | # sr@Latn vs. sr@latin |
35 | Conflicts: glibc-misc < 6:2.7 | |
1450324a AF |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
4a0841a2 JB |
39 | This package adds support for Microsoft Exchange 2000 and 2003 to |
40 | Evolution. | |
1450324a | 41 | |
a9b2c375 JR |
42 | %description -l pl.UTF-8 |
43 | Ten pakiet dodaje do Evolution obsługę Microsoft Exchange 2000 i 2003. | |
1450324a | 44 | |
0812a127 MB |
45 | %package apidocs |
46 | Summary: Microsoft Exchange support for Evolution API documentation | |
47 | Summary(pl.UTF-8): Dokumentacja API wsparcia Microsoft Exchange w Evolution | |
48 | Group: Documentation | |
49 | Requires: gtk-doc-common | |
50 | ||
51 | %description apidocs | |
52 | Microsoft Exchange support for Evolution API documentation. | |
53 | ||
54 | %description apidocs -l pl.UTF-8 | |
55 | Dokumentacja API wsparcia Microsoft Exchange w Evolution. | |
56 | ||
1450324a AF |
57 | %prep |
58 | %setup -q | |
59 | ||
60 | %build | |
485d2038 | 61 | %{__glib_gettextize} |
1361a22c | 62 | %{__intltoolize} |
1450324a AF |
63 | %{__aclocal} |
64 | %{__autoconf} | |
65 | %{__automake} | |
66 | %configure \ | |
8aca6d90 | 67 | --with-openldap=%{_libdir}/evolution-openldap \ |
1450324a | 68 | --with-krb5=/usr \ |
1361a22c | 69 | --disable-schemas-install \ |
70 | --enable-gtk-doc \ | |
1450324a AF |
71 | --with-html-dir=%{_gtkdocdir} |
72 | %{__make} | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %{__make} install \ | |
90a436db | 78 | DESTDIR=$RPM_BUILD_ROOT |
1450324a | 79 | |
a04f41a4 | 80 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.{la,a} |
1450324a | 81 | |
8ef63076 | 82 | [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \ |
83 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin} | |
8b3bf16e | 84 | %find_lang %{name}-2.12 |
1450324a AF |
85 | |
86 | %clean | |
87 | rm -rf $RPM_BUILD_ROOT | |
88 | ||
8387620b | 89 | %post |
8b3bf16e | 90 | %gconf_schema_install apps_exchange_addressbook-2.12.schemas |
8387620b MB |
91 | |
92 | %preun | |
8b3bf16e | 93 | %gconf_schema_uninstall apps_exchange_addressbook-2.12.schemas |
8387620b | 94 | |
8b3bf16e | 95 | %files -f %{name}-2.12.lang |
1450324a | 96 | %defattr(644,root,root,755) |
8387620b | 97 | %doc AUTHORS ChangeLog NEWS README |
8b3bf16e | 98 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.12.schemas |
1361a22c | 99 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-* |
1450324a | 100 | %attr(755,root,root) %{_libdir}/evolution-data-server-*/camel-providers/*.so |
136d3210 | 101 | %attr(755,root,root) %{_libdir}/evolution/*/evolution-exchange-storage |
1450324a | 102 | %{_datadir}/%{name} |
136d3210 | 103 | %{_libdir}/bonobo/servers/* |
104 | %{_libdir}/evolution-data-server-*/camel-providers/*.urls | |
0812a127 MB |
105 | |
106 | %files apidocs | |
107 | %defattr(644,root,root,755) | |
108 | %{_gtkdocdir}/* |