]>
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 |
2415b9bb | 6 | Version: 3.0.0 |
68ed6547 | 7 | Release: 1 |
1450324a AF |
8 | License: GPL v2 |
9 | Group: X11/Applications | |
2415b9bb MB |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/3.0/%{name}-%{version}.tar.bz2 |
11 | # Source0-md5: 7aeaa92408294836f484ff187434f0e7 | |
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 |
2415b9bb MB |
16 | BuildRequires: evolution-data-server-devel >= 3.0.0 |
17 | BuildRequires: evolution-devel >= 3.0.0 | |
c78467a4 | 18 | BuildRequires: gettext-devel |
2415b9bb | 19 | BuildRequires: glib2-devel >= 1:2.28.0 |
c78467a4 | 20 | BuildRequires: gnome-common >= 2.20.0 |
2415b9bb | 21 | BuildRequires: gtk+3-devel >= 3.0.0 |
31102da9 | 22 | BuildRequires: gtk-doc >= 1.9 |
8b3bf16e | 23 | BuildRequires: intltool >= 0.36.2 |
c78467a4 | 24 | BuildRequires: libsoup-devel >= 2.4.0 |
2415b9bb | 25 | BuildRequires: libtool >= 2:2.2 |
c78467a4 | 26 | BuildRequires: libxml2-devel >= 1:2.6.31 |
6ee26726 | 27 | BuildRequires: nss-devel |
594dc0b6 | 28 | BuildRequires: openldap-devel >= 2.4.6 |
1450324a AF |
29 | BuildRequires: pkgconfig |
30 | BuildRequires: rpmbuild(macros) >= 1.197 | |
8387620b | 31 | Requires(post,preun): GConf2 |
2415b9bb MB |
32 | Requires: evolution >= 3.0.0 |
33 | Requires: gtk+3 >= 3.0.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 | ||
61 | %build | |
485d2038 | 62 | %{__glib_gettextize} |
1361a22c | 63 | %{__intltoolize} |
c78467a4 | 64 | %{__libtoolize} |
31102da9 | 65 | %{__aclocal} -I m4 |
1450324a | 66 | %{__autoconf} |
c78467a4 | 67 | %{__autoheader} |
1450324a AF |
68 | %{__automake} |
69 | %configure \ | |
594dc0b6 | 70 | --with-openldap=/usr \ |
1361a22c | 71 | --disable-schemas-install \ |
31102da9 | 72 | --disable-silent-rules \ |
1361a22c | 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 | |
2415b9bb MB |
83 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/{addressbook-backends,calendar-backends,camel-providers}/*.la |
84 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-exchange/3.0/*.la | |
80d72710 | 85 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la |
1450324a | 86 | |
2415b9bb | 87 | %find_lang %{name}-3.0 |
1450324a AF |
88 | |
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
8387620b | 92 | %post |
2415b9bb | 93 | %gconf_schema_install apps_exchange_addressbook-3.0.schemas |
8387620b MB |
94 | |
95 | %preun | |
2415b9bb | 96 | %gconf_schema_uninstall apps_exchange_addressbook-3.0.schemas |
8387620b | 97 | |
2415b9bb | 98 | %files -f %{name}-3.0.lang |
1450324a | 99 | %defattr(644,root,root,755) |
8387620b | 100 | %doc AUTHORS ChangeLog NEWS README |
2415b9bb MB |
101 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-3.0.schemas |
102 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-3.0 | |
103 | %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendexchange.so | |
104 | %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendexchange.so | |
105 | %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelexchange.so | |
106 | %{_libdir}/evolution-data-server/camel-providers/libcamelexchange.urls | |
107 | %dir %{_libdir}/evolution-exchange | |
108 | %dir %{_libdir}/evolution-exchange/3.0 | |
109 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.0/libevolution-exchange-shared.so | |
110 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.0/libexchange-storage.so | |
111 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.0/libexchange.so* | |
112 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.0/libxntlm.so* | |
113 | %attr(755,root,root) %{_libdir}/evolution/3.0/plugins/liborg-gnome-exchange-operations.so | |
114 | %{_libdir}/evolution/3.0/plugins/org-gnome-exchange-operations.eplug | |
115 | %{_datadir}/evolution/3.0/errors/org-gnome-exchange-operations.error | |
c78467a4 | 116 | %{_datadir}/evolution-exchange |
0812a127 MB |
117 | |
118 | %files apidocs | |
119 | %defattr(644,root,root,755) | |
c78467a4 | 120 | %{_gtkdocdir}/evolution-exchange |