]> git.pld-linux.org Git - packages/claws-mail.git/blobdiff - claws-mail.spec
- rel up for rebuild with new openldap
[packages/claws-mail.git] / claws-mail.spec
index 3755b463a31614ef0fbb90da01d7930ae95b69ce..6099f4efc8247228fe074e708967dab784401af5 100644 (file)
@@ -1,25 +1,23 @@
 #
 # Conditional build:
-%bcond_without jconv   # build without jconv support
-%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_without faces   # build without compfaces support
-%bcond_without dillo   # build without dillo plugin (html browser)
-%bcond_without clamav  # build without clamav plugin
-%bcond_with mathml     # build with mathml plugin
-%bcond_without trayicon        # buildwithout trayicon plugin
-%bcond_without spamassassin    # build without spamassassin plugin
+%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_without faces           # build without compfaces support
+%bcond_without dillo           # build without dillo plugin (html browser)
+%bcond_without clamav          # build without clamav plugin
+%bcond_without spamassassin    # build without spamassassin plugin
+%bcond_without trayicon        # build without trayicon plugin
+%bcond_with    mathml          # build with mathml plugin
 #
-
 %define                _sname  sylpheed
 %define                _iconver        20040206
 Summary:       A bleeding edge branch of Sylpheed, a GTK+ based, lightweight, and fast e-mail client
 Summary(pl):   Rozwojowa wersja Sylpheed z du¿± ilo¶ci± zmian oraz ulepszeñ
 Name:          %{_sname}-claws
 Version:       0.9.9
-Release:       2
+Release:       5
 License:       GPL v2
 Group:         X11/Applications/Networking
 Source0:       http://dl.sourceforge.net/%{name}/%{_sname}-%{version}claws.tar.bz2
@@ -37,14 +35,17 @@ BuildRequires:      bzip2-devel
 BuildRequires: gdk-pixbuf-devel >= 0.8
 BuildRequires: gettext-devel
 BuildRequires: gmp-devel
+%{?with_gpg:BuildRequires:     gpgme-devel >= 0.3.10}
 %{?with_gpg:BuildRequires:     gpgme-devel < 0.4}
 BuildRequires: gtk+-devel >= 1.2.6
 BuildRequires: imlib-devel
-%{?with_jconv:BuildRequires:   libjconv-devel}
 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)
+%{?with_mathml:BuildRequires:  gtkmathview >= 0.4.2}
+%{?with_mathml:BuildRequires:  gtkmathview < 0.5}
 %{?with_ldap:BuildRequires:    openldap-devel}
-%{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7c}
+%{?with_ssl:BuildRequires:     openssl-devel >= 0.9.7d}
 BuildRequires: pkgconfig
 %{?with_faces:Requires:        faces}
 Obsoletes:     sylpheed
@@ -64,7 +65,7 @@ ale z nowymi/poprawionymi funkcjami. Niekt
 Summary:       Special plugins for Sylpheed-Claws
 Summary(pl):   Dodatkowe pluginy dla Sylpheed-Claws
 Group:         X11/Applications/Networking
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 %{?with_dillo:Requires:        dillo}
 
 %description plugins
@@ -77,7 +78,7 @@ Jest to zbi
 Summary:       Headers from Sylpheed-Claws
 Summary(pl):   Pliki nag³ówkowe programu Sylpheed-Claws
 Group:         X11/Applications/Networking
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description devel
 Sylpheed-Claws development package.
@@ -89,7 +90,7 @@ Pliki nag
 Summary:       Themes for Sylpheed-Claws
 Summary(pl):   Motywy dla programu Sylpheed-Claws
 Group:         X11/Applications/Networking
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 
 %description themes
 Sylpheed-Claws themes package.
@@ -111,20 +112,19 @@ rm -f missing
 %{__autoheader}
 %{__automake}
 %configure \
-       %{?with_jconv:--enable-jconv} %{?without_jconv:--disable-jconv} \
-       %{?with_gpg:--enable-gpgme} %{?without_gpg:--disable-gpgme} \
+       %{?with_gpg:--enable-gpgme} %{!?with_gpg:--disable-gpgme} \
        %{?with_ldap:--enable-ldap} \
        %{?with_ssl:--enable-openssl} \
        %{?with_ipv6:--enable-ipv6 } \
-       %{?without_faces:--disable-compfaces } \
+       %{!?with_faces:--disable-compface} \
        %{?with_dillo:--enable-dillo-viewer-plugin } \
-       %{?without_dillo:--disable-dillo-viewer-plugin } \
+       %{!?with_dillo:--disable-dillo-viewer-plugin } \
        %{?with_clamav:--enable-clamav-plugin } \
-       %{?without_clamav:--disable-clamav-plugin } \
+       %{!?with_clamav:--disable-clamav-plugin } \
        %{?with_mathml:--enable-mathml-viewer-plugin } \
-       %{?without_mathml:--disable-mathml-viewer-plugin } \
+       %{!?with_mathml:--disable-mathml-viewer-plugin } \
        %{?with_trayicon:--enable-trayicon-plugin } \
-       %{?without_trayicon:--disable-trayicon-plugin } \
+       %{!?with_trayicon:--disable-trayicon-plugin } \
        %{?with_spamassassin:--enable-spamassassin-plugin } \
        --enable-aspell \
        --enable-gdk-pixbuf \
This page took 0.081154 seconds and 4 git commands to generate.