3 %bcond_without compface # without compface support
4 %bcond_without gpg # without GnuPG support
5 %bcond_without gtkspell # without gtkspell support
6 %bcond_without ipv6 # without IPv6 support
7 %bcond_without jpilot # without JPilot support
8 %bcond_without ldap # without LDAP support
9 %bcond_without ssl # without SSL support
10 %bcond_with oniguruma # with oniguruma support
12 Summary: GTK+ based fast e-mail client
13 Summary(pl.UTF-8): Szybki klient poczty bazujący na GTK+
14 Summary(pt_BR.UTF-8): Um rápido e leve cliente de email baseado em GTK+
19 Group: X11/Applications/Networking
20 Source0: http://sylpheed.sraoss.jp/sylpheed/v3.1/%{name}-%{version}.tar.bz2
21 # Source0-md5: 17100ab8ef5ef7e431bdbcff68bbf7b4
22 Patch0: %{name}-nolibs.patch
23 URL: http://sylpheed.sraoss.jp/en/
24 BuildRequires: autoconf >= 2.50
25 BuildRequires: automake
26 %{?with_compface:BuildRequires: compface-devel}
27 BuildRequires: dbus-glib-devel
28 BuildRequires: gettext-tools
29 %{?with_gpg:BuildRequires: gpgme-devel >= 1:0.4.5}
30 BuildRequires: gtk+2-devel >= 2:2.4.0
31 %{?with_gtkspell:BuildRequires: gtkspell-devel}
32 BuildRequires: libassuan-devel
33 BuildRequires: libtool
34 %{?with_ldap:BuildRequires: openldap-devel >= 2.4.6}
35 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.8b}
36 BuildRequires: perl-base
37 %{?with_jpilot:BuildRequires: pilot-link-devel}
38 BuildRequires: pkgconfig
40 %{?with_jpilot:Requires: pilot-link}
41 Obsoletes: sylpheed-gtk2
42 # sr@Latn vs. sr@latin
43 Conflicts: glibc-misc < 6:2.7
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 This program is an X based fast e-mail client which has features (or
49 - user-friendly and intuitive interface
50 - integrated NetNews client (partially implemented)
51 - ability of keyboard-only operation
52 - Mew/Wanderlust-like key bind
54 - unlimited multiple account handling
59 %description -l pl.UTF-8
60 Szybki klient poczty o możliwościach takich jak:
61 - przyjazny, intuicyjny interfejs użytkownika
62 - zintegrowany klient USENET
63 - możliwość pracy wyłącznie przy użyciu klawiatury
64 - klawiszologia typu Mew/Wanderlust
65 - obsługa wieloczęściowych MIME
66 - obsługa dowolnej ilości kont pocztowych
67 - funkcje sortowania5- książka adresowa
68 - wsparcie szyfrowania SSL
70 %description -l pt_BR.UTF-8
71 Este programa é um rápido cliente de email modo gráfico o qual possui
73 - interface gráfica intuitiva e amigável
74 - cliente integrado de notícias (parcialmente implementado)
75 - habilitado para operacão a partir do teclado
76 - Mew/Wanderlust-like key bind
78 - controle de múltiplas contas de email (sem limite)
79 - armazenamento de mensagens
80 - funcão de ordenacão/classificacão de mensagens
81 - catálogo de enderecos XML-based
87 mv -f po/{sr,sr@latin}.po
89 %{__perl} -pi -e 's/ sr / sr\@latin /' configure.in
98 --%{?with_compface:en}%{!?with_compface:dis}able-compface \
99 --%{?with_gpg:en}%{!?with_gpg:dis}able-gpgme \
100 --%{?with_gtkspell:en}%{!?with_gtkspell}able-gtkspell \
101 --%{?with_ipv6:en}%{!?with_ipv6:dis}able-ipv6 \
102 --%{?with_jpilot:en}%{!?with_jpilot:dis}able-jpilot \
103 --%{?with_ldap:en}%{!?with_ldap:dis}able-ldap \
104 --%{?with_oniguruma:en}%{!?with_oniguruma:dis}able-oniguruma \
105 --%{?with_ssl:en}%{!?with_ssl:dis}able-ssl
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
113 DESTDIR=$RPM_BUILD_ROOT
115 install %{name}.desktop $RPM_BUILD_ROOT%{_desktopdir}
116 install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
118 find $RPM_BUILD_ROOT '(' -name '*.a' -o -name '*.la' -o -name '*.h' -o -name '*-test' ')' -print0 | xargs -0 %{__rm}
123 rm -rf $RPM_BUILD_ROOT
125 %files -f %{name}.lang
126 %defattr(644,root,root,755)
127 %doc AUTHORS ChangeLog NEWS README TODO
128 %attr(755,root,root) %{_bindir}/*
129 %dir %{_datadir}/%{name}
130 %dir %{_datadir}/%{name}/manual
131 %{_datadir}/%{name}/manual/en
132 %lang(ja) %{_datadir}/%{name}/manual/ja
133 %dir %{_datadir}/%{name}/faq
134 %{_datadir}/%{name}/faq/en
135 %lang(de) %{_datadir}/%{name}/faq/de
136 %lang(es) %{_datadir}/%{name}/faq/es
137 %lang(fr) %{_datadir}/%{name}/faq/fr
138 %lang(it) %{_datadir}/%{name}/faq/it
139 %{_desktopdir}/sylpheed.desktop
140 %attr(755,root,root) %{_libdir}/libsylph-0.so.1
141 %attr(755,root,root) %{_libdir}/libsylph-0.so.*.*.*
142 %attr(755,root,root) %{_libdir}/libsylpheed-plugin-0.so.1
143 %attr(755,root,root) %{_libdir}/libsylpheed-plugin-0.so.*.*.*
144 %{_pixmapsdir}/sylpheed.png