]> git.pld-linux.org Git - packages/claws-mail.git/blobdiff - claws-mail.spec
- fix md5 for iconset
[packages/claws-mail.git] / claws-mail.spec
index 3e329748c245250bd4212c22191145c8d4121249..5e92e36bc5df51b4a4c78e0611b994c10c5cbde6 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with    gpg             # build with GPG support (still needs obsolete version of gpgme)
+%bcond_without gpg             # build without GPG support
 %bcond_without ssl             # build without SSL support
 %bcond_without ipv6            # build without IPv6 support
 %bcond_without ldap            # build without LDAP support
 %bcond_with    mathml          # build with mathml plugin
 #
 %define                _iconver        20040929
-Summary:       A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
+Summary:       A bleeding edge branch of Sylpheed, a GTK2 based, lightweight, and fast e-mail client
 Summary(pl):   Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
 Name:          sylpheed-claws
-Version:       1.0.4
+Version:       1.9.15
 Release:       1
 License:       GPL v2
 Group:         X11/Applications/Networking
 Source0:       http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
-# Source0-md5: ac473de7189a4a9baecf16b72c34dff4
+# Source0-md5: 0d187526e0eca23b87ffa4981f7e1765
 Source1:       %{name}.desktop
 Source2:       http://dl.sourceforge.net/sylpheed-claws/sylpheed-iconset-%{_iconver}.tar.gz
 # Source2-md5: d72cf03bf3d13cf9e2785eaca3807707
@@ -35,10 +35,10 @@ BuildRequires:      bzip2-devel
 BuildRequires: gdk-pixbuf-devel >= 0.8
 BuildRequires: gettext-devel
 BuildRequires: gmp-devel
-%{?with_gpg:BuildRequires:     gpgme-devel >= 1:0.3.10}
-%{?with_gpg:BuildRequires:     gpgme-devel < 1:0.4}
+%{?with_gpg:BuildRequires:     gpgme-devel >= 1:0.4.5}
 BuildRequires: gtk+-devel >= 1.2.6
 BuildRequires: imlib-devel >= 1.9
+BuildRequires: libetpan-devel >= 0.38
 BuildRequires: libltdl-devel
 BuildRequires: libtool
 # TODO: package gtkmathview: http://helm.cs.unibo.it/mml-widget/ (0.4.3 for gtk1, 0.6.0 for gtk2)
@@ -107,19 +107,22 @@ mv sylpheed-iconset-* themes
 mv -f themes/README README.themes
 
 mv -f po/{zh_TW.Big5,zh_TW}.po
+mv -f po/{zh_TW.Big5,zh_TW}.gmo
 rm -f po/stamp-po
 
 %build
-%{__libtoolize}
-%{__gettextize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
+#%%{__libtoolize}
+#%%{__gettextize}
+#%%{__aclocal} -I m4
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
 %configure \
        %{!?with_gpg:--disable-pgpmime-plugin} \
+       %{?with_gpg:--enable-pgpmime-plugin} \
        %{?with_ldap:--enable-ldap} \
        %{?with_ssl:--enable-openssl} \
+       %{!?with_ssl:--disable-openssl} \
        %{?with_ipv6:--enable-ipv6} \
        %{!?with_faces:--disable-compface} \
        %{?with_dillo:--enable-dillo-viewer-plugin } \
@@ -133,8 +136,11 @@ rm -f po/stamp-po
        %{?with_spamassassin:--enable-spamassassin-plugin } \
        --enable-aspell \
        --enable-gdk-pixbuf \
-       --enable-threads \
-       --disable-static
+       --enable-pthread \
+       --disable-static \
+       --enable-gnomeprint \
+       --enable-libetpan \
+       --with-config-dir=.sylpheed
 
 %{__make}
 
@@ -148,7 +154,7 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 cp -a themes $RPM_BUILD_ROOT%{_datadir}/%{name}
 
-install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
+install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la
 
@@ -176,7 +182,7 @@ rm -rf $RPM_BUILD_ROOT
 %lang(fr) %{_datadir}/%{name}/faq/fr
 %lang(it) %{_datadir}/%{name}/faq/it
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/sylpheed.png
+%{_pixmapsdir}/%{name}.png
 
 %files plugins
 %defattr(644,root,root,755)
This page took 0.047306 seconds and 4 git commands to generate.