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