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