]> git.pld-linux.org Git - packages/claws-mail.git/blob - claws-mail.spec
- up to 2.5.3
[packages/claws-mail.git] / claws-mail.spec
1 #
2 # Conditional build:
3 %bcond_without  clamav          # build without clamav plugin
4 %bcond_without  compface        # build without compface support
5 %bcond_without  gnomeprint      # build without gnomeprint support
6 %bcond_without  gpg             # build without GPG support
7 %bcond_without  ipv6            # build without IPv6 support
8 %bcond_without  jpilot          # build without JPilot support
9 %bcond_without  ldap            # build without LDAP support
10 %bcond_without  ssl             # build without SSL support
11 #
12 Summary:        A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
13 Summary(pl):    Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
14 Name:           sylpheed-claws
15 Version:        2.5.3
16 Release:        1
17 License:        GPL v2
18 Group:          X11/Applications/Networking
19 Source0:        http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
20 # Source0-md5:  3e2f1d0d512943d42c3d884482612d79
21 Source1:        %{name}.desktop
22 URL:            http://www.sylpheed-claws.net/
23 BuildRequires:  aspell-devel >= 2:0.50
24 BuildRequires:  autoconf >= 2.50
25 BuildRequires:  automake
26 BuildRequires:  bzip2-devel
27 %{?with_clamav:BuildRequires:   clamav-devel}
28 %{?with_compface:BuildRequires: compface-devel}
29 BuildRequires:  gdk-pixbuf-devel >= 0.8
30 BuildRequires:  gettext-devel
31 BuildRequires:  gmp-devel
32 %{?with_gpg:BuildRequires:      gpgme-devel >= 1:0.4.5}
33 BuildRequires:  gtk+2-devel >= 2:2.6.0
34 BuildRequires:  imlib-devel >= 1.9
35 BuildRequires:  libetpan-devel >= 0.46
36 %{?with_gnomeprint:BuildRequires:       libgnomeprintui-devel}
37 BuildRequires:  libltdl-devel
38 BuildRequires:  libtool
39 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
40 %{?with_ssl:BuildRequires:      openssl-devel >= 0.9.7d}
41 %{?with_jpilot:BuildRequires:   pilot-link-devel}
42 BuildRequires:  pkgconfig
43 BuildRequires:  rpmbuild(macros) >= 1.311
44 BuildRequires:  startup-notification-devel >= 0.5
45 Requires(post,postun):  hicolor-icon-theme
46 Obsoletes:      sylpheed
47 Obsoletes:      sylpheed-gtk2
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 This program is an X based fast e-mail client which has features same
52 as orginal Sylpheed but with new/improved features. Some of new stuff
53 is really cool and useable.
54
55 %description -l pl
56 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
57 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
58 ¶wietne i u¿yteczne.
59
60 %package devel
61 Summary:        Headers from Sylpheed-Claws
62 Summary(pl):    Pliki nag³ówkowe programu Sylpheed-Claws
63 Group:          X11/Applications/Networking
64 Requires:       %{name} = %{version}-%{release}
65 Requires:       gpgme-devel >= 1:0.4.5
66 Requires:       libetpan-devel >= 0.46
67 Requires:       openssl-devel >= 0.9.7d
68
69 %description devel
70 Sylpheed-Claws development package.
71
72 %description devel -l pl
73 Pliki nag³ówkowe programu Sylpheed-Claws.
74
75 %package plugins
76 Summary:        Special plugins for Sylpheed-Claws (metapackage)
77 Summary(pl):    Dodatkowe wtyczki dla Sylpheed-Claws (metapakiet)
78 Group:          X11/Applications/Networking
79 Requires:       %{name} = %{version}-%{release}
80 Requires:       %{name}-plugin-bogofilter = %{version}-%{release}
81 %{?with_clamav:Requires: %{name}-plugin-clamav = %{version}-%{release}}
82 Requires:       %{name}-plugin-dillo = %{version}-%{release}
83 %if %{with gpg}
84 Requires:       %{name}-plugin-pgpinline = %{version}-%{release}
85 Requires:       %{name}-plugin-pgpmime = %{version}-%{release}
86 %endif
87 Requires:       %{name}-plugin-spamassassin = %{version}-%{release}
88 Requires:       %{name}-plugin-trayicon = %{version}-%{release}
89
90 %description plugins
91 This is collection of some usefull plugins for Sylpheed-Claws
92 (metapackage).
93
94 %description plugins -l pl
95 Jest to zbiór kilku dodatkowych wtyczek powiêkszaj±cych mo¿liwo¶ci
96 Sylpheed-Claws (metapakiet).
97
98 %package plugin-bogofilter
99 Summary:        Bogofilter plugin for Sylpheed-Claws
100 Summary(pl):    Wtyczka bogofilter dla Sylpheed-Claws
101 Group:          X11/Applications/Networking
102 Requires:       %{name} = %{version}-%{release}
103 Requires:       bogofilter
104
105 %description plugin-bogofilter
106 This plugin enables the scanning of incoming mail received from a POP,
107 IMAP or LOCAL account using Bogofilter. It can optionally delete mail
108 identified as spam or save it to a designated folder.
109
110 %description plugin-bogofilter -l pl
111 Wtyczka pozwalaj±ca na skanowanie bogofilterem poczty przychodz±cej
112 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
113 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
114 folderze.
115
116 %package plugin-clamav
117 Summary:        clamav plugin for Sylpheed-Claws
118 Summary(pl):    Wtyczka clamav dla Sylpheed-Claws
119 Group:          X11/Applications/Networking
120 Requires:       %{name} = %{version}-%{release}
121 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
122
123 %description plugin-clamav
124 This plugin enables the scanning of message attachments in mail
125 received from a POP, IMAP, or LOCAL account using Clam AntiVirus. It
126 can optionally delete the mail or save it to a designated folder.
127
128 %description plugin-clamav -l pl
129 Ta wtyczka pozwala na lokalne skanowanie za³±czników z poczty
130 otrzymanej przez POP, IMAP lub znajduj±cej siê w lokalnych skrzynkach.
131 Opcjonalnie mo¿e usuwaæ lub zapisywaæ zainfekowane listy w
132 przeznaczonym do tego folderze.
133
134 %package plugin-dillo
135 Summary:        dillo plugin for Sylpheed-Claws
136 Summary(pl):    Wtyczka dillo dla Sylpheed-Claws
137 Group:          X11/Applications/Networking
138 Requires:       %{name} = %{version}-%{release}
139 Requires:       dillo
140 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
141
142 %description plugin-dillo
143 This plugin enables the viewing of html messages using the Dillo web
144 browser.
145
146 %description plugin-dillo -l pl
147 Wtyczka pozwalaj±ca na przegl±danie listów pisanych w HTML przy pomocy
148 przegl±darki Dillo.
149
150 %package plugin-pgpcore
151 Summary:        PGP/Core plugin for Sylpheed-Claws
152 Summary(pl):    Wtyczka PGP/Core dla Sylpheed-Claws
153 Group:          X11/Applications/Networking
154 Requires:       %{name} = %{version}-%{release}
155 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
156
157 %description plugin-pgpcore
158 This plugin handles core PGP functions.
159
160 %description plugin-pgpcore -l pl
161 Wtyczka obs³uguj±ca podstawowe funkcje PGP.
162
163 %package plugin-pgpinline
164 Summary:        PGP/Inline plugin for Sylpheed-Claws
165 Summary(pl):    Wtyczka PGP/Inline dla Sylpheed-Claws
166 Group:          X11/Applications/Networking
167 Requires:       %{name}-plugin-pgpcore = %{version}-%{release}
168 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
169
170 %description plugin-pgpinline
171 This plugin handles PGP/Inline signed and/or encrypted mails. It can
172 decrypt mails, verify signatures or sign and encrypt your own mails.
173
174 %description plugin-pgpinline -l pl
175 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/Inline. Potrafi
176 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
177 w³asne listy.
178
179 %package plugin-pgpmime
180 Summary:        PGP/MIME plugin for Sylpheed-Claws
181 Summary(pl):    Wtyczka PGP/MIME dla Sylpheed-Claws
182 Group:          X11/Applications/Networking
183 Requires:       %{name}-plugin-pgpcore = %{version}-%{release}
184 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
185
186 %description plugin-pgpmime
187 This plugin handles PGP/MIME signed and/or encrypted mails. It can
188 decrypt mails, verify signatures or sign and encrypt your own mails.
189
190 %description plugin-pgpmime -l pl
191 Wtyczka obs³uguj±ca listy podpisane lub szyfrowane PGP/MIME. Potrafi
192 rozszyfrowywaæ, sprawdzaæ podpisy a tak¿e szyfrowaæ i podpisywaæ
193 w³asne listy.
194
195 %package plugin-spamassassin
196 Summary:        spamassassin plugin for Sylpheed-Claws
197 Summary(pl):    Wtyczka spamassassin dla Sylpheed-Claws
198 Group:          X11/Applications/Networking
199 Requires:       %{name} = %{version}-%{release}
200 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
201
202 %description plugin-spamassassin
203 This plugin enables the scanning of incoming mail received from a POP,
204 IMAP, or LOCAL account using SpamAssassin. It can optionally delete
205 mail identified as spam or save it to a designated folder, and also
206 can be used to train a local Spamassassin or a remote one.
207
208 %description plugin-spamassassin -l pl
209 Wtyczka pozwalaj±ca na skanowanie SpamAssassinem poczty przychodz±cej
210 jak i ju¿ znajduj±cej siê w lokalnych skrzynkach. Opcjonalnie mo¿e
211 usuwaæ listy oznaczone jako spam lub zapisywaæ je w dedykowanym
212 folderze. Mo¿e te¿ by¿ u¿ywana do "uczenia" lokalnego lub zdalnego
213 demona SpamAssassin.
214
215 %package plugin-trayicon
216 Summary:        trayicon plugin for Sylpheed-Claws
217 Summary(pl):    Wtyczka trayicon dla Sylpheed-Claws
218 Group:          X11/Applications/Networking
219 Requires:       %{name} = %{version}-%{release}
220 Conflicts:      sylpheed-claws-plugins <= 2.3.0-1
221
222 %description plugin-trayicon
223 This plugin places an icon in the system tray that indicates whether
224 you have any new mail. A tooltip also shows the current new, unread
225 and total number of messages, and a contextual menu allows the most
226 common operations.
227
228 %description plugin-trayicon -l pl
229 Wtyczka umieszczaj±ca w tacce systemowej ikonê informuj±c± o nadej¶ciu
230 nowej poczty. Ikona wy¶wietla dane na temat wiadomo¶ci (ilo¶æ nowych,
231 nieprzeczytanych i wszystkich) a jej menu pozwala wykonywaæ
232 najpopularniejsze operacje.
233
234 %prep
235 %setup -q
236
237 rm -f po/stamp-po
238
239 %build
240 %{__libtoolize}
241 %{__gettextize}
242 %{__aclocal} -I m4
243 %{__autoconf}
244 %{__autoheader}
245 %{__automake}
246 %configure \
247         --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
248         --%{?with_compface:en}%{!?with_compface:dis}able-compface \
249         --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
250         --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
251         --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
252         --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
253         --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
254         --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
255         --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
256         --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
257         --enable-aspell \
258         --enable-bogofilter \
259         --enable-dillo-viewer-plugin \
260         --enable-gdk-pixbuf \
261         --enable-libetpan \
262         --enable-pthread \
263         --enable-spamassassin-plugin \
264         --enable-trayicon-plugin \
265         --disable-static \
266         --with-config-dir=.sylpheed
267
268 %{__make}
269
270 %install
271 rm -rf $RPM_BUILD_ROOT
272 install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
273
274 %{__make} install \
275         DESTDIR=$RPM_BUILD_ROOT
276
277 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
278 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
279
280 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
281 rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
282
283 %find_lang %{name}
284
285 %clean
286 rm -rf $RPM_BUILD_ROOT
287
288 %post
289 %update_icon_cache hicolor
290
291 %postun
292 %update_icon_cache hicolor
293
294 %files -f %{name}.lang
295 %defattr(644,root,root,755)
296 %doc AUTHORS ChangeLog NEWS README* TODO
297 %{_mandir}/man1/%{name}.1*
298 %attr(755,root,root) %{_bindir}/*
299 %dir %{_datadir}/%{name}
300 %dir %{_datadir}/%{name}/manual
301 %dir %{_datadir}/%{name}/themes
302 %dir %{_libdir}/%{name}
303 %dir %{_libdir}/%{name}/plugins
304 %{_datadir}/%{name}/manual/en
305 %lang(es) %{_datadir}/%{name}/manual/es
306 %lang(fr) %{_datadir}/%{name}/manual/fr
307 %lang(pl) %{_datadir}/%{name}/manual/pl
308 %{_desktopdir}/%{name}.desktop
309 %{_pixmapsdir}/%{name}.png
310 %{_iconsdir}/hicolor/48x48/apps/%{name}.png
311
312 %files devel
313 %defattr(644,root,root,755)
314 %{_includedir}/%{name}
315 %{_pkgconfigdir}/*.pc
316
317 %files plugins
318 %defattr(644,root,root,755)
319
320 %files plugin-bogofilter
321 %defattr(644,root,root,755)
322 %attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
323
324 %if %{with clamav}
325 %files plugin-clamav
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
328 %endif
329
330 %files plugin-dillo
331 %defattr(644,root,root,755)
332 %attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
333
334 %if %{with gpg}
335 %files plugin-pgpcore
336 %defattr(644,root,root,755)
337 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
338
339 %files plugin-pgpinline
340 %defattr(644,root,root,755)
341 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
342
343 %files plugin-pgpmime
344 %defattr(644,root,root,755)
345 %attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
346 %endif
347
348 %files plugin-spamassassin
349 %defattr(644,root,root,755)
350 %attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
351
352 %files plugin-trayicon
353 %defattr(644,root,root,755)
354 %attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so
This page took 0.080141 seconds and 4 git commands to generate.