]> git.pld-linux.org Git - packages/evolution-exchange.git/blob - evolution-exchange.spec
dc7acd33cd3ffa12b1cacfbb90cebf1e6ad87399
[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.0.1
7 Release:        1
8 License:        GPL v2
9 Group:          X11/Applications
10 Source0:        http://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/3.0/%{name}-%{version}.tar.bz2
11 # Source0-md5:  e2c34cec6f6d3b45e4786b6b48398984
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.0.0
17 BuildRequires:  evolution-devel >= 3.0.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 Requires(post,preun):   GConf2
32 Requires:       evolution >= 3.0.0
33 Requires:       gtk+3 >= 3.0.0
34 Obsoletes:      ximian-connector
35 # sr@Latn vs. sr@latin
36 Conflicts:      glibc-misc < 6:2.7
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 This package adds support for Microsoft Exchange 2000 and 2003 to
41 Evolution.
42
43 %description -l pl.UTF-8
44 Ten pakiet dodaje do Evolution obsługę Microsoft Exchange 2000 i 2003.
45
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
58 %prep
59 %setup -q
60
61 %build
62 %{__glib_gettextize}
63 %{__intltoolize}
64 %{__libtoolize}
65 %{__aclocal} -I m4
66 %{__autoconf}
67 %{__autoheader}
68 %{__automake}
69 %configure \
70         --with-openldap=/usr \
71         --disable-schemas-install \
72         --disable-silent-rules \
73         --enable-gtk-doc \
74         --with-html-dir=%{_gtkdocdir}
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
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
85 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/plugins/*.la
86
87 %find_lang %{name}-3.0
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post
93 %gconf_schema_install apps_exchange_addressbook-3.0.schemas
94
95 %preun
96 %gconf_schema_uninstall apps_exchange_addressbook-3.0.schemas
97
98 %files -f %{name}-3.0.lang
99 %defattr(644,root,root,755)
100 %doc AUTHORS ChangeLog NEWS README
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
116 %{_datadir}/evolution-exchange
117
118 %files apidocs
119 %defattr(644,root,root,755)
120 %{_gtkdocdir}/evolution-exchange
This page took 0.026924 seconds and 2 git commands to generate.