]>
Commit | Line | Data |
---|---|---|
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 | 10 | Summary: A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client |
281af01d | 11 | Summary(pl.UTF-8): Rozwojowa wersja Sylpheed z dużą ilością zmian oraz ulepszeń |
7f0c3b3e | 12 | Name: claws-mail |
ac3bbb47 MB |
13 | Version: 3.5.0 |
14 | Release: 1 | |
f65cd137 | 15 | License: GPL v3 |
ac3bbb47 | 16 | Group: X11/Applications/Mail |
ec05658d | 17 | Source0: http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2 |
ac3bbb47 | 18 | # Source0-md5: 597a9a0b9d113325de6fd01500c0af98 |
f5cc606b | 19 | Source1: %{name}.desktop |
72ee768b | 20 | URL: http://www.claws-mail.org/ |
4ee2eec1 | 21 | BuildRequires: aspell >= 2:0.50 |
ec05658d | 22 | BuildRequires: aspell-devel >= 2:0.50 |
eeec3879 | 23 | BuildRequires: autoconf >= 2.60 |
0d611c2a | 24 | BuildRequires: automake |
bd6b0bc5 | 25 | BuildRequires: bzip2-devel |
48ca524d | 26 | %{?with_compface:BuildRequires: compface-devel} |
1d10180e | 27 | BuildRequires: gettext-devel |
ceeef691 | 28 | BuildRequires: gmp-devel |
efe080c2 | 29 | %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5} |
ac3bbb47 | 30 | BuildRequires: gtk+2-devel >= 2:2.10.0 |
ff99b237 | 31 | BuildRequires: libetpan-devel >= 0.54 |
1d10180e | 32 | BuildRequires: libltdl-devel |
0d611c2a | 33 | BuildRequires: 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 | 37 | BuildRequires: pkgconfig |
44d458d9 | 38 | BuildRequires: rpmbuild(macros) >= 1.311 |
d0d021dc | 39 | BuildRequires: startup-notification-devel >= 0.5 |
eeec3879 | 40 | Requires(post,postun): gtk+2 |
44d458d9 | 41 | Requires(post,postun): hicolor-icon-theme |
ac3bbb47 | 42 | Requires: gtk+2 >= 2:2.10.0 |
1199c73d | 43 | Provides: sylpheed-claws |
5f09393e | 44 | Obsoletes: claws-mail-plugin-clamav |
9be288ee MB |
45 | Obsoletes: claws-mail-plugin-etpan-privacy |
46 | Obsoletes: claws-mail-plugin-maildir | |
7f0c3b3e | 47 | Obsoletes: sylpheed-claws |
5f09393e | 48 | Obsoletes: sylpheed-claws-plugin-clamav |
761655de | 49 | Obsoletes: sylpheed-gtk2 |
0d611c2a | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
0d611c2a | 52 | %description |
1f6e805c | 53 | This program is an X based fast e-mail client which has features same |
54 | as orginal Sylpheed but with new/improved features. Some of new stuff | |
55 | is really cool and useable. | |
5d4f1e09 | 56 | |
664cab97 JR |
57 | %description -l pl.UTF-8 |
58 | Szybki klient poczty o możliwościach takich jak oryginalny Sylpheed | |
59 | ale z nowymi/poprawionymi funkcjami. Niektóre dodatki są naprawdę | |
60 | świetne i użyteczne. | |
0d611c2a | 61 | |
b1b9f47a | 62 | %package devel |
7f0c3b3e | 63 | Summary: Headers from Claws-Mail |
281af01d | 64 | Summary(pl.UTF-8): Pliki nagłówkowe programu Claws-Mail |
ac3bbb47 | 65 | Group: X11/Development/Libraries |
ceea85d9 | 66 | Requires: %{name} = %{version}-%{release} |
43181944 | 67 | Requires: gpgme-devel >= 1:0.4.5 |
ff99b237 | 68 | Requires: libetpan-devel >= 0.54 |
43181944 | 69 | Requires: openssl-devel >= 0.9.7d |
1199c73d MB |
70 | Provides: sylpheed-claws-devel |
71 | Obsoletes: sylpheed-claws-devel | |
b1b9f47a | 72 | |
73 | %description devel | |
7f0c3b3e | 74 | Claws-Mail development package. |
b1b9f47a | 75 | |
664cab97 JR |
76 | %description devel -l pl.UTF-8 |
77 | Pliki nagłówkowe programu Claws-Mail. | |
b1b9f47a | 78 | |
d0d021dc | 79 | %package plugins |
7f0c3b3e | 80 | Summary: Special plugins for Claws-Mail (metapackage) |
281af01d | 81 | Summary(pl.UTF-8): Dodatkowe wtyczki dla Claws-Mail (metapakiet) |
ac3bbb47 | 82 | Group: X11/Applications/Mail |
d0d021dc | 83 | Requires: %{name} = %{version}-%{release} |
44d458d9 | 84 | Requires: %{name}-plugin-bogofilter = %{version}-%{release} |
dc3d0ddd | 85 | Requires: %{name}-plugin-dillo = %{version}-%{release} |
d0d021dc MB |
86 | %if %{with gpg} |
87 | Requires: %{name}-plugin-pgpinline = %{version}-%{release} | |
88 | Requires: %{name}-plugin-pgpmime = %{version}-%{release} | |
89 | %endif | |
dc3d0ddd MB |
90 | Requires: %{name}-plugin-spamassassin = %{version}-%{release} |
91 | Requires: %{name}-plugin-trayicon = %{version}-%{release} | |
a6cfdb5b | 92 | Provides: sylpheed-claws-plugins = %{version} |
1199c73d | 93 | Obsoletes: sylpheed-claws-plugins |
d0d021dc MB |
94 | |
95 | %description plugins | |
7f0c3b3e | 96 | This is collection of some usefull plugins for Claws-Mail |
d0d021dc MB |
97 | (metapackage). |
98 | ||
664cab97 JR |
99 | %description plugins -l pl.UTF-8 |
100 | Jest to zbiór kilku dodatkowych wtyczek powiększających możliwości | |
7f0c3b3e | 101 | Claws-Mail (metapakiet). |
d0d021dc | 102 | |
44d458d9 | 103 | %package plugin-bogofilter |
7f0c3b3e | 104 | Summary: Bogofilter plugin for Claws-Mail |
281af01d | 105 | Summary(pl.UTF-8): Wtyczka bogofilter dla Claws-Mail |
ac3bbb47 | 106 | Group: X11/Applications/Mail |
44d458d9 MB |
107 | Requires: %{name} = %{version}-%{release} |
108 | Requires: bogofilter | |
1199c73d MB |
109 | Provides: sylpheed-claws-plugin-bogofilter |
110 | Obsoletes: sylpheed-claws-plugin-bogofilter | |
44d458d9 MB |
111 | |
112 | %description plugin-bogofilter | |
113 | This plugin enables the scanning of incoming mail received from a POP, | |
114 | IMAP or LOCAL account using Bogofilter. It can optionally delete mail | |
115 | identified as spam or save it to a designated folder. | |
116 | ||
664cab97 JR |
117 | %description plugin-bogofilter -l pl.UTF-8 |
118 | Wtyczka pozwalająca na skanowanie bogofilterem poczty przychodzącej | |
119 | jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może | |
120 | usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym | |
44d458d9 MB |
121 | folderze. |
122 | ||
d0d021dc | 123 | %package plugin-dillo |
7f0c3b3e | 124 | Summary: dillo plugin for Claws-Mail |
281af01d | 125 | Summary(pl.UTF-8): Wtyczka dillo dla Claws-Mail |
ac3bbb47 | 126 | Group: X11/Applications/Mail |
d0d021dc MB |
127 | Requires: %{name} = %{version}-%{release} |
128 | Requires: dillo | |
1199c73d MB |
129 | Provides: sylpheed-claws-plugin-dillo |
130 | Obsoletes: sylpheed-claws-plugin-dillo | |
d0d021dc MB |
131 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
132 | ||
133 | %description plugin-dillo | |
134 | This plugin enables the viewing of html messages using the Dillo web | |
135 | browser. | |
136 | ||
664cab97 JR |
137 | %description plugin-dillo -l pl.UTF-8 |
138 | Wtyczka pozwalająca na przeglądanie listów pisanych w HTML przy pomocy | |
139 | przeglądarki Dillo. | |
9b63aae0 | 140 | |
d0d021dc | 141 | %package plugin-pgpcore |
7f0c3b3e | 142 | Summary: PGP/Core plugin for Claws-Mail |
281af01d | 143 | Summary(pl.UTF-8): Wtyczka PGP/Core dla Claws-Mail |
ac3bbb47 | 144 | Group: X11/Applications/Mail |
d0d021dc | 145 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
146 | Provides: sylpheed-claws-plugin-pgpcore |
147 | Obsoletes: sylpheed-claws-plugin-pgpcore | |
d0d021dc MB |
148 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
149 | ||
150 | %description plugin-pgpcore | |
151 | This plugin handles core PGP functions. | |
152 | ||
664cab97 JR |
153 | %description plugin-pgpcore -l pl.UTF-8 |
154 | Wtyczka obsługująca podstawowe funkcje PGP. | |
9b63aae0 | 155 | |
d0d021dc | 156 | %package plugin-pgpinline |
7f0c3b3e | 157 | Summary: PGP/Inline plugin for Claws-Mail |
281af01d | 158 | Summary(pl.UTF-8): Wtyczka PGP/Inline dla Claws-Mail |
ac3bbb47 | 159 | Group: X11/Applications/Mail |
d0d021dc | 160 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1199c73d MB |
161 | Provides: sylpheed-claws-plugin-pgpinline |
162 | Obsoletes: sylpheed-claws-plugin-pgpinline | |
d0d021dc MB |
163 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
164 | ||
165 | %description plugin-pgpinline | |
166 | This plugin handles PGP/Inline signed and/or encrypted mails. It can | |
167 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
168 | ||
664cab97 JR |
169 | %description plugin-pgpinline -l pl.UTF-8 |
170 | Wtyczka obsługująca listy podpisane lub szyfrowane PGP/Inline. Potrafi | |
171 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
172 | własne listy. | |
9b63aae0 | 173 | |
d0d021dc | 174 | %package plugin-pgpmime |
7f0c3b3e | 175 | Summary: PGP/MIME plugin for Claws-Mail |
281af01d | 176 | Summary(pl.UTF-8): Wtyczka PGP/MIME dla Claws-Mail |
ac3bbb47 | 177 | Group: X11/Applications/Mail |
d0d021dc | 178 | Requires: %{name}-plugin-pgpcore = %{version}-%{release} |
1199c73d MB |
179 | Provides: sylpheed-claws-plugin-pgpmime |
180 | Obsoletes: sylpheed-claws-plugin-pgpmime | |
d0d021dc MB |
181 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
182 | ||
183 | %description plugin-pgpmime | |
184 | This plugin handles PGP/MIME signed and/or encrypted mails. It can | |
185 | decrypt mails, verify signatures or sign and encrypt your own mails. | |
186 | ||
664cab97 JR |
187 | %description plugin-pgpmime -l pl.UTF-8 |
188 | Wtyczka obsługująca listy podpisane lub szyfrowane PGP/MIME. Potrafi | |
189 | rozszyfrowywać, sprawdzać podpisy a także szyfrować i podpisywać | |
190 | własne listy. | |
9b63aae0 | 191 | |
d0d021dc | 192 | %package plugin-spamassassin |
7f0c3b3e | 193 | Summary: spamassassin plugin for Claws-Mail |
281af01d | 194 | Summary(pl.UTF-8): Wtyczka spamassassin dla Claws-Mail |
ac3bbb47 | 195 | Group: X11/Applications/Mail |
ceea85d9 | 196 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
197 | Provides: sylpheed-claws-plugin-spamassassin |
198 | Obsoletes: sylpheed-claws-plugin-spamassassin | |
d0d021dc | 199 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
40894f82 | 200 | |
d0d021dc MB |
201 | %description plugin-spamassassin |
202 | This plugin enables the scanning of incoming mail received from a POP, | |
203 | IMAP, or LOCAL account using SpamAssassin. It can optionally delete | |
204 | mail identified as spam or save it to a designated folder, and also | |
205 | can be used to train a local Spamassassin or a remote one. | |
40894f82 | 206 | |
664cab97 JR |
207 | %description plugin-spamassassin -l pl.UTF-8 |
208 | Wtyczka pozwalająca na skanowanie SpamAssassinem poczty przychodzącej | |
209 | jak i już znajdującej się w lokalnych skrzynkach. Opcjonalnie może | |
210 | usuwać listy oznaczone jako spam lub zapisywać je w dedykowanym | |
211 | folderze. Może też byż używana do "uczenia" lokalnego lub zdalnego | |
9b63aae0 | 212 | demona SpamAssassin. |
213 | ||
d0d021dc | 214 | %package plugin-trayicon |
7f0c3b3e | 215 | Summary: trayicon plugin for Claws-Mail |
281af01d | 216 | Summary(pl.UTF-8): Wtyczka trayicon dla Claws-Mail |
ac3bbb47 | 217 | Group: X11/Applications/Mail |
d0d021dc | 218 | Requires: %{name} = %{version}-%{release} |
1199c73d MB |
219 | Provides: sylpheed-claws-plugin-trayicon |
220 | Obsoletes: sylpheed-claws-plugin-trayicon | |
d0d021dc MB |
221 | Conflicts: sylpheed-claws-plugins <= 2.3.0-1 |
222 | ||
223 | %description plugin-trayicon | |
224 | This plugin places an icon in the system tray that indicates whether | |
225 | you have any new mail. A tooltip also shows the current new, unread | |
226 | and total number of messages, and a contextual menu allows the most | |
227 | common operations. | |
40894f82 | 228 | |
664cab97 JR |
229 | %description plugin-trayicon -l pl.UTF-8 |
230 | Wtyczka umieszczająca w tacce systemowej ikonę informującą o nadejściu | |
231 | nowej poczty. Ikona wyświetla dane na temat wiadomości (ilość nowych, | |
232 | nieprzeczytanych i wszystkich) a jej menu pozwala wykonywać | |
9b63aae0 | 233 | najpopularniejsze operacje. |
234 | ||
0d611c2a | 235 | %prep |
d0d021dc | 236 | %setup -q |
0d611c2a | 237 | |
ec05658d JB |
238 | rm -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 | |
268 | rm -rf $RPM_BUILD_ROOT | |
d0d021dc | 269 | install -d $RPM_BUILD_ROOT{%{_datadir}/%{name}/themes,%{_desktopdir},%{_pixmapsdir}} |
0d611c2a | 270 | |
271 | %{__make} install \ | |
44d458d9 | 272 | DESTDIR=$RPM_BUILD_ROOT |
0d611c2a | 273 | |
d8880807 | 274 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
efe080c2 | 275 | install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} |
946fa8a3 | 276 | |
d0d021dc | 277 | rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.{deps,la} |
16ac3bfb MB |
278 | rm -f $RPM_BUILD_ROOT%{_docdir}/%{name}/RELEASE_NOTES |
279 | rm -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 | 284 | rm -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 |