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