4 # - remove from *.pc files or make as shared libpcs and libpas
5 # (not required or required by multisync pkg)
12 %define _db3ver 3.1.17
13 %define _dbdir $RPM_BUILD_DIR/%{name}-%{version}/db3-headers-%{_db3ver}
15 Summary: The GNOME2 Email/Calendar/Addressbook Suite
16 Summary(pl): Klient poczty dla GNOME2/Kalendarz/Ksi±¿ka Adresowa
17 Summary(pt_BR): Cliente de email integrado com calendário e catálogo de endereços
18 Summary(zh_CN): Evolution - GNOME2¸öÈ˺͹¤×÷×éÐÅÏ¢¹ÜÀí¹¤¾ß(°üÀ¨µç×ÓÓʼþ£¬ÈÕÀúºÍµØÖ·±¡)
20 Version: %{mver}.%{subver}
23 Group: Applications/Mail
24 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/%{mver}/%{name}-%{version}.tar.bz2
25 # Source0-md5: 5a109e2b17f2b69d36526057412e9c52
26 Source1: http://www.t17.ds.pwr.wroc.pl/~wiget/%{name}-db3-headers-%{_db3ver}.tar.bz2
27 # Source1-md5: 6e5690aa2f0e5ec3e3bdfeb9106ea42a
28 Patch0: %{name}-nostaticdb3.patch
29 Patch1: %{name}-nolibs.patch
30 Patch2: %{name}-configure_in.patch
31 Patch3: %{name}-desktop.patch
32 Patch4: %{name}-pldify.patch
33 URL: http://www.ximian.com/products/ximian_evolution/
34 BuildRequires: GConf2-devel
35 BuildRequires: ORBit2-devel >= 2.7.5-1
36 BuildRequires: autoconf
37 BuildRequires: automake
41 BuildRequires: freetype-devel >= 2.0.5
42 BuildRequires: gal-devel >= 1:1.99.9
43 BuildRequires: gettext-devel
44 BuildRequires: gnome-pilot-devel >= 2.0.0
45 BuildRequires: gnome-vfs2-devel
46 BuildRequires: gtk+2-devel
47 Buildrequires: gtk-doc >= 0.6
48 BuildRequires: gtkhtml-devel >= 3.0.8
49 BuildRequires: intltool >= 0.18
50 BuildRequires: libbonoboui-devel >= 2.3.3-2
51 BuildRequires: libglade2-devel
52 BuildRequires: libgnomecanvas-devel
53 BuildRequires: libgnomeprintui-devel >= 2.2.1
54 BuildRequires: libgnomeui-devel >= 2.3.3.1-2
55 BuildRequires: libsoup-devel >= 1.99.23
56 BuildRequires: libtool
57 BuildRequires: libxml2
58 BuildRequires: nspr-devel
59 BuildRequires: nss-devel
60 %{?with_ldap:BuildRequires: openldap-devel >= 2.0.0}
61 BuildRequires: openssl-devel >= 0.9.7
62 BuildRequires: pilot-link-devel >= 0.11.4
63 BuildRequires: pkgconfig
66 BuildRequires: scrollkeeper >= 0.1.4
67 Requires(post,postun): /sbin/ldconfig
68 Requires(post,postun): /usr/bin/scrollkeeper-update
69 Requires(post): GConf2
71 Requires: bonobo-activation
72 Requires: db3 = %{_db3ver}
73 Requires: gal >= 1:1.99.9
74 Requires: gtkhtml >= 3.0.8
77 Requires: scrollkeeper >= 0.1.4
79 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
82 Evolution is the GNOME2 mailer, calendar, contact manager and
83 communications tool. The tools which make up Evolution will be tightly
84 integrated with one another and act as a seamless personal
85 information-management tool.
88 Evolution to program pocztowy GNOME2, kalendarz, ksi±¿ka adresowa i
89 narzêdzie komunikacyjne.
92 Evolution é um cliente de email para o GNOME2 com calendário e outras
93 ferramentas interessantes.
96 Summary: Header files for evolution
97 Summary(pl): Pliki nag³ówkowe i dokumentacja
98 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento
99 Summary(zh_CN): Evolution×é¼þ¿ª·¢¿â
100 Group: Development/Libraries
101 Requires: %{name} = %{version}
102 Requires: cyrus-sasl-devel
103 Requires: freetype-devel
104 Requires: gal-devel >= 1:1.99.9
105 Requires: gnome-vfs2-devel
106 Requires: gtkhtml-devel >= 3.0.8
107 Requires: libglade2-devel
108 Requires: libgnomeprintui-devel >= 2.2.1
109 Requires: libgnomeui-devel >= 2.3.3.1-2
110 Requires: libsoup-devel
113 %{?with_ldap:Requires: openldap-devel}
114 Requires: openssl-devel >= 0.9.7
115 Obsoletes: evolution2-devel
118 This package contains the files necessary to develop applications
119 using Evolution's libraries.
121 %description devel -l pl
122 Pakiet zawiera pliki potrzebne do rozwoju aplikacji u¿ywaj±cych
123 bibliotek programu Evolution.
125 %description devel -l pt_BR
126 Este pacote contém os arquivos necessários para desenvolvimento de
127 aplicações utilizando as bibliotecas do Evolution.
130 Summary: Static libraries for evolution
131 Summary(pl): Biblioteki statyczne dla evolution
132 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento
133 Group: Development/Libraries
134 Requires: %{name}-devel = %{version}
135 Obsoletes: evolution2-static
138 This package contains static libraries for Evolution.
140 %description static -l pl
141 Pakiet zawiera statyczne biblioteki Evolution.
143 %description static -l pt_BR
144 Este pacote contém as bibliotecas estáticas para desenvolvimento de
148 Summary: Evolution conduits for gnome-pilot
149 Summary(pl): Dodatki do wymiany danych z gnome-pilot
150 Group: Development/Libraries
151 Requires: %{name} = %{version}
152 Obsoletes: evolution2-pilot
155 This package contains conduits needed by gnome-pilot to synchronize
156 your Palm with Evolution.
158 %description pilot -l pl
159 Ten pakiet zawiera dodatki do synchronizacji danych Evolution z
172 glib-gettextize --copy --force
173 intltoolize --copy --force
175 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
185 automake -a -c --foreign
189 --enable-pilot-conduits=yes \
190 %{?with_ldap:--with-openldap=yes} \
191 %{!?with_ldap:--with-openldap=no} \
192 --without-static-ldap \
194 --enable-file-locking=fcntl --enable-dot-locking=no \
195 --with-nspr-includes="%{_includedir}/nspr" \
196 --with-nss-includes="%{_includedir}/nss" \
197 --with-nspr-libs="%{_libdir}" \
198 --with-nss-libs="%{_libdir}" \
200 --with-html-dir=%{_gtkdocdir} \
201 --with-db3-includes=%{_dbdir} \
202 --with-db3-libs=/lib \
203 --with-kde-applnk-path=no
205 # hack to rebuild *.c and *.h from *.idl (check if needed with new versions)
206 # (required if you use ORBit2-devel 2.7.2)
207 find -name \*.idl -exec touch {} \;
210 GTKHTML_DATADIR=%{_datadir}/idl
213 rm -rf $RPM_BUILD_ROOT
216 DESTDIR=$RPM_BUILD_ROOT \
217 KDE_APPLNK_DIR=%{_applnkdir}/Network/Mail \
218 omf_dest_dir=%{_omf_dest_dir}/%{name} \
219 GTKHTML_DATADIR=%{_datadir}/idl
221 # strip doesn't pass these files and they aren't necessary, so remove them
222 # probably this should be done differently, but I have no idea
223 rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/%{mver}/*/*.a
224 rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/%{mver}/libemiscwidgets.a
225 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/*/*.{a,la}
227 %find_lang evolution-1.4 --with-gnome
230 rm -rf $RPM_BUILD_ROOT
234 /usr/bin/scrollkeeper-update
235 %gconf_schema_install
239 /usr/bin/scrollkeeper-update
241 %files -f evolution-1.4.lang
242 %defattr(644,root,root,755)
243 %doc AUTHORS ChangeLog NEWS* README
244 %attr(755,root,root) %{_bindir}/*
245 %attr(755,root,root) %{_libdir}/evolution/*/*/*.so*
246 %attr(755,root,root) %{_libdir}/evolution/%{mver}/*.so.*
247 %attr(755,root,root) %{_libdir}/evolution/%{mver}/camel/*
248 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-alarm-notify
249 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-ldif-importer
250 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-vcard-importer
251 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-wombat
252 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-addressbook-clean
253 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-addressbook-import
254 %attr(755,root,root) %{_libdir}/evolution/%{mver}/csv2vcard
255 %attr(755,root,root) %{_libdir}/evolution/%{mver}/killev
256 %attr(755,root,root) %{_libdir}/evolution/%{mver}/load-*
257 %dir %{_libdir}/evolution
258 %dir %{_libdir}/evolution/%{mver}
259 %dir %{_libdir}/evolution/%{mver}/camel*
260 %dir %{_libdir}/evolution/%{mver}/components
261 %dir %{_libdir}/evolution/%{mver}/evolution-mail-importers
262 %{_libdir}/bonobo/servers/*
263 %{_libdir}/evolution/%{mver}/camel-providers/*.urls
264 %dir %{_datadir}/evolution
265 %dir %{_datadir}/evolution/%{mver}
266 %{_datadir}/evolution/%{mver}/*.xml
267 %{_datadir}/evolution/%{mver}/*.schema
268 %{_datadir}/evolution/%{mver}/Locations
269 %{_datadir}/evolution/%{mver}/default_user
270 %{_datadir}/evolution/%{mver}/ecps
271 %{_datadir}/evolution/%{mver}/etspec
272 %{_datadir}/evolution/%{mver}/glade
273 %{_datadir}/evolution/%{mver}/images
274 %{_datadir}/evolution/%{mver}/ui
275 %{_datadir}/evolution/%{mver}/views
276 %{_datadir}/evolution/%{mver}/zoneinfo
277 %{_datadir}/mime-info/*
281 %{_sysconfdir}/gconf/schemas/*
282 %{_omf_dest_dir}/%{name}
285 %defattr(644,root,root,755)
286 %attr(755,root,root) %{_libdir}/evolution/%{mver}/*.so
287 %{_libdir}/evolution/%{mver}/*.la
288 %{_libdir}/evolution/*/*/*.la
293 %defattr(644,root,root,755)
294 %{_libdir}/evolution/%{mver}/*.a
297 %defattr(644,root,root,755)
298 %attr(755,root,root) %{_libdir}/gnome-pilot/conduits/*
299 %{_datadir}/gnome-pilot/conduits/*