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