]> git.pld-linux.org Git - packages/evolution.git/blob - evolution.spec
- updated to 1.5
[packages/evolution.git] / evolution.spec
1
2 %bcond_without ldap
3
4 %define         mver            1.5
5 %define         subver  5
6
7 Summary:        The GNOME2 Email/Calendar/Addressbook Suite
8 Summary(pl):    Klient poczty dla GNOME2/Kalendarz/Ksi±¿ka Adresowa
9 Summary(pt_BR): Cliente de email integrado com calendário e catálogo de endereços
10 Summary(zh_CN): Evolution - GNOME2¸öÈ˺͹¤×÷×éÐÅÏ¢¹ÜÀí¹¤¾ß(°üÀ¨µç×ÓÓʼþ£¬ÈÕÀúºÍµØÖ·±¡)
11 Name:           evolution
12 Version:        %{mver}
13 Release:        1
14 License:        GPL
15 Group:          Applications/Mail
16 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/%{mver}/%{name}-%{version}.tar.bz2
17 # Source0-md5:  cc820ffb5c9e91ad79d94e700262c418
18 URL:            http://www.ximian.com/products/ximian_evolution/
19 BuildRequires:  GConf2-devel
20 BuildRequires:  ORBit2-devel >= 2.8.0
21 BuildRequires:  autoconf
22 BuildRequires:  automake
23 BuildRequires:  bison
24 BuildRequires:  flex
25 BuildRequires:  freetype-devel >= 2.0.5
26 BuildRequires:  gal-devel >= 2.1.1
27 BuildRequires:  gettext-devel
28 BuildRequires:  gnome-common
29 BuildRequires:  gnome-pilot-devel >= 2.0.0
30 BuildRequires:  gnome-vfs2-devel >= 2.4.0
31 BuildRequires:  gtk-doc >= 1.1
32 BuildRequires:  gtkhtml-devel >= 3.1.4
33 BuildRequires:  intltool >= 0.18
34 BuildRequires:  libglade2-devel
35 BuildRequires:  libgnomeprintui-devel >= 2.4.0
36 BuildRequires:  libgnomeui-devel >= 2.4.0
37 BuildRequires:  libsoup-devel >= 2.1.2
38 BuildRequires:  libtool
39 BuildRequires:  libxml2
40 BuildRequires:  nspr-devel
41 BuildRequires:  nss-devel
42 BuildRequires:  evolution-data-server >= 0.0.3
43 %{?with_ldap:BuildRequires:     openldap-devel >= 2.0.0}
44 BuildRequires:  openssl-devel >= 0.9.7c
45 BuildRequires:  pilot-link-devel >= 0.11.4
46 BuildRequires:  pkgconfig
47 BuildRequires:  psmisc
48 BuildRequires:  python
49 BuildRequires:  scrollkeeper >= 0.1.4
50 Requires(post,postun):  /sbin/ldconfig
51 Requires(post,postun):  /usr/bin/scrollkeeper-update
52 Requires(post):         GConf2
53 Requires:       GConf2
54 Requires:       bonobo-activation
55 Requires:       gal >= 2.1.1
56 Requires:       gtkhtml >= 3.1.4
57 Requires:       libglade2
58 Requires:       psmisc
59 Requires:       scrollkeeper >= 0.1.4
60 Obsoletes:      evolution2
61 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
62
63 %description
64 Evolution is the GNOME2 mailer, calendar, contact manager and
65 communications tool. The tools which make up Evolution will be tightly
66 integrated with one another and act as a seamless personal
67 information-management tool.
68
69 %description -l pl
70 Evolution to program pocztowy GNOME2, kalendarz, ksi±¿ka adresowa i
71 narzêdzie komunikacyjne.
72
73 %description -l pt_BR
74 Evolution é um cliente de email para o GNOME2 com calendário e outras
75 ferramentas interessantes.
76
77 %package devel
78 Summary:        Header files for evolution
79 Summary(pl):    Pliki nag³ówkowe i dokumentacja
80 Summary(pt_BR): Bibliotecas e arquivos de inclusão para desenvolvimento
81 Summary(zh_CN): Evolution×é¼þ¿ª·¢¿â
82 Group:          Development/Libraries
83 Requires:       %{name} = %{version}
84 Requires:       cyrus-sasl-devel
85 Requires:       freetype-devel
86 Requires:       gal-devel >= 2.1.1
87 Requires:       gnome-vfs2-devel >= 2.4.0
88 Requires:       gtkhtml-devel >= 3.1.4
89 Requires:       libglade2-devel >= 2.0.1
90 Requires:       libgnomeprintui-devel >= 2.4.0
91 Requires:       libgnomeui-devel >= 2.4.0
92 Requires:       libsoup-devel >= 2.1.2
93 Requires:       nspr-devel
94 Requires:       nss-devel
95 %{?with_ldap:Requires:  openldap-devel >= 2.0.0}
96 Requires:       openssl-devel >= 0.9.7c
97 Obsoletes:      evolution2-devel
98
99 %description devel
100 This package contains the files necessary to develop applications
101 using Evolution's libraries.
102
103 %description devel -l pl
104 Pakiet zawiera pliki potrzebne do rozwoju aplikacji u¿ywaj±cych
105 bibliotek programu Evolution.
106
107 %description devel -l pt_BR
108 Este pacote contém os arquivos necessários para desenvolvimento de
109 aplicações utilizando as bibliotecas do Evolution.
110
111 %package static
112 Summary:        Static libraries for evolution
113 Summary(pl):    Biblioteki statyczne dla evolution
114 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento
115 Group:          Development/Libraries
116 Requires:       %{name}-devel = %{version}
117 Obsoletes:      evolution2-static
118
119 %description static
120 This package contains static libraries for Evolution.
121
122 %description static -l pl
123 Pakiet zawiera statyczne biblioteki Evolution.
124
125 %description static -l pt_BR
126 Este pacote contém as bibliotecas estáticas para desenvolvimento de
127 aplicações.
128
129 %package pilot
130 Summary:        Evolution conduits for gnome-pilot
131 Summary(pl):    Dodatki do wymiany danych z gnome-pilot
132 Group:          Development/Libraries
133 Requires:       %{name} = %{version}
134 Obsoletes:      evolution2-pilot
135
136 %description pilot
137 This package contains conduits needed by gnome-pilot to synchronize
138 your Palm with Evolution.
139
140 %description pilot -l pl
141 Ten pakiet zawiera dodatki do synchronizacji danych Evolution z
142 Palmem.
143
144 %prep
145 %setup -q -a1
146
147 %build
148
149 # build evolution
150 glib-gettextize --copy --force
151 intltoolize --copy --force
152 %{__libtoolize}
153 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
154 %{__autoheader}
155 %{__autoconf}
156 %{__automake}
157 %configure \
158         --enable-gtk-doc \
159         --enable-pilot-conduits=yes \
160         %{?with_ldap:--with-openldap=yes} \
161         %{!?with_ldap:--with-openldap=no} \
162         --without-static-ldap \
163         --enable-nntp=no \
164         --enable-file-locking=fcntl --enable-dot-locking=no \
165         --with-nspr-includes="%{_includedir}/nspr" \
166         --with-nss-includes="%{_includedir}/nss" \
167         --with-nspr-libs="%{_libdir}" \
168         --with-nss-libs="%{_libdir}" \
169         --enable-ipv6=yes \
170         --with-html-dir=%{_gtkdocdir} \
171         --with-kde-applnk-path=no
172
173 # hack to rebuild *.c and *.h from *.idl (check if needed with new versions)
174 # (required if you use ORBit2-devel 2.7.2)
175 find -name \*.idl -exec touch {} \;
176
177 %{__make} \
178         GTKHTML_DATADIR=%{_datadir}/idl
179
180 %install
181 rm -rf $RPM_BUILD_ROOT
182
183 %{__make} install \
184         DESTDIR=$RPM_BUILD_ROOT \
185         KDE_APPLNK_DIR=%{_applnkdir}/Network/Mail \
186         omf_dest_dir=%{_omf_dest_dir}/%{name} \
187         GTKHTML_DATADIR=%{_datadir}/idl
188
189 # strip doesn't pass these files and they aren't necessary, so remove them
190 # probably this should be done differently, but I have no idea
191 rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/%{mver}/*/*.a
192 rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/%{mver}/libemiscwidgets.a
193 rm -f $RPM_BUILD_ROOT%{_libdir}/gnome-pilot/*/*.{a,la}
194
195 %find_lang %{name} --all-name
196
197 %clean
198 # rm -rf $RPM_BUILD_ROOT
199
200 %post
201 /sbin/ldconfig
202 /usr/bin/scrollkeeper-update
203 %gconf_schema_install
204
205 %postun
206 /sbin/ldconfig
207 /usr/bin/scrollkeeper-update
208
209 %files -f evolution.lang
210 %defattr(644,root,root,755)
211 %doc AUTHORS ChangeLog NEWS* README
212 %attr(755,root,root) %{_bindir}/*
213 %attr(755,root,root) %{_libdir}/evolution/*/*/*.so*
214 %attr(755,root,root) %{_libdir}/evolution/%{mver}/*.so.*
215 %attr(755,root,root) %{_libdir}/evolution/%{mver}/camel/*
216 %attr(755,root,root) %{_libdir}/evolution/%{mver}/evolution-alarm-notify
217 %attr(755,root,root) %{_libdir}/evolution/%{mver}/killev
218 %dir %{_libdir}/evolution
219 %dir %{_libdir}/evolution/%{mver}
220 %dir %{_libdir}/evolution/%{mver}/camel*
221 %dir %{_libdir}/evolution/%{mver}/components
222 %dir %{_libdir}/evolution-mbox-upgrade
223 %{_libdir}/bonobo/servers/*
224 %{_libdir}/evolution/%{mver}/camel-providers/*.urls
225 %dir %{_datadir}/evolution
226 %dir %{_datadir}/evolution/%{mver}
227 %{_datadir}/evolution/%{mver}/*.xml
228 %{_datadir}/evolution/%{mver}/default_user
229 %{_datadir}/evolution/%{mver}/ecps
230 %{_datadir}/evolution/%{mver}/etspec
231 %{_datadir}/evolution/%{mver}/glade
232 %{_datadir}/evolution/%{mver}/images
233 %{_datadir}/evolution/%{mver}/ui
234 %{_datadir}/evolution/%{mver}/views
235 %{_datadir}/mime-info/*
236 %{_datadir}/idl/*
237 %{_desktopdir}/*
238 %{_pixmapsdir}/*
239 %{_sysconfdir}/gconf/schemas/*
240 %{_omf_dest_dir}/%{name}
241
242 %files devel
243 %defattr(644,root,root,755)
244 %attr(755,root,root) %{_libdir}/evolution/%{mver}/*.so
245 %{_libdir}/evolution/%{mver}/*.la
246 %{_libdir}/evolution/*/*/*.la
247 %{_includedir}/*
248 %{_pkgconfigdir}/*
249
250 %files static
251 %defattr(644,root,root,755)
252
253 %files pilot
254 %defattr(644,root,root,755)
255 %attr(755,root,root) %{_libdir}/evolution/%{mver}/conduits/*
256 %{_datadir}/gnome-pilot/conduits/*
This page took 0.071241 seconds and 4 git commands to generate.