]> 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
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
9bbf8a6a 13Version: 3.7.10
00c21278 14Release: 2
9bbf8a6a 15License: GPL v3+
ac3bbb47 16Group: X11/Applications/Mail
e2134520 17Source0: http://downloads.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
9bbf8a6a 18# Source0-md5: fcf58dcff52f0908ff3bc368d820408b
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
b81c91b6 27%{?with_tls:BuildRequires: gnutls-devel >= 2.6.0}
efe080c2 28%{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
66a37a7a 29BuildRequires: gtk+2-devel >= 2:2.24.0
1f14e5a6 30BuildRequires: libetpan-devel >= 0.57
31BuildRequires: liblockfile-devel
1d10180e 32BuildRequires: libltdl-devel
0d611c2a 33BuildRequires: libtool
9c71148a 34%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
d0d021dc 35%{?with_jpilot:BuildRequires: pilot-link-devel}
bd6b0bc5 36BuildRequires: pkgconfig
44d458d9 37BuildRequires: rpmbuild(macros) >= 1.311
9bbf8a6a 38BuildRequires: sed >= 4.0
d0d021dc 39BuildRequires: startup-notification-devel >= 0.5
e2134520 40Requires(post,postun): gtk-update-icon-cache
44d458d9 41Requires(post,postun): hicolor-icon-theme
66a37a7a 42Requires: gtk+2 >= 2:2.24.0
1199c73d 43Provides: sylpheed-claws
5f09393e 44Obsoletes: claws-mail-plugin-clamav
9be288ee
MB
45Obsoletes: claws-mail-plugin-etpan-privacy
46Obsoletes: claws-mail-plugin-maildir
f8816a1f 47Obsoletes: claws-mail-plugin-pdf_viewer
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
ac3bbb47 66Group: X11/Development/Libraries
ceea85d9 67Requires: %{name} = %{version}-%{release}
b81c91b6 68Requires: gnutls-devel >= 2.6.0
43181944 69Requires: gpgme-devel >= 1:0.4.5
ff99b237 70Requires: libetpan-devel >= 0.54
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)
ac3bbb47 83Group: X11/Applications/Mail
d0d021dc 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
1f14e5a6 91Requires: %{name}-plugin-smime = %{version}-%{release}
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
ac3bbb47 108Group: X11/Applications/Mail
44d458d9
MB
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-dillo
7f0c3b3e 126Summary: dillo plugin for Claws-Mail
281af01d 127Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail
ac3bbb47 128Group: X11/Applications/Mail
d0d021dc
MB
129Requires: %{name} = %{version}-%{release}
130Requires: dillo
1199c73d
MB
131Provides: sylpheed-claws-plugin-dillo
132Obsoletes: sylpheed-claws-plugin-dillo
d0d021dc
MB
133Conflicts: sylpheed-claws-plugins <= 2.3.0-1
134
135%description plugin-dillo
136This plugin enables the viewing of html messages using the Dillo web
137browser.
138
664cab97
JR
139%description plugin-dillo -l pl.UTF-8
140Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy
141przeglądarki Dillo.
9b63aae0 142
d0d021dc 143%package plugin-pgpcore
7f0c3b3e 144Summary: PGP/Core plugin for Claws-Mail
281af01d 145Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail
ac3bbb47 146Group: X11/Applications/Mail
d0d021dc 147Requires: %{name} = %{version}-%{release}
1199c73d
MB
148Provides: sylpheed-claws-plugin-pgpcore
149Obsoletes: sylpheed-claws-plugin-pgpcore
d0d021dc
MB
150Conflicts: sylpheed-claws-plugins <= 2.3.0-1
151
152%description plugin-pgpcore
153This plugin handles core PGP functions.
154
664cab97
JR
155%description plugin-pgpcore -l pl.UTF-8
156Wtyczka obsługująca podstawowe funkcje PGP.
9b63aae0 157
d0d021dc 158%package plugin-pgpinline
7f0c3b3e 159Summary: PGP/Inline plugin for Claws-Mail
281af01d 160Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail
ac3bbb47 161Group: X11/Applications/Mail
d0d021dc 162Requires: %{name}-plugin-pgpcore = %{version}-%{release}
1199c73d
MB
163Provides: sylpheed-claws-plugin-pgpinline
164Obsoletes: sylpheed-claws-plugin-pgpinline
d0d021dc
MB
165Conflicts: sylpheed-claws-plugins <= 2.3.0-1
166
167%description plugin-pgpinline
168This plugin handles PGP/Inline signed and/or encrypted mails. It can
169decrypt mails, verify signatures or sign and encrypt your own mails.
170
664cab97
JR
171%description plugin-pgpinline -l pl.UTF-8
172Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi
173rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
174własne listy.
9b63aae0 175
d0d021dc 176%package plugin-pgpmime
7f0c3b3e 177Summary: PGP/MIME plugin for Claws-Mail
281af01d 178Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail
ac3bbb47 179Group: X11/Applications/Mail
d0d021dc 180Requires: %{name}-plugin-pgpcore = %{version}-%{release}
1199c73d
MB
181Provides: sylpheed-claws-plugin-pgpmime
182Obsoletes: sylpheed-claws-plugin-pgpmime
d0d021dc
MB
183Conflicts: sylpheed-claws-plugins <= 2.3.0-1
184
185%description plugin-pgpmime
186This plugin handles PGP/MIME signed and/or encrypted mails. It can
187decrypt mails, verify signatures or sign and encrypt your own mails.
188
664cab97
JR
189%description plugin-pgpmime -l pl.UTF-8
190Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi
191rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
192własne listy.
9b63aae0 193
1f14e5a6 194%package plugin-smime
195Summary: S/MIME plugin for Claws-Mail
196Summary(pl.UTF-8): Wtyczka S/MIME dla Claws-Mail
197Group: X11/Applications/Mail
198Requires: %{name} = %{version}-%{release}
33d76782 199Requires: %{name}-plugin-pgpcore = %{version}-%{release}
1f14e5a6 200Provides: sylpheed-claws-plugin-smime
201Obsoletes: sylpheed-claws-plugin-smime
1f14e5a6 202
203%description plugin-smime
204This plugin handles S/MIME signed and/or encrypted mails. You can
205decrypt mails, verify signatures or sign and encrypt your own mails.
206
207%description plugin-smime -l pl.UTF-8
208Wtyczka obsługująca listy podpisane lub szyfrowane S/MIME. Potrafi
209rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać
210własne listy.
211
d0d021dc 212%package plugin-spamassassin
7f0c3b3e 213Summary: spamassassin plugin for Claws-Mail
281af01d 214Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail
ac3bbb47 215Group: X11/Applications/Mail
ceea85d9 216Requires: %{name} = %{version}-%{release}
1199c73d
MB
217Provides: sylpheed-claws-plugin-spamassassin
218Obsoletes: sylpheed-claws-plugin-spamassassin
d0d021dc 219Conflicts: sylpheed-claws-plugins <= 2.3.0-1
40894f82 220
d0d021dc
MB
221%description plugin-spamassassin
222This plugin enables the scanning of incoming mail received from a POP,
223IMAP, or LOCAL account using SpamAssassin. It can optionally delete
224mail identified as spam or save it to a designated folder, and also
225can be used to train a local Spamassassin or a remote one.
40894f82 226
664cab97
JR
227%description plugin-spamassassin -l pl.UTF-8
228Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej
229jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może
230usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym
231folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego
9b63aae0 232demona SpamAssassin.
233
d0d021dc 234%package plugin-trayicon
7f0c3b3e 235Summary: trayicon plugin for Claws-Mail
281af01d 236Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail
ac3bbb47 237Group: X11/Applications/Mail
d0d021dc 238Requires: %{name} = %{version}-%{release}
1199c73d
MB
239Provides: sylpheed-claws-plugin-trayicon
240Obsoletes: sylpheed-claws-plugin-trayicon
d0d021dc
MB
241Conflicts: sylpheed-claws-plugins <= 2.3.0-1
242
243%description plugin-trayicon
244This plugin places an icon in the system tray that indicates whether
245you have any new mail. A tooltip also shows the current new, unread
246and total number of messages, and a contextual menu allows the most
247common operations.
40894f82 248
664cab97
JR
249%description plugin-trayicon -l pl.UTF-8
250Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu
251nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych,
252nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać
9b63aae0 253najpopularniejsze operacje.
254
0d611c2a 255%prep
d0d021dc 256%setup -q
0d611c2a 257
9bbf8a6a 258%{__rm} po/stamp-po
ec05658d 259
ab88c80f 260# pt_PT -> pt hack
261mv -f po/{pt_PT,pt}.po
262%{__sed} -i -e 's,pt_PT,pt,g' src/codeconv.c
263%{__sed} -i -e 's,pt_PT,pt,g' configure
264%{__sed} -i -e 's,pt_PT,pt,g' configure.ac
265
0d611c2a 266%build
87a7cfab
MB
267%{__libtoolize}
268%{__gettextize}
269%{__aclocal} -I m4
270%{__autoconf}
271%{__autoheader}
272%{__automake}
0d611c2a 273%configure \
48ca524d 274 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
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 \
9af53442 281 --%{?with_tls:en}%{!?with_tls:dis}able-gnutls \
ac3bbb47 282 --enable-bogofilter-plugin \
dc3d0ddd 283 --enable-dillo-viewer-plugin \
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
9bbf8a6a 302%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la}
303%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES
304%{__rm} $RPM_BUILD_ROOT%{_docdir}/%{name}/manual/{de,en,es,fr,pl}/*.{pdf,ps,html,txt}
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 323%dir %{_docdir}/%{name}
d0d021dc 324%dir %{_datadir}/%{name}/themes
7ecfdd51
MB
325%dir %{_libdir}/%{name}
326%dir %{_libdir}/%{name}/plugins
d8880807 327%{_desktopdir}/%{name}.desktop
efe080c2 328%{_pixmapsdir}/%{name}.png
9b63aae0 329%{_iconsdir}/hicolor/48x48/apps/%{name}.png
11e9d739 330%{_iconsdir}/hicolor/64x64/apps/%{name}.png
331%{_iconsdir}/hicolor/128x128/apps/%{name}.png
b185452a 332
b1b9f47a 333%files devel
334%defattr(644,root,root,755)
62767999 335%{_includedir}/%{name}
8875a1b2 336%{_pkgconfigdir}/*.pc
40894f82 337
d0d021dc
MB
338%files plugins
339%defattr(644,root,root,755)
340
44d458d9
MB
341%files plugin-bogofilter
342%defattr(644,root,root,755)
343%attr(755,root,root) %{_libdir}/%{name}/plugins/bogofilter.so
344
d0d021dc
MB
345%files plugin-dillo
346%defattr(644,root,root,755)
347%attr(755,root,root) %{_libdir}/%{name}/plugins/dillo_viewer.so
d0d021dc
MB
348
349%if %{with gpg}
350%files plugin-pgpcore
351%defattr(644,root,root,755)
352%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpcore.so
353
354%files plugin-pgpinline
355%defattr(644,root,root,755)
356%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpinline.so
357
358%files plugin-pgpmime
359%defattr(644,root,root,755)
360%attr(755,root,root) %{_libdir}/%{name}/plugins/pgpmime.so
361%endif
362
1f14e5a6 363%files plugin-smime
364%defattr(644,root,root,755)
365%attr(755,root,root) %{_libdir}/%{name}/plugins/smime.so
366
d0d021dc
MB
367%files plugin-spamassassin
368%defattr(644,root,root,755)
369%attr(755,root,root) %{_libdir}/%{name}/plugins/spamassassin.so
d0d021dc 370
d0d021dc 371%files plugin-trayicon
40894f82 372%defattr(644,root,root,755)
d0d021dc 373%attr(755,root,root) %{_libdir}/%{name}/plugins/trayicon.so
This page took 1.600514 seconds and 4 git commands to generate.