]>
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 |
c9466dcb ŁK |
6 | Version: 3.2.3 |
7 | Release: 1 | |
1450324a AF |
8 | License: GPL v2 |
9 | Group: X11/Applications | |
0b82447b | 10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/3.2/%{name}-%{version}.tar.xz |
c9466dcb | 11 | # Source0-md5: d3c99042ef707776c429734ac7d467b2 |
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 |
c9466dcb ŁK |
16 | BuildRequires: evolution-data-server-devel >= 3.2.3 |
17 | BuildRequires: evolution-devel >= 3.2.3 | |
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 | |
0b82447b ŁK |
31 | BuildRequires: tar >= 1:1.22 |
32 | BuildRequires: xz | |
8387620b | 33 | Requires(post,preun): GConf2 |
c9466dcb | 34 | Requires: evolution >= 3.2.3 |
2415b9bb | 35 | Requires: gtk+3 >= 3.0.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 | |
62 | ||
63 | %build | |
485d2038 | 64 | %{__glib_gettextize} |
1361a22c | 65 | %{__intltoolize} |
c78467a4 | 66 | %{__libtoolize} |
31102da9 | 67 | %{__aclocal} -I m4 |
1450324a | 68 | %{__autoconf} |
c78467a4 | 69 | %{__autoheader} |
1450324a AF |
70 | %{__automake} |
71 | %configure \ | |
594dc0b6 | 72 | --with-openldap=/usr \ |
1361a22c | 73 | --disable-schemas-install \ |
31102da9 | 74 | --disable-silent-rules \ |
1361a22c | 75 | --enable-gtk-doc \ |
1450324a AF |
76 | --with-html-dir=%{_gtkdocdir} |
77 | %{__make} | |
78 | ||
79 | %install | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %{__make} install \ | |
90a436db | 83 | DESTDIR=$RPM_BUILD_ROOT |
1450324a | 84 | |
2415b9bb | 85 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/{addressbook-backends,calendar-backends,camel-providers}/*.la |
0b82447b | 86 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-exchange/3.2/*.la |
80d72710 | 87 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la |
1450324a | 88 | |
0b82447b | 89 | %find_lang %{name}-3.2 |
1450324a AF |
90 | |
91 | %clean | |
92 | rm -rf $RPM_BUILD_ROOT | |
93 | ||
8387620b | 94 | %post |
0b82447b | 95 | %gconf_schema_install apps_exchange_addressbook-3.2.schemas |
8387620b MB |
96 | |
97 | %preun | |
0b82447b | 98 | %gconf_schema_uninstall apps_exchange_addressbook-3.2.schemas |
8387620b | 99 | |
0b82447b | 100 | %files -f %{name}-3.2.lang |
1450324a | 101 | %defattr(644,root,root,755) |
8387620b | 102 | %doc AUTHORS ChangeLog NEWS README |
0b82447b ŁK |
103 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-3.2.schemas |
104 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-3.2 | |
2415b9bb MB |
105 | %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendexchange.so |
106 | %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendexchange.so | |
107 | %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelexchange.so | |
108 | %{_libdir}/evolution-data-server/camel-providers/libcamelexchange.urls | |
109 | %dir %{_libdir}/evolution-exchange | |
0b82447b ŁK |
110 | %dir %{_libdir}/evolution-exchange/3.2 |
111 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.2/libevolution-exchange-shared.so | |
112 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.2/libexchange-storage.so | |
113 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.2/libexchange.so* | |
114 | %attr(755,root,root) %{_libdir}/evolution-exchange/3.2/libxntlm.so* | |
115 | %attr(755,root,root) %{_libdir}/evolution/3.2/plugins/liborg-gnome-exchange-operations.so | |
116 | %{_libdir}/evolution/3.2/plugins/org-gnome-exchange-operations.eplug | |
117 | %{_datadir}/evolution/3.2/errors/org-gnome-exchange-operations.error | |
c78467a4 | 118 | %{_datadir}/evolution-exchange |
0812a127 MB |
119 | |
120 | %files apidocs | |
121 | %defattr(644,root,root,755) | |
c78467a4 | 122 | %{_gtkdocdir}/evolution-exchange |