]> git.pld-linux.org Git - packages/evolution-exchange.git/blob - evolution-exchange.spec
b92b862d813bf528171b7341651f8b7d9aecb8e3
[packages/evolution-exchange.git] / evolution-exchange.spec
1 #
2 %define filterout_ld    -Wl,--as-needed
3 Summary:        Microsoft Exchange support for Evolution
4 Summary(pl.UTF-8):      Wsparcie dla Microsoft Exchange w Evolution
5 Name:           evolution-exchange
6 Version:        3.2.1
7 Release:        2
8 License:        GPL v2
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/3.2/%{name}-%{version}.tar.xz
11 # Source0-md5:  f75259ced38aa86f57ec08978151e537
12 BuildRequires:  GConf2-devel >= 2.22.0
13 BuildRequires:  autoconf >= 2.58
14 BuildRequires:  automake >= 1:1.9
15 BuildRequires:  docbook-dtd412-xml
16 BuildRequires:  evolution-data-server-devel >= 3.2.0
17 BuildRequires:  evolution-devel >= 3.2.0
18 BuildRequires:  gettext-devel
19 BuildRequires:  glib2-devel >= 1:2.28.0
20 BuildRequires:  gnome-common >= 2.20.0
21 BuildRequires:  gtk+3-devel >= 3.0.0
22 BuildRequires:  gtk-doc >= 1.9
23 BuildRequires:  intltool >= 0.36.2
24 BuildRequires:  libsoup-devel >= 2.4.0
25 BuildRequires:  libtool >= 2:2.2
26 BuildRequires:  libxml2-devel >= 1:2.6.31
27 BuildRequires:  nss-devel
28 BuildRequires:  openldap-devel >= 2.4.6
29 BuildRequires:  pkgconfig
30 BuildRequires:  rpmbuild(macros) >= 1.197
31 BuildRequires:  tar >= 1:1.22
32 BuildRequires:  xz
33 Requires(post,preun):   GConf2
34 Requires:       evolution >= 3.2.0
35 Requires:       gtk+3 >= 3.0.0
36 Obsoletes:      ximian-connector
37 # sr@Latn vs. sr@latin
38 Conflicts:      glibc-misc < 6:2.7
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 This package adds support for Microsoft Exchange 2000 and 2003 to
43 Evolution.
44
45 %description -l pl.UTF-8
46 Ten pakiet dodaje do Evolution obsługę Microsoft Exchange 2000 i 2003.
47
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
60 %prep
61 %setup -q
62
63 %build
64 %{__glib_gettextize}
65 %{__intltoolize}
66 %{__libtoolize}
67 %{__aclocal} -I m4
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         --with-openldap=/usr \
73         --disable-schemas-install \
74         --disable-silent-rules \
75         --enable-gtk-doc \
76         --with-html-dir=%{_gtkdocdir}
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/{addressbook-backends,calendar-backends,camel-providers}/*.la
86 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-exchange/3.2/*.la
87 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la
88
89 %find_lang %{name}-3.2
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post
95 %gconf_schema_install apps_exchange_addressbook-3.2.schemas
96
97 %preun
98 %gconf_schema_uninstall apps_exchange_addressbook-3.2.schemas
99
100 %files -f %{name}-3.2.lang
101 %defattr(644,root,root,755)
102 %doc AUTHORS ChangeLog NEWS README
103 %{_sysconfdir}/gconf/schemas/apps_exchange_addressbook-3.2.schemas
104 %attr(755,root,root) %{_bindir}/exchange-connector-setup-3.2
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
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
118 %{_datadir}/evolution-exchange
119
120 %files apidocs
121 %defattr(644,root,root,755)
122 %{_gtkdocdir}/evolution-exchange
This page took 0.103403 seconds and 2 git commands to generate.