]>
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 |
f9b1b0a4 MB |
6 | Version: 2.30.1 |
7 | Release: 1 | |
1450324a AF |
8 | License: GPL v2 |
9 | Group: X11/Applications | |
31102da9 | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/2.30/%{name}-%{version}.tar.bz2 |
f9b1b0a4 | 11 | # Source0-md5: 9225241ba14d1e2183fe21078c7ed03e |
c78467a4 | 12 | BuildRequires: GConf2-devel >= 2.22.0 |
31102da9 MB |
13 | BuildRequires: autoconf >= 2.58 |
14 | BuildRequires: automake >= 1:1.9 | |
df39c44b | 15 | BuildRequires: docbook-dtd412-xml |
f9b1b0a4 MB |
16 | BuildRequires: evolution-data-server-devel >= 2.30.1 |
17 | BuildRequires: evolution-devel >= 2.30.1 | |
c78467a4 MB |
18 | BuildRequires: gettext-devel |
19 | BuildRequires: glib2-devel >= 1:2.16.1 | |
20 | BuildRequires: gnome-common >= 2.20.0 | |
21 | BuildRequires: gtk+2-devel >= 2:2.12.8 | |
31102da9 | 22 | BuildRequires: gtk-doc >= 1.9 |
8b3bf16e | 23 | BuildRequires: intltool >= 0.36.2 |
c78467a4 MB |
24 | BuildRequires: libsoup-devel >= 2.4.0 |
25 | BuildRequires: libtool | |
26 | BuildRequires: libxml2-devel >= 1:2.6.31 | |
594dc0b6 | 27 | BuildRequires: openldap-devel >= 2.4.6 |
1450324a AF |
28 | BuildRequires: pkgconfig |
29 | BuildRequires: rpmbuild(macros) >= 1.197 | |
31102da9 | 30 | BuildRequires: sed >= 4.0 |
8387620b | 31 | Requires(post,preun): GConf2 |
f9b1b0a4 | 32 | Requires: evolution >= 2.30.1 |
c78467a4 | 33 | Requires: gtk+2 >= 2:2.12.8 |
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 | ||
31102da9 MB |
61 | sed -i -e 's/^en@shaw//' po/LINGUAS |
62 | rm -f po/en@shaw.po | |
63 | ||
1450324a | 64 | %build |
485d2038 | 65 | %{__glib_gettextize} |
1361a22c | 66 | %{__intltoolize} |
c78467a4 | 67 | %{__libtoolize} |
31102da9 | 68 | %{__aclocal} -I m4 |
1450324a | 69 | %{__autoconf} |
c78467a4 | 70 | %{__autoheader} |
1450324a AF |
71 | %{__automake} |
72 | %configure \ | |
594dc0b6 | 73 | --with-openldap=/usr \ |
1361a22c | 74 | --disable-schemas-install \ |
31102da9 | 75 | --disable-silent-rules \ |
1361a22c | 76 | --enable-gtk-doc \ |
1450324a AF |
77 | --with-html-dir=%{_gtkdocdir} |
78 | %{__make} | |
79 | ||
80 | %install | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
90a436db | 84 | DESTDIR=$RPM_BUILD_ROOT |
1450324a | 85 | |
31102da9 MB |
86 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/{camel-providers,extensions}/*.{la,a} |
87 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la | |
1450324a | 88 | |
31102da9 | 89 | %find_lang %{name}-2.30 |
1450324a AF |
90 | |
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
8387620b | 94 | %post |
31102da9 | 95 | %gconf_schema_install apps_exchange_addressbook-2.30.schemas |
8387620b MB |
96 | |
97 | %preun | |
31102da9 | 98 | %gconf_schema_uninstall apps_exchange_addressbook-2.30.schemas |
8387620b | 99 | |
31102da9 | 100 | %files -f %{name}-2.30.lang |
1450324a | 101 | %defattr(644,root,root,755) |
8387620b | 102 | %doc AUTHORS ChangeLog NEWS README |
31102da9 MB |
103 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.30.schemas |
104 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-2.30 | |
c78467a4 | 105 | %attr(755,root,root) %{_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.so |
31102da9 MB |
106 | %attr(755,root,root) %{_libdir}/evolution-data-server-1.2/extensions/libebookbackendexchange.so |
107 | %attr(755,root,root) %{_libdir}/evolution-data-server-1.2/extensions/libecalbackendexchange.so | |
108 | %attr(755,root,root) %{_libdir}/evolution/2.30/plugins/liborg-gnome-exchange-operations.so | |
109 | %{_libdir}/evolution/2.30/plugins/org-gnome-exchange-operations.eplug | |
110 | %{_datadir}/evolution/2.30/errors/org-gnome-exchange-operations.error | |
c78467a4 | 111 | %{_datadir}/evolution-exchange |
c78467a4 | 112 | %{_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.urls |
0812a127 MB |
113 | |
114 | %files apidocs | |
115 | %defattr(644,root,root,755) | |
c78467a4 | 116 | %{_gtkdocdir}/evolution-exchange |