]> git.pld-linux.org Git - packages/claws-mail.git/blobdiff - claws-mail.spec
- md5 sorry
[packages/claws-mail.git] / claws-mail.spec
index c7f1981389cfa34f955531350f7472583d408ed6..0cef534ff350aec3dba061b88076742881137eed 100644 (file)
@@ -5,21 +5,27 @@
 # _without_ssl          - without ssl support
 # _without_ipv6         - without ipv6 support
 # _without_ldap         - without ldap support
+# _without_faces        - without compfaces support
+# _without_dillo       - without dillo plugin (html browser)
+# _without_clamav      - without clamav plugin
+# _with_mathml         - with mathml plugin
+# _without_trayicon    - without trayicon plugin
+# _without_spamassassin - without spamassassin plugin
 #
 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:          sylpheed-claws
-Version:       0.9.0
-Release:       1
+Version:       0.9.3
+Release:       0.1
 License:       GPL
 Group:         X11/Applications/Networking
 Source0:       http://dl.sourceforge.net/sylpheed-claws/sylpheed-%{version}claws.tar.bz2
-# Source0-md5:  e547783629300e5a1a06fb5f20b9f7fd
+# Source0-md5: b44d9136604802c5d34f91f92514c989
 Source1:       %{name}.desktop
-Patch0:                %{name}-po.patch
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: faces-devel
+%{!?_without_clamav:BuildRequires:     clamav-devel}
+%{!?_without_faces:BuildRequires:      faces-devel}
 BuildRequires: gdk-pixbuf-devel >= 0.8
 BuildRequires: gettext-devel
 %{!?_without_gpg:BuildRequires: gpgme-devel < 0.4}
@@ -31,7 +37,8 @@ BuildRequires:        libtool
 %{!?_without_ssl:BuildRequires:        openssl-devel >= 0.9.7}
 BuildRequires: aspell-devel >= 0.50
 %{!?_without_jconv:BuildRequires:   libjconv-devel}
-Requires:      faces
+%{!?_without_faces:Requires:   faces}
+%{!?_without_dillo:Requires:   dillo}
 Obsoletes:     sylpheed
 URL:           http://sylpheed-claws.sourceforge.net/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,11 +53,22 @@ Szybki klient poczty o mo
 ale z nowymi/poprawionymi funkcjami. Niektóre dodatki s± naprawdê
 ¶wietne i u¿yteczne.
 
+%package plugins
+Summary:        Special plugins for Sylpheed-Claws
+Summary(pl):    Dodatkowe pluginy dla Sylpheed-Claws
+Group:          X11/Applications/Networking
+Requires:       %{name} = %{version}
+
+%description plugins
+This is collection of some usefull plugins for Sylpheed-claws.
+
+%description plugins -l pl
+Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci Sylpheeda.
+
 %prep
 %setup -q -n sylpheed-%{version}claws -a1
-#%patch0 -p1
-mv sylpheed*claws-iconset themes
-mv -f themes/README README.themes
+#mv sylpheed*claws-iconset themes
+#mv -f themes/README README.themes
 
 %build
 rm -f missing
@@ -66,6 +84,12 @@ rm -f missing
        %{!?_without_ldap: --enable-ldap} \
        %{!?_without_ssl: --enable-openssl} \
        %{!?_without_ipv6: --enable-ipv6 } \
+       %{?_without_faces: --disable-compfaces } \
+       %{!?_without_dillo:--enable-dillo-viewer-plugin } \
+       %{!?_without_clamav:--enable-clamav-plugin } \
+       %{?_with_mathml:--enable-mathml-viewer-plugin } \
+       %{!?_without_trayicon:--enable-trayicon-plugin } \
+       %{!?_without_spamassassin:--enable-spamassassin-plugin } \
        --enable-aspell \
        --enable-gdk-pixbuf \
        --enable-threads
@@ -79,8 +103,8 @@ install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Mail,%{_pixmapsdir}}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE2} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
-cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
+#cp -a themes $RPM_BUILD_ROOT%{_datadir}/sylpheed
 
 install sylpheed.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
@@ -107,6 +131,12 @@ rm -rf $RPM_BUILD_ROOT
 %lang(es) %{_datadir}/sylpheed/faq/es
 %lang(fr) %{_datadir}/sylpheed/faq/fr
 %lang(it) %{_datadir}/sylpheed/faq/it
-%{_datadir}/sylpheed/themes
+#%{_datadir}/sylpheed/themes
 %{_applnkdir}/Network/Mail/%{name}.desktop
 %{_pixmapsdir}/sylpheed.png
+
+%files plugins
+%defattr(644,root,root,755)
+%dir %{_libdir}/sylpheed
+%dir %{_libdir}/sylpheed/plugins
+%{_libdir}/sylpheed/plugins/*so
This page took 0.097925 seconds and 4 git commands to generate.