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