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