]> git.pld-linux.org Git - packages/balsa.git/blobdiff - balsa.spec
- release 3
[packages/balsa.git] / balsa.spec
index 6e69c55a90422d63d9b6498805544fca98a24dd7..9c55dd14ce92b7b52e33a1fb38fcd8df0b4b1cb2 100644 (file)
@@ -1,66 +1,95 @@
 Summary:       balsa - GNOME e-Mail program
+Summary(pl):   Klient poczty dla GNOME z silnikiem mutt-a
 Name:          balsa
-Version:       0.6.0
-Release:       1
+Version:       1.1.4
+Release:       3
 License:       GPL
-Group:         X11/GNOME
-Source:                ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
-Source1:       %{name}.desktop
-Patch:         %{name}-locale.patch
-BuildRoot:     /tmp/%{name}-%{version}-root
-URL:           http://www.balsa.net/
+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 >= 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)
 
 %define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
 %define                _sysconfdir     /etc/X11/GNOME
 %define                _localstatedir  /var
-%define                _applnkdir      %{_datadir}/applnk
 
 %description
-e-Mail program for the GNOME desktop, supporting local mailboxes, POP3 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.
+e-Mail program for the GNOME desktop, supporting local mailboxes, POP3
+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 pl
+Balsa to klient e-mail dla ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
+lokalne skrzynki pocztowe. GNOME to Network Object Model Environment.
+Mimo osobliwej nazwy jest to naparwdê estetyczne ¶rodowisko graficzne.
+Dziêki niemu u¿ywanie komputera jest ³atwiejsze; system jest
+potê¿niejszy i ³atwo go skonfigurowaæ.
 
 %prep
 %setup -q
-%patch -p1
+
 %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
 
-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 COPYING ChangeLog INSTALL NEWS README TODO
+gzip -9nf AUTHORS ChangeLog NEWS README TODO
 
-%find_lang %{name}
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc {AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,README,TODO}.gz
+%doc *.gz
 %attr(755,root,root) %{_bindir}/*
-%dir %{_datadir}/sounds/balsa
-%dir %{_datadir}/pixmaps/balsa
-%dir %{_datadir}/gnome/help/balsa
-%{_sysconfdir}/CORBA/servers/*
 %{_sysconfdir}/sound/events/*
-%{_datadir}/sounds/balsa/*
-%{_datadir}/pixmaps/balsa/*
-%{_datadir}/idl/*
-%{_datadir}/gnome/help/balsa/*
-%{_applnkdir}/Networking/Mail/*
+%{_datadir}/sounds/balsa
+%{_pixmapsdir}/*
+%{_applnkdir}/Network/Mail/*
+%{_mandir}/man1/*
This page took 0.038509 seconds and 4 git commands to generate.