]> git.pld-linux.org Git - packages/claws-mail.git/blame - claws-mail.spec
- updated to 3.2.0
[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
3478bd9e 15Version: 3.2.0
e8fc0db0 16Release: 1
f65cd137 17License: GPL v3
0d611c2a 18Group: X11/Applications/Networking
ec05658d 19Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
3478bd9e 20# Source0-md5: acbfd919f7b633d51e96a0419ac07802
f5cc606b 21Source1: %{name}.desktop
7f0c3b3e 22URL: http://www.claws-mail.net/
4ee2eec1 23BuildRequires: aspell >= 2:0.50
ec05658d 24BuildRequires: aspell-devel >= 2:0.50
eeec3879 25BuildRequires: autoconf >= 2.60
0d611c2a 26BuildRequires: automake
bd6b0bc5 27BuildRequires: bzip2-devel
d8880807 28%{?with_clamav:BuildRequires: clamav-devel}
48ca524d 29%{?with_compface:BuildRequires: compface-devel}
1d10180e 30BuildRequires: gettext-devel
ceeef691 31BuildRequires: gmp-devel
efe080c2 32%{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
44d458d9 33BuildRequires: gtk+2-devel >= 2:2.6.0
e17e8978 34BuildRequires: libetpan-devel >= 0.49
d0d021dc 35%{?with_gnomeprint:BuildRequires: libgnomeprintui-devel}
1d10180e 36BuildRequires: libltdl-devel
0d611c2a 37BuildRequires: libtool
c48592ac 38%{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
a2b1e344 39%{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
d0d021dc 40%{?with_jpilot:BuildRequires: pilot-link-devel}
bd6b0bc5 41BuildRequires: pkgconfig
44d458d9 42BuildRequires: rpmbuild(macros) >= 1.311
d0d021dc 43BuildRequires: startup-notification-devel >= 0.5
eeec3879 44Requires(post,postun): gtk+2
44d458d9 45Requires(post,postun): hicolor-icon-theme
1199c73d 46Provides: sylpheed-claws
9be288ee
MB
47Obsoletes: claws-mail-plugin-etpan-privacy
48Obsoletes: claws-mail-plugin-maildir
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
0d611c2a 259
ec05658d
JB
260rm -f po/stamp-po
261
0d611c2a 262%build
87a7cfab
MB
263%{__libtoolize}
264%{__gettextize}
265%{__aclocal} -I m4
266%{__autoconf}
267%{__autoheader}
268%{__automake}
0d611c2a 269%configure \
48ca524d
MB
270 --%{?with_clamav:en}%{!?with_clamav:dis}able-clamav-plugin \
271 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
48ca524d 272 --%{?with_gnomeprint:en}%{!?with_gnomeprint:dis}able-gnomeprint \
d0d021dc 273 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
48ca524d 274 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
d0d021dc 275 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
48ca524d 276 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
d0d021dc 277 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
48ca524d 278 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
48ca524d 279 --%{?with_ssl:en}%{!?with_ssl:dis}able-openssl \
f37e9384 280 --enable-aspell \
44d458d9 281 --enable-bogofilter \
dc3d0ddd 282 --enable-dillo-viewer-plugin \
f37e9384 283 --enable-gdk-pixbuf \
dc3d0ddd 284 --enable-libetpan \
efcbcabb 285 --enable-pthread \
dc3d0ddd
MB
286 --enable-spamassassin-plugin \
287 --enable-trayicon-plugin \
7f0c3b3e 288 --disable-static
0d611c2a 289
290%{__make}
291
292%install
293rm -rf $RPM_BUILD_ROOT
d0d021dc 294install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
0d611c2a 295
296%{__make} install \
44d458d9 297 DESTDIR=$RPM_BUILD_ROOT
0d611c2a 298
d8880807 299install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
efe080c2 300install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
946fa8a3 301
d0d021dc 302rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
16ac3bfb
MB
303rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
304rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
ec05658d 305
62767999 306%find_lang %{name}
0d611c2a 307
308%clean
c9f56aa0 309rm -rf $RPM_BUILD_ROOT
0d611c2a 310
44d458d9
MB
311%post
312%update_icon_cache hicolor
313
314%postun
315%update_icon_cache hicolor
316
62767999 317%files -f %{name}.lang
0d611c2a 318%defattr(644,root,root,755)
16ac3bfb 319%doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
65ff9ee2 320%{_mandir}/man1/%{name}.1*
0d611c2a 321%attr(755,root,root) %{_bindir}/*
62767999 322%dir %{_datadir}/%{name}
16ac3bfb
MB
323%dir %{_docdir}/%{name}
324%dir %{_docdir}/%{name}/manual
d0d021dc 325%dir %{_datadir}/%{name}/themes
7ecfdd51
MB
326%dir %{_libdir}/%{name}
327%dir %{_libdir}/%{name}/plugins
16ac3bfb
MB
328%{_docdir}/%{name}/manual/en
329%lang(es) %{_docdir}/%{name}/manual/es
330%lang(fr) %{_docdir}/%{name}/manual/fr
331%lang(pl) %{_docdir}/%{name}/manual/pl
d8880807 332%{_desktopdir}/%{name}.desktop
efe080c2 333%{_pixmapsdir}/%{name}.png
9b63aae0 334%{_iconsdir}/hicolor/48x48/apps/%{name}.png
b185452a 335
b1b9f47a 336%files devel
337%defattr(644,root,root,755)
62767999 338%{_includedir}/%{name}
8875a1b2 339%{_pkgconfigdir}/*.pc
40894f82 340
d0d021dc
MB
341%files plugins
342%defattr(644,root,root,755)
343
44d458d9
MB
344%files plugin-bogofilter
345%defattr(644,root,root,755)
346%attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
347
d0d021dc
MB
348%if %{with clamav}
349%files plugin-clamav
350%defattr(644,root,root,755)
351%attr(755,root,root) %{_libdir}/%{name}/plugins/clamav_plugin.so
352%endif
353
d0d021dc
MB
354%files plugin-dillo
355%defattr(644,root,root,755)
356%attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
d0d021dc
MB
357
358%if %{with gpg}
359%files plugin-pgpcore
360%defattr(644,root,root,755)
361%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
362
363%files plugin-pgpinline
364%defattr(644,root,root,755)
365%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
366
367%files plugin-pgpmime
368%defattr(644,root,root,755)
369%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
370%endif
371
d0d021dc
MB
372%files plugin-spamassassin
373%defattr(644,root,root,755)
374%attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
d0d021dc 375
d0d021dc 376%files plugin-trayicon
40894f82 377%defattr(644,root,root,755)
d0d021dc 378%attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so
This page took 0.135222 seconds and 4 git commands to generate.