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