2 # _without_jconv - without jconv support
4 Summary: A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
5 Summary(pl): Osobno rozwijana wersja Sylpheed z paroma zmianami/ulepszeniami
10 Group: X11/Applications/Networking
11 Source0: http://telia.dl.sourceforge.net/sourceforge/sylpheed-claws/sylpheed-%{version}claws.tar.gz
12 Source1: http://prdownloads.sourceforge.net/sylpheed-claws/sylpheed-theme-pak2.tar.bz2
13 Source2: %{name}.desktop
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: imlib-devel
18 BuildRequires: faces-devel
19 BuildRequires: gettext-devel
20 BuildRequires: gdk-pixbuf-devel >= 0.8
21 BuildRequires: gtk+-devel >= 1.2.6
22 BuildRequires: gtkhtml-devel >= 0.10.1
23 BuildRequires: libtool
24 BuildRequires: openldap-devel
25 BuildRequires: openssl-devel
26 BuildRequires: gpgme-devel
27 BuildRequires: pspell-devel >= 12.2-5
28 BuildRequires: libltdl-static
29 %{!?_without_jconv:BuildRequires: libjconv-devel}
32 URL: http://sylpheed-claws.sourceforge.net/
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _prefix /usr/X11R6
36 %define _mandir %{_prefix}/man
39 This program is an X based fast e-mail client which has features same
40 as orginal Sylpheed but with new/improved features. Some of new stuff
41 is really cool and useable.
44 Szybki klient poczty o mo¿liwo¶ciach takich jak oryginalny Sylpheed
45 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
49 %setup -q -n sylpheed-%{version}claws
53 mv -f README ../README.themes
63 automake --add-missing --foreign --copy
65 %{!?_without_jconv:--enable-jconv} \
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
82 DESTDIR=$RPM_BUILD_ROOT \
84 install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
85 install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
86 cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
91 rm -rf $RPM_BUILD_ROOT
93 %files -f sylpheed.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog NEWS README* TODO
96 %{_mandir}/man1/sylpheed.1.gz
97 %attr(755,root,root) %{_bindir}/*
98 %dir %{_datadir}/sylpheed
99 %dir %{_datadir}/sylpheed/manual
100 %{_datadir}/sylpheed/manual/en
101 %lang(de) %{_datadir}/sylpheed/manual/de
102 %lang(es) %{_datadir}/sylpheed/manual/es
103 %lang(fr) %{_datadir}/sylpheed/manual/fr
104 %lang(ja) %{_datadir}/sylpheed/manual/ja
105 %dir %{_datadir}/sylpheed/faq
106 %{_datadir}/sylpheed/faq/en
107 %lang(de) %{_datadir}/sylpheed/faq/de
108 %lang(es) %{_datadir}/sylpheed/faq/es
109 %lang(fr) %{_datadir}/sylpheed/faq/fr
110 %lang(it) %{_datadir}/sylpheed/faq/it
111 %{_datadir}/sylpheed/themes
112 %{_applnkdir}/Network/Mail/%{name}.desktop
113 %{_pixmapsdir}/sylpheed.png