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