]>
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 |
1d92fd82 | 6 | Version: 2.28.2 |
bd121c6d | 7 | Release: 2 |
1450324a AF |
8 | License: GPL v2 |
9 | Group: X11/Applications | |
1d92fd82 MB |
10 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/2.28/%{name}-%{version}.tar.bz2 |
11 | # Source0-md5: 82f70761960c7e9efdb24650c1b3229b | |
c78467a4 | 12 | BuildRequires: GConf2-devel >= 2.22.0 |
1450324a AF |
13 | BuildRequires: autoconf >= 2.53 |
14 | BuildRequires: automake | |
df39c44b | 15 | BuildRequires: docbook-dtd412-xml |
1d92fd82 MB |
16 | BuildRequires: evolution-data-server-devel >= 2.28.2 |
17 | BuildRequires: evolution-devel >= 2.28.2 | |
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 | |
57280f44 | 22 | BuildRequires: gtk-doc >= 1.8 |
8b3bf16e | 23 | BuildRequires: intltool >= 0.36.2 |
c78467a4 MB |
24 | BuildRequires: libbonobo-devel >= 2.22.0 |
25 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
26 | BuildRequires: libgnomeui-devel >= 2.22.0 | |
27 | BuildRequires: libsoup-devel >= 2.4.0 | |
28 | BuildRequires: libtool | |
29 | BuildRequires: libxml2-devel >= 1:2.6.31 | |
594dc0b6 | 30 | BuildRequires: openldap-devel >= 2.4.6 |
1450324a AF |
31 | BuildRequires: pkgconfig |
32 | BuildRequires: rpmbuild(macros) >= 1.197 | |
8387620b | 33 | Requires(post,preun): GConf2 |
1d92fd82 | 34 | Requires: evolution >= 2.28.2 |
c78467a4 | 35 | Requires: gtk+2 >= 2:2.12.8 |
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} |
1450324a AF |
67 | %{__aclocal} |
68 | %{__autoconf} | |
c78467a4 | 69 | %{__autoheader} |
1450324a AF |
70 | %{__automake} |
71 | %configure \ | |
594dc0b6 | 72 | --with-openldap=/usr \ |
1361a22c | 73 | --disable-schemas-install \ |
74 | --enable-gtk-doc \ | |
1450324a AF |
75 | --with-html-dir=%{_gtkdocdir} |
76 | %{__make} | |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %{__make} install \ | |
90a436db | 82 | DESTDIR=$RPM_BUILD_ROOT |
1450324a | 83 | |
a04f41a4 | 84 | rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.{la,a} |
1450324a | 85 | |
1d92fd82 | 86 | %find_lang %{name}-2.28 |
1450324a AF |
87 | |
88 | %clean | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
8387620b | 91 | %post |
1d92fd82 | 92 | %gconf_schema_install apps_exchange_addressbook-2.28.schemas |
8387620b MB |
93 | |
94 | %preun | |
1d92fd82 | 95 | %gconf_schema_uninstall apps_exchange_addressbook-2.28.schemas |
8387620b | 96 | |
1d92fd82 | 97 | %files -f %{name}-2.28.lang |
1450324a | 98 | %defattr(644,root,root,755) |
8387620b | 99 | %doc AUTHORS ChangeLog NEWS README |
1d92fd82 MB |
100 | %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.28.schemas |
101 | %attr(755,root,root) %{_bindir}/exchange-connector-setup-2.28 | |
c78467a4 | 102 | %attr(755,root,root) %{_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.so |
1d92fd82 | 103 | %attr(755,root,root) %{_libdir}/evolution/2.28/evolution-exchange-storage |
c78467a4 | 104 | %{_datadir}/evolution-exchange |
1d92fd82 | 105 | %{_libdir}/bonobo/servers/GNOME_Evolution_Exchange_Storage_2.28.server |
c78467a4 | 106 | %{_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.urls |
0812a127 MB |
107 | |
108 | %files apidocs | |
109 | %defattr(644,root,root,755) | |
c78467a4 | 110 | %{_gtkdocdir}/evolution-exchange |