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
16 %define _sname sylpheed
17 %define _iconver 20031130
18 Summary: A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
19 Summary(pl): Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
24 Group: X11/Applications/Networking
25 Source0: http://dl.sourceforge.net/%{name}/%{_sname}-%{version}claws.tar.bz2
26 # Source0-md5: a46fdb6abb3faec84660e58ccf96e869
27 Source1: %{name}.desktop
28 Source2: http://dl.sourceforge.net/%{name}/%{_sname}-iconset-%{_iconver}.tar.gz
29 # Source2-md5: 7dd2785cc0fb1cdfa2f953a9e4e298ca
30 URL: http://sylpheed-claws.sourceforge.net/
31 BuildRequires: autoconf
32 BuildRequires: automake
33 %{!?_without_clamav:BuildRequires: clamav-devel}
34 %{!?_without_faces:BuildRequires: faces-devel}
35 BuildRequires: gdk-pixbuf-devel >= 0.8
36 BuildRequires: gettext-devel
37 BuildRequires: gmp-devel
38 %{!?_without_gpg:BuildRequires: gpgme-devel < 0.4}
39 BuildRequires: gtk+-devel >= 1.2.6
40 BuildRequires: imlib-devel
41 BuildRequires: libltdl-devel
42 BuildRequires: libtool
43 %{!?_without_ldap:BuildRequires: openldap-devel}
44 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7c}
45 BuildRequires: aspell-devel >= 0.50
46 %{!?_without_jconv:BuildRequires: libjconv-devel}
47 %{!?_without_faces:Requires: faces}
49 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 This program is an X based fast e-mail client which has features same
53 as orginal Sylpheed but with new/improved features. Some of new stuff
54 is really cool and useable.
57 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
58 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
62 Summary: Special plugins for Sylpheed-Claws
63 Summary(pl): Dodatkowe pluginy dla Sylpheed-Claws
64 Group: X11/Applications/Networking
65 Requires: %{name} = %{version}
66 %{!?_without_dillo:Requires: dillo}
69 This is collection of some usefull plugins for Sylpheed-claws.
71 %description plugins -l pl
72 Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci Sylpheeda.
75 Summary: Headers from Sylpheed-Claws
76 Summary(pl): Pliki nag³ówkowe programu Sylpheed-Claws
77 Group: X11/Applications/Networking
78 Requires: %{name} = %{version}
81 Sylpheed-Claws development package.
83 %description devel -l pl
84 Pliki nag³ówkowe programu Sylpheed-Claws.
87 Summary: Themes for Sylpheed-Claws
88 Summary(pl): Motywy dla programu Sylpheed-Claws
89 Group: X11/Applications/Networking
90 Requires: %{name} = %{version}
93 Sylpheed-Claws themes package.
95 %description themes -l pl
96 Motywy dla programu Sylpheed-Claws.
99 %setup -q -n %{_sname}-%{version}claws -a1 -a2
100 mv %{_sname}-iconset-* themes
101 mv -f themes/README README.themes
112 %{!?_without_jconv:--enable-jconv} %{?_without_jconv:--disable-jconv} \
113 %{!?_without_gpg:--enable-gpgme} %{?_without_gpg:--disable-gpgme} \
114 %{!?_without_ldap:--enable-ldap} \
115 %{!?_without_ssl:--enable-openssl} \
116 %{!?_without_ipv6:--enable-ipv6 } \
117 %{?_without_faces:--disable-compfaces } \
118 %{!?_without_dillo:--enable-dillo-viewer-plugin } \
119 %{?_without_dillo:--disable-dillo-viewer-plugin } \
120 %{!?_without_clamav:--enable-clamav-plugin } \
121 %{?_without_clamav:--disable-clamav-plugin } \
122 %{?_with_mathml:--enable-mathml-viewer-plugin } \
123 %{!?_with_mathml:--disable-mathml-viewer-plugin } \
124 %{!?_without_trayicon:--enable-trayicon-plugin } \
125 %{?_without_trayicon:--disable-trayicon-plugin } \
126 %{!?_without_spamassassin:--enable-spamassassin-plugin } \
128 --enable-gdk-pixbuf \
134 rm -rf $RPM_BUILD_ROOT
135 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
138 DESTDIR=$RPM_BUILD_ROOT
140 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
141 cp -a themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}
143 install %{_sname}.png $RPM_BUILD_ROOT%{_pixmapsdir}
148 rm -rf $RPM_BUILD_ROOT
150 %files -f %{_sname}.lang
151 %defattr(644,root,root,755)
152 %doc AUTHORS ChangeLog NEWS README* TODO
153 %{_mandir}/man1/%{_sname}.1*
154 %attr(755,root,root) %{_bindir}/*
155 %dir %{_datadir}/%{_sname}
156 %dir %{_datadir}/%{_sname}/manual
157 %{_datadir}/%{_sname}/manual/en
158 %lang(de) %{_datadir}/%{_sname}/manual/de
159 %lang(es) %{_datadir}/%{_sname}/manual/es
160 %lang(fr) %{_datadir}/%{_sname}/manual/fr
161 %lang(ja) %{_datadir}/%{_sname}/manual/ja
162 %dir %{_datadir}/%{_sname}/faq
163 %{_datadir}/%{_sname}/faq/en
164 %lang(de) %{_datadir}/%{_sname}/faq/de
165 %lang(es) %{_datadir}/%{_sname}/faq/es
166 %lang(fr) %{_datadir}/%{_sname}/faq/fr
167 %lang(it) %{_datadir}/%{_sname}/faq/it
168 %{_applnkdir}/Network/Mail/%{name}.desktop
169 %{_pixmapsdir}/%{_sname}.png
172 %defattr(644,root,root,755)
173 %dir %{_libdir}/%{_sname}
174 %dir %{_libdir}/%{_sname}/plugins
175 %attr(755,root,root) %{_libdir}/%{_sname}/plugins/*so
178 %defattr(644,root,root,755)
179 %{_includedir}/%{_sname}
180 %{_pkgconfigdir}/*.pc
183 %defattr(644,root,root,755)
184 %{_datadir}/%{_sname}/themes