]> 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 bf584d1bfdabbd615f394d872b2e395a368a7398..5e92e36bc5df51b4a4c78e0611b994c10c5cbde6 100644 (file)
 %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
+%define                _iconver        20040929
+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:          %{_sname}-claws
-Version:       0.9.11
-Release:       2
+Name:          sylpheed-claws
+Version:       1.9.15
+Release:       1
 License:       GPL v2
 Group:         X11/Applications/Networking
-Source0:       http://dl.sourceforge.net/%{name}/%{_sname}-%{version}claws.tar.bz2
-# Source0-md5:  d64647fdbcb49bfa4447989bffb9d0b8
+Source0:       http://dl.sourceforge.net/sylpheed-claws/%{name}-%{version}.tar.bz2
+# Source0-md5: 0d187526e0eca23b87ffa4981f7e1765
 Source1:       %{name}.desktop
-Source2:       http://dl.sourceforge.net/%{name}/%{_sname}-iconset-%{_iconver}.tar.gz
-# Source2-md5: 478128ccf00914990f73383692b5cd30
+Source2:       http://dl.sourceforge.net/sylpheed-claws/sylpheed-iconset-%{_iconver}.tar.gz
+# Source2-md5: d72cf03bf3d13cf9e2785eaca3807707
+Patch0:                %{name}-locale-names.patch
 URL:           http://sylpheed-claws.sourceforge.net/
-BuildRequires: aspell-devel >= 0.50
-BuildRequires: autoconf
+BuildRequires: aspell-devel >= 2:0.50
+BuildRequires: autoconf >= 2.50
 BuildRequires: automake
 BuildRequires: bzip2-devel
 %{?with_clamav:BuildRequires:  clamav-devel}
@@ -35,10 +35,10 @@ 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}
+%{?with_gpg:BuildRequires:     gpgme-devel >= 1:0.4.5}
 BuildRequires: gtk+-devel >= 1.2.6
-BuildRequires: imlib-devel
+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)
@@ -73,7 +73,8 @@ Requires:     %{name} = %{version}-%{release}
 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.
+Jest to zbiór kilku dodatkowych pluginów powiêkszaj±cych mo¿liwo¶ci
+Sylpheeda.
 
 %package devel
 Summary:       Headers from Sylpheed-Claws
@@ -100,23 +101,29 @@ Sylpheed-Claws themes package.
 Motywy dla programu Sylpheed-Claws.
 
 %prep
-%setup -q -n %{_sname}-%{version}claws -a1 -a2
-mv %{_sname}-iconset-* themes
+%setup -q -a2
+%patch0 -p1
+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
-rm -f missing
-%{__libtoolize}
-%{__gettextize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
+#%%{__libtoolize}
+#%%{__gettextize}
+#%%{__aclocal} -I m4
+#%%{__autoconf}
+#%%{__autoheader}
+#%%{__automake}
 %configure \
-       %{?with_gpg:--enable-gpgme} %{!?with_gpg:--disable-gpgme} \
+       %{!?with_gpg:--disable-pgpmime-plugin} \
+       %{?with_gpg:--enable-pgpmime-plugin} \
        %{?with_ldap:--enable-ldap} \
        %{?with_ssl:--enable-openssl} \
-       %{?with_ipv6:--enable-ipv6 } \
+       %{!?with_ssl:--disable-openssl} \
+       %{?with_ipv6:--enable-ipv6} \
        %{!?with_faces:--disable-compface} \
        %{?with_dillo:--enable-dillo-viewer-plugin } \
        %{!?with_dillo:--disable-dillo-viewer-plugin } \
@@ -129,7 +136,11 @@ rm -f missing
        %{?with_spamassassin:--enable-spamassassin-plugin } \
        --enable-aspell \
        --enable-gdk-pixbuf \
-       --enable-threads
+       --enable-pthread \
+       --disable-static \
+       --enable-gnomeprint \
+       --enable-libetpan \
+       --with-config-dir=.sylpheed
 
 %{__make}
 
@@ -141,47 +152,49 @@ install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
        DESTDIR=$RPM_BUILD_ROOT
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-cp -a themes $RPM_BUILD_ROOT%{_datadir}/%{_sname}
+cp -a themes $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+install %{name}.png $RPM_BUILD_ROOT%{_pixmapsdir}
 
-install %{_sname}.png $RPM_BUILD_ROOT%{_pixmapsdir}
+rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/*.la
 
-%find_lang %{_sname}
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{_sname}.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README* TODO
-%{_mandir}/man1/%{_sname}.1*
+%{_mandir}/man1/sylpheed.1*
 %attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/%{_sname}
-%dir %{_datadir}/%{_sname}/manual
-%{_datadir}/%{_sname}/manual/en
-%lang(de) %{_datadir}/%{_sname}/manual/de
-%lang(es) %{_datadir}/%{_sname}/manual/es
-%lang(fr) %{_datadir}/%{_sname}/manual/fr
-%lang(ja) %{_datadir}/%{_sname}/manual/ja
-%dir %{_datadir}/%{_sname}/faq
-%{_datadir}/%{_sname}/faq/en
-%lang(de) %{_datadir}/%{_sname}/faq/de
-%lang(es) %{_datadir}/%{_sname}/faq/es
-%lang(fr) %{_datadir}/%{_sname}/faq/fr
-%lang(it) %{_datadir}/%{_sname}/faq/it
+%dir %{_datadir}/%{name}
+%dir %{_datadir}/%{name}/manual
+%{_datadir}/%{name}/manual/en
+%lang(de) %{_datadir}/%{name}/manual/de
+%lang(es) %{_datadir}/%{name}/manual/es
+%lang(fr) %{_datadir}/%{name}/manual/fr
+%lang(ja) %{_datadir}/%{name}/manual/ja
+%dir %{_datadir}/%{name}/faq
+%{_datadir}/%{name}/faq/en
+%lang(de) %{_datadir}/%{name}/faq/de
+%lang(es) %{_datadir}/%{name}/faq/es
+%lang(fr) %{_datadir}/%{name}/faq/fr
+%lang(it) %{_datadir}/%{name}/faq/it
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/%{_sname}.png
+%{_pixmapsdir}/%{name}.png
 
 %files plugins
 %defattr(644,root,root,755)
-%dir %{_libdir}/%{_sname}
-%dir %{_libdir}/%{_sname}/plugins
-%attr(755,root,root) %{_libdir}/%{_sname}/plugins/*so
+%dir %{_libdir}/%{name}
+%dir %{_libdir}/%{name}/plugins
+%attr(755,root,root) %{_libdir}/%{name}/plugins/*.so
 
 %files devel
 %defattr(644,root,root,755)
-%{_includedir}/%{_sname}
+%{_includedir}/%{name}
 %{_pkgconfigdir}/*.pc
 
 %files themes
 %defattr(644,root,root,755)
-%{_datadir}/%{_sname}/themes
+%{_datadir}/%{name}/themes
This page took 0.043158 seconds and 4 git commands to generate.