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
9 Summary: A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
10 Summary(pl): Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
15 Group: X11/Applications/Networking
16 Source0: http://dl.sourceforge.net/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
17 Source1: http://dl.sourceforge.net/sylpheed-claws/sylpheed-0.8.7claws-iconset.tar.gz
18 Source2: %{name}.desktop
19 Patch0: %{name}-po.patch
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: faces-devel
23 BuildRequires: gdk-pixbuf-devel >= 0.8
24 BuildRequires: gettext-devel
25 %{!?_without_gpg:BuildRequires: gpgme-devel < 0.4}
26 BuildRequires: gtk+-devel >= 1.2.6
27 BuildRequires: imlib-devel
28 BuildRequires: libltdl-devel
29 BuildRequires: libtool
30 %{!?_without_ldap:BuildRequires: openldap-devel}
31 %{!?_without_ssl:BuildRequires: openssl-devel >= 0.9.7}
32 BuildRequires: aspell-devel >= 0.50
33 %{!?_without_jconv:BuildRequires: libjconv-devel}
36 URL: http://sylpheed-claws.sourceforge.net/
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 This program is an X based fast e-mail client which has features same
41 as orginal Sylpheed but with new/improved features. Some of new stuff
42 is really cool and useable.
45 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
46 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
50 %setup -q -n sylpheed-%{version}claws -a1
52 mv sylpheed*claws-iconset themes
53 mv -f themes/README README.themes
64 %{!?_without_jconv:--enable-jconv} \
65 %{!?_without_gpg:--enable-gpgme} \
66 %{!?_without_ldap: --enable-ldap} \
67 %{!?_without_ssl: --enable-openssl} \
68 %{!?_without_ipv6: --enable-ipv6 } \
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
80 DESTDIR=$RPM_BUILD_ROOT
82 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
83 cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
85 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
90 rm -rf $RPM_BUILD_ROOT
92 %files -f sylpheed.lang
93 %defattr(644,root,root,755)
94 %doc AUTHORS ChangeLog NEWS README* TODO
95 %{_mandir}/man1/sylpheed.1*
96 %attr(755,root,root) %{_bindir}/*
97 %dir %{_datadir}/sylpheed
98 %dir %{_datadir}/sylpheed/manual
99 %{_datadir}/sylpheed/manual/en
100 %lang(de) %{_datadir}/sylpheed/manual/de
101 %lang(es) %{_datadir}/sylpheed/manual/es
102 %lang(fr) %{_datadir}/sylpheed/manual/fr
103 %lang(ja) %{_datadir}/sylpheed/manual/ja
104 %dir %{_datadir}/sylpheed/faq
105 %{_datadir}/sylpheed/faq/en
106 %lang(de) %{_datadir}/sylpheed/faq/de
107 %lang(es) %{_datadir}/sylpheed/faq/es
108 %lang(fr) %{_datadir}/sylpheed/faq/fr
109 %lang(it) %{_datadir}/sylpheed/faq/it
110 %{_datadir}/sylpheed/themes
111 %{_applnkdir}/Network/Mail/%{name}.desktop
112 %{_pixmapsdir}/sylpheed.png