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