Summary: balsa - GNOME e-Mail program
+Summary(pl): Klient poczty dla GNOME z silnikiem mutt-a
Name: balsa
-Version: 0.8.0
-Release: 1
+Version: 1.1.4
+Release: 3
License: GPL
-Group: X11/GNOME
-Group(pl): X11/GNOME
-Source0: ftp://ftp.newton.cx/pub/balsa/%{name}-%{version}.tar.gz
+Group: X11/Applications
+Group(de): X11/Applikationen
+Group(pl): X11/Aplikacje
+Source0: http://www.theochem.kth.se/~pawsa/balsa/%{name}-%{version}.tar.gz
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: bison
+BuildRequires: docbook-style-dsssl
+BuildRequires: gnome-doc-tools
+BuildRequires: gdk-pixbuf-devel
BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
+BuildRequires: gnome-libs-devel >= 1.2.0
+BuildRequires: gnome-print-devel
+BuildRequires: gtkhtml-devel >= 0.9.2
+BuildRequires: flex
+BuildRequires: libltdl-devel
BuildRequires: libPropList-devel
+BuildRequires: libstdc++-devel
+BuildRequires: openjade
+BuildRequires: openldap-devel
+BuildRequires: openssl-devel
+BuildRequires: pspell-devel >= 12.1
URL: http://www.newton.cx/balsa/main.html
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q
%build
-LDFLAGS="-s"; export LDFLAGS
gettextize --copy --force
+aclocal -I macros
+autoconf
+automake -a -c
%configure \
--enable-system-install \
--enable-all \
--enable-info \
- --enable-threads
-make
+ --enable-threads \
+ --disable-more-warnings \
+ --with-mailpath=/var/mail \
+ --with-ssl \
+ --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
-make install \
+%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
- desktopdir=%{_applnkdir}/Networking/Mail
+ 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} --with-gnome
%defattr(644,root,root,755)
%doc *.gz
%attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/CORBA/servers/*
%{_sysconfdir}/sound/events/*
%{_datadir}/sounds/balsa
-%{_datadir}/pixmaps/*
-%{_applnkdir}/Networking/Mail/*
+%{_pixmapsdir}/*
+%{_applnkdir}/Network/Mail/*
%{_mandir}/man1/*