3 # _without_jconv - without jconv support
4 # _without_gpg - without gpg support
5 # _without_ssl - without ssl support
6 # _without_ipv6 - without ipv6 support
7 # _without_ldap - without ldap support
8 # _without_faces - without compfaces support
9 # _without_dillo - without dillo plugin (html browser)
10 # _without_clamav - without clamav plugin
11 # _with_mathml - with mathml plugin
12 # _without_trayicon - without trayicon plugin
13 # _without_spamassassin - without spamassassin plugin
15 Summary: A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
16 Summary(pl): Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
21 Group: X11/Applications/Networking
22 Source0: http://dl.sourceforge.net/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
23 Source1: %{name}.desktop
24 BuildRequires: autoconf
25 BuildRequires: automake
26 %{!?_without_clamav:BuildRequires: clamav-devel}
27 %{!?_without_faces:BuildRequires: faces-devel}
28 BuildRequires: gdk-pixbuf-devel >= 0.8
29 BuildRequires: gettext-devel
30 %{!?_without_gpg:BuildRequires: gpgme-devel < 0.4}
31 BuildRequires: gtk+-devel >= 1.2.6
32 BuildRequires: imlib-devel
33 BuildRequires: libltdl-devel
34 BuildRequires: libtool
35 %{!?_without_ldap:BuildRequires: openldap-devel}
36 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
37 BuildRequires: aspell-devel >= 0.50
38 %{!?_without_jconv:BuildRequires: libjconv-devel}
39 %{!?_without_faces:Requires: faces}
40 %{!?_without_dillo:Requires: dillo}
42 URL: http://sylpheed-claws.sourceforge.net/
43 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
46 This program is an X based fast e-mail client which has features same
47 as orginal Sylpheed but with new/improved features. Some of new stuff
48 is really cool and useable.
51 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
52 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
56 Summary: Special plugins for Sylpheed-Claws
57 Summary(pl): Dodatkowe pluginy dla Sylpheed-Claws
58 Group: X11/Applications/Networking
59 Requires: %{name} = %{version}
62 This is collection of some usefull plugins for Sylpheed-claws.
64 %description plugins -l pl
65 Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci Sylpheeda.
68 %setup -q -n sylpheed-%{version}claws -a1
69 #mv sylpheed*claws-iconset themes
70 #mv -f themes/README README.themes
81 %{!?_without_jconv:--enable-jconv} \
82 %{!?_without_gpg:--enable-gpgme} \
83 %{!?_without_ldap: --enable-ldap} \
84 %{!?_without_ssl: --enable-openssl} \
85 %{!?_without_ipv6: --enable-ipv6 } \
86 %{?_without_faces: --disable-compfaces } \
87 %{!?_without_dillo:--enable-dillo-viewer-plugin } \
88 %{!?_without_clamav:--enable-clamav-plugin } \
89 %{?_with_mathml:--enable-mathml-viewer-plugin } \
90 %{!?_without_trayicon:--enable-trayicon-plugin } \
91 %{!?_without_spamassassin:--enable-spamassassin-plugin } \
99 rm -rf $RPM_BUILD_ROOT
100 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
103 DESTDIR=$RPM_BUILD_ROOT
105 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
106 #cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
108 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
113 rm -rf $RPM_BUILD_ROOT
115 %files -f sylpheed.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS ChangeLog NEWS README* TODO
118 %{_mandir}/man1/sylpheed.1*
119 %attr(755,root,root) %{_bindir}/*
120 %dir %{_datadir}/sylpheed
121 %dir %{_datadir}/sylpheed/manual
122 %{_datadir}/sylpheed/manual/en
123 %lang(de) %{_datadir}/sylpheed/manual/de
124 %lang(es) %{_datadir}/sylpheed/manual/es
125 %lang(fr) %{_datadir}/sylpheed/manual/fr
126 %lang(ja) %{_datadir}/sylpheed/manual/ja
127 %dir %{_datadir}/sylpheed/faq
128 %{_datadir}/sylpheed/faq/en
129 %lang(de) %{_datadir}/sylpheed/faq/de
130 %lang(es) %{_datadir}/sylpheed/faq/es
131 %lang(fr) %{_datadir}/sylpheed/faq/fr
132 %lang(it) %{_datadir}/sylpheed/faq/it
133 #%{_datadir}/sylpheed/themes
134 %{_applnkdir}/Network/Mail/%{name}.desktop
135 %{_pixmapsdir}/sylpheed.png
138 %defattr(644,root,root,755)
139 %dir %{_libdir}/sylpheed
140 %dir %{_libdir}/sylpheed/plugins
141 %{_libdir}/sylpheed/plugins/*so