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