]> git.pld-linux.org Git - packages/balsa.git/blobdiff - balsa.spec
- upated to 1.3.6,
[packages/balsa.git] / balsa.spec
index e99dc56257e424ba156be3fda13ce66ad6aec78f..937c7f0491e53166360cebca06d38e152234a777 100644 (file)
@@ -1,15 +1,39 @@
 Summary:       balsa - GNOME e-Mail program
+Summary(pl):   Klient poczty dla GNOME z silnikiem mutt-a
+Summary(es):   Balsa es un lector de e-mail. Usa el toolkit GTK
+Summary(pt_BR):        Balsa é um leitor de e-mail. Usa o toolkit GTK
 Name:          balsa
-Version:       0.6.0
+Version:       1.3.6
 Release:       1
 License:       GPL
-Group:         X11/GNOME
-Group(pl):     X11/GNOME
-Source0:       ftp://ftp.balsa.net/pub/balsa/%{name}-%{version}.tar.gz
-Source1:       %{name}.desktop
+Group:         X11/Applications
+Source0:       http://www.theochem.kth.se/~pawsa/balsa/%{name}-%{version}.tar.bz2
+Patch0:                %{name}-ac253.patch
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: cyrus-sasl-devel
+BuildRequires: docbook-style-dsssl
+BuildRequires: flex
+BuildRequires: freetype-devel >= 2.0.0
+BuildRequires: gal-devel >= 0.19
+BuildRequires: gdk-pixbuf-gnome-devel
 BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
+BuildRequires: gnome-doc-tools
+BuildRequires: gnome-libs-devel >= 1.2.1
+BuildRequires: gnome-print-devel >= 0.25.0
+BuildRequires: gtkhtml-devel >= 0.12.0
 BuildRequires: libPropList-devel
+BuildRequires: libesmtp-devel
+BuildRequires: libltdl-devel
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: openjade
+BuildRequires: openldap-devel
+BuildRequires: openssl-devel
+BuildRequires: pam-devel
+BuildRequires: pcre-devel
+BuildRequires: pspell-devel >= 12.1
 URL:           http://www.balsa.net/
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -24,6 +48,10 @@ and IMAP. GNOME is the GNU Network Object Model Environment. That's a
 fancy name but really GNOME is a nice GUI desktop environment. It
 makes using your computer easy, powerful, and easy to configure.
 
+%description -l es
+Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
+cajas de correo electrónico locales, POP3 y IMAP.
+
 %description -l pl
 Balsa to klient e-mail dla ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
 lokalne skrzynki pocztowe. GNOME to Network Object Model Environment.
@@ -31,33 +59,51 @@ Mimo osobliwej nazwy jest to naparwd
 Dziêki niemu u¿ywanie komputera jest ³atwiejsze; system jest
 potê¿niejszy i ³atwo go skonfigurowaæ.
 
+%description -l pt_BR
+Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
+Suporta caixas de correio locais, POP3 a IMAP.
+
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-LDFLAGS="-s"; export LDFLAGS
-autoconf
-gettextize --copy --force 
+libtoolize --copy --force
+gettextize --copy --force
+aclocal -I macros
+%{__autoconf}
+rm -f missing
+%{__automake}
+(cd libmutt
+aclocal
+%{__autoconf}
+automake -a -c)
 %configure \
        --enable-system-install \
        --enable-all \
        --enable-info \
-       --enable-threads
-make
+       --disable-threads \
+       --disable-more-warnings \
+       --with-mailpath=/var/mail \
+       --with-ssl \
+       --enable-pcre \
+       --enable-ldap \
+       --enable-gtkhtml
+
+# TODO find this gdp stylesheet
+%{__make} \
+       GDP_STYLESHEET=/usr/share/sgml/docbook/gnome-customization-1.0/gdp-both.dsl
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_applnkdir}/Networking/Mail
-
-make install DESTDIR=$RPM_BUILD_ROOT
-
-install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Networking/Mail
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       desktopdir=%{_applnkdir}/Network/Mail
 
-gzip -9nf AUTHORS ChangeLog NEWS README TODO \
-       $RPM_BUILD_ROOT%{_mandir}/man1/*
+gzip -9nf AUTHORS ChangeLog NEWS README TODO
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -66,10 +112,8 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc *.gz
 %attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/CORBA/servers/*
 %{_sysconfdir}/sound/events/*
 %{_datadir}/sounds/balsa
-%{_datadir}/pixmaps/balsa
-%{_datadir}/gnome/help/balsa
-%{_applnkdir}/Networking/Mail/*
+%{_pixmapsdir}/*
+%{_applnkdir}/Network/Mail/*
 %{_mandir}/man1/*
This page took 0.037032 seconds and 4 git commands to generate.