]> 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 compface # build without compface support
efcbcabb 4%bcond_without gpg # build without GPG support
cd4bce63 5%bcond_without ipv6 # build without IPv6 support
d0d021dc 6%bcond_without jpilot # build without JPilot support
cd4bce63 7%bcond_without ldap # build without LDAP support
9af53442 8%bcond_without tls # build without gnuTLS support
2ea78418 9#
efe080c2 10Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
281af01d 11Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń
7f0c3b3e 12Name: claws-mail
1f14e5a6 13Version: 3.6.1
9af53442 14Release: 2
f65cd137 15License: GPL v3
ac3bbb47 16Group: X11/Applications/Mail
ec05658d 17Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
1f14e5a6 18# Source0-md5: 761b8ae2d574588460a0fb1ea4931ccb
f5cc606b 19Source1: %{name}.desktop
72ee768b 20URL: http://www.claws-mail.org/
eeec3879 21BuildRequires: autoconf >= 2.60
0d611c2a 22BuildRequires: automake
bd6b0bc5 23BuildRequires: bzip2-devel
48ca524d 24%{?with_compface:BuildRequires: compface-devel}
1d10180e 25BuildRequires: gettext-devel
ceeef691 26BuildRequires: gmp-devel
efe080c2 27%{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
a78c9e83 28BuildRequires: gtk+2-devel >= 2:2.12.8
1f14e5a6 29BuildRequires: libetpan-devel >= 0.57
30BuildRequires: liblockfile-devel
1d10180e 31BuildRequires: libltdl-devel
0d611c2a 32BuildRequires: libtool
9c71148a 33%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
9af53442 34%{?with_tls:BuildRequires: gnutls-devel >= 2.6.0}
d0d021dc 35%{?with_jpilot:BuildRequires: pilot-link-devel}
bd6b0bc5 36BuildRequires: pkgconfig
44d458d9 37BuildRequires: rpmbuild(macros) >= 1.311
d0d021dc 38BuildRequires: startup-notification-devel >= 0.5
eeec3879 39Requires(post,postun): gtk+2
44d458d9 40Requires(post,postun): hicolor-icon-theme
a78c9e83 41Requires: gtk+2 >= 2:2.12.8
1199c73d 42Provides: sylpheed-claws
5f09393e 43Obsoletes: claws-mail-plugin-clamav
9be288ee
MB
44Obsoletes: claws-mail-plugin-etpan-privacy
45Obsoletes: claws-mail-plugin-maildir
f8816a1f 46Obsoletes: claws-mail-plugin-pdf_viewer
7f0c3b3e 47Obsoletes: sylpheed-claws
5f09393e 48Obsoletes: sylpheed-claws-plugin-clamav
761655de 49Obsoletes: sylpheed-gtk2
0d611c2a 50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
0d611c2a 52%description
1f6e805c 53This program is an X based fast e-mail client which has features same
54as orginal Sylpheed but with new/improved features. Some of new stuff
55is really cool and useable.
5d4f1e09 56
664cab97
JR
57%description -l pl.UTF-8
58Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed
59ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę
60świetne i użyteczne.
0d611c2a 61
b1b9f47a 62%package devel
7f0c3b3e 63Summary: Headers from Claws-Mail
281af01d 64Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail
ac3bbb47 65Group: X11/Development/Libraries
ceea85d9 66Requires: %{name} = %{version}-%{release}
43181944 67Requires: gpgme-devel >= 1:0.4.5
ff99b237 68Requires: libetpan-devel >= 0.54
9af53442 69Requires: gnutls-devel >= 2.6.0
1199c73d
MB
70Provides: sylpheed-claws-devel
71Obsoletes: sylpheed-claws-devel
b1b9f47a 72
73%description devel
7f0c3b3e 74Claws-Mail development package.
b1b9f47a 75
664cab97
JR
76%description devel -l pl.UTF-8
77Pliki nagłówkowe programu Claws-Mail.
b1b9f47a 78
d0d021dc 79%package plugins
7f0c3b3e 80Summary: Special plugins for Claws-Mail (metapackage)
281af01d 81Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet)
ac3bbb47 82Group: X11/Applications/Mail
d0d021dc 83Requires: %{name} = %{version}-%{release}
44d458d9 84Requires: %{name}-plugin-bogofilter = %{version}-%{release}
dc3d0ddd 85Requires: %{name}-plugin-dillo = %{version}-%{release}
d0d021dc
MB
86%if %{with gpg}
87Requires: %{name}-plugin-pgpinline = %{version}-%{release}
88Requires: %{name}-plugin-pgpmime = %{version}-%{release}
89%endif
1f14e5a6 90Requires: %{name}-plugin-smime = %{version}-%{release}
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
ac3bbb47 107Group: X11/Applications/Mail
44d458d9
MB
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
ac3bbb47 127Group: X11/Applications/Mail
d0d021dc
MB
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
ac3bbb47 145Group: X11/Applications/Mail
d0d021dc 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
ac3bbb47 160Group: X11/Applications/Mail
d0d021dc 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
ac3bbb47 178Group: X11/Applications/Mail
d0d021dc 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
1f14e5a6 193%package plugin-smime
194Summary: S/MIME plugin for Claws-Mail
195Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail
196Group: X11/Applications/Mail
197Requires: %{name} = %{version}-%{release}
198Provides: sylpheed-claws-plugin-smime
199Obsoletes: sylpheed-claws-plugin-smime
200Conflicts: sylpheed-claws-plugins <= 2.3.0-1
201
202%description plugin-smime
203This plugin handles S/MIME signed and/or encrypted mails. You can
204decrypt mails, verify signatures or sign and encrypt your own mails.
205
206%description plugin-smime -l pl.UTF-8
207Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi
208rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
209własne listy.
210
d0d021dc 211%package plugin-spamassassin
7f0c3b3e 212Summary: spamassassin plugin for Claws-Mail
281af01d 213Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
ac3bbb47 214Group: X11/Applications/Mail
ceea85d9 215Requires: %{name} = %{version}-%{release}
1199c73d
MB
216Provides: sylpheed-claws-plugin-spamassassin
217Obsoletes: sylpheed-claws-plugin-spamassassin
d0d021dc 218Conflicts: sylpheed-claws-plugins <= 2.3.0-1
40894f82 219
d0d021dc
MB
220%description plugin-spamassassin
221This plugin enables the scanning of incoming mail received from a POP,
222IMAP, or LOCAL account using SpamAssassin. It can optionally delete
223mail identified as spam or save it to a designated folder, and also
224can be used to train a local Spamassassin or a remote one.
40894f82 225
664cab97
JR
226%description plugin-spamassassin -l pl.UTF-8
227Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
228jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
229usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
230folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
9b63aae0 231demona SpamAssassin.
232
d0d021dc 233%package plugin-trayicon
7f0c3b3e 234Summary: trayicon plugin for Claws-Mail
281af01d 235Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
ac3bbb47 236Group: X11/Applications/Mail
d0d021dc 237Requires: %{name} = %{version}-%{release}
1199c73d
MB
238Provides: sylpheed-claws-plugin-trayicon
239Obsoletes: sylpheed-claws-plugin-trayicon
d0d021dc
MB
240Conflicts: sylpheed-claws-plugins <= 2.3.0-1
241
242%description plugin-trayicon
243This plugin places an icon in the system tray that indicates whether
244you have any new mail. A tooltip also shows the current new, unread
245and total number of messages, and a contextual menu allows the most
246common operations.
40894f82 247
664cab97
JR
248%description plugin-trayicon -l pl.UTF-8
249Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
250nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
251nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
9b63aae0 252najpopularniejsze operacje.
253
0d611c2a 254%prep
d0d021dc 255%setup -q
0d611c2a 256
ec05658d
JB
257rm -f po/stamp-po
258
0d611c2a 259%build
87a7cfab
MB
260%{__libtoolize}
261%{__gettextize}
262%{__aclocal} -I m4
263%{__autoconf}
264%{__autoheader}
265%{__automake}
0d611c2a 266%configure \
48ca524d 267 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
d0d021dc 268 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpcore-plugin \
48ca524d 269 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpmime-plugin \
d0d021dc 270 --%{?with_gpg:en}%{!?with_gpg:dis}able-pgpinline-plugin \
48ca524d 271 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
d0d021dc 272 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
48ca524d 273 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
9af53442 274 --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \
ac3bbb47 275 --enable-bogofilter-plugin \
dc3d0ddd 276 --enable-dillo-viewer-plugin \
dc3d0ddd 277 --enable-libetpan \
efcbcabb 278 --enable-pthread \
dc3d0ddd
MB
279 --enable-spamassassin-plugin \
280 --enable-trayicon-plugin \
7f0c3b3e 281 --disable-static
0d611c2a 282
283%{__make}
284
285%install
286rm -rf $RPM_BUILD_ROOT
d0d021dc 287install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}}
0d611c2a 288
289%{__make} install \
44d458d9 290 DESTDIR=$RPM_BUILD_ROOT
0d611c2a 291
d8880807 292install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
efe080c2 293install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
946fa8a3 294
d0d021dc 295rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
16ac3bfb
MB
296rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
297rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{en,es,fr,pl}/*.{pdf,ps,html}
ec05658d 298
62767999 299%find_lang %{name}
0d611c2a 300
301%clean
c9f56aa0 302rm -rf $RPM_BUILD_ROOT
0d611c2a 303
44d458d9
MB
304%post
305%update_icon_cache hicolor
306
307%postun
308%update_icon_cache hicolor
309
62767999 310%files -f %{name}.lang
0d611c2a 311%defattr(644,root,root,755)
16ac3bfb 312%doc AUTHORS ChangeLog NEWS README* RELEASE_NOTES TODO
65ff9ee2 313%{_mandir}/man1/%{name}.1*
0d611c2a 314%attr(755,root,root) %{_bindir}/*
62767999 315%dir %{_datadir}/%{name}
16ac3bfb
MB
316%dir %{_docdir}/%{name}
317%dir %{_docdir}/%{name}/manual
d0d021dc 318%dir %{_datadir}/%{name}/themes
7ecfdd51
MB
319%dir %{_libdir}/%{name}
320%dir %{_libdir}/%{name}/plugins
16ac3bfb
MB
321%{_docdir}/%{name}/manual/en
322%lang(es) %{_docdir}/%{name}/manual/es
323%lang(fr) %{_docdir}/%{name}/manual/fr
324%lang(pl) %{_docdir}/%{name}/manual/pl
d8880807 325%{_desktopdir}/%{name}.desktop
efe080c2 326%{_pixmapsdir}/%{name}.png
9b63aae0 327%{_iconsdir}/hicolor/48x48/apps/%{name}.png
b185452a 328
b1b9f47a 329%files devel
330%defattr(644,root,root,755)
62767999 331%{_includedir}/%{name}
8875a1b2 332%{_pkgconfigdir}/*.pc
40894f82 333
d0d021dc
MB
334%files plugins
335%defattr(644,root,root,755)
336
44d458d9
MB
337%files plugin-bogofilter
338%defattr(644,root,root,755)
339%attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
340
d0d021dc
MB
341%files plugin-dillo
342%defattr(644,root,root,755)
343%attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
d0d021dc
MB
344
345%if %{with gpg}
346%files plugin-pgpcore
347%defattr(644,root,root,755)
348%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
349
350%files plugin-pgpinline
351%defattr(644,root,root,755)
352%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
353
354%files plugin-pgpmime
355%defattr(644,root,root,755)
356%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
357%endif
358
1f14e5a6 359%files plugin-smime
360%defattr(644,root,root,755)
361%attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so
362
d0d021dc
MB
363%files plugin-spamassassin
364%defattr(644,root,root,755)
365%attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
d0d021dc 366
d0d021dc 367%files plugin-trayicon
40894f82 368%defattr(644,root,root,755)
d0d021dc 369%attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so
This page took 0.246913 seconds and 4 git commands to generate.