]> git.pld-linux.org Git - packages/balsa.git/blobdiff - balsa.spec
- updated to 1.1.1.
[packages/balsa.git] / balsa.spec
index 25570b604afea28c6190e45a19a89feb111b6166..cd8dbdaac9156e241f3888880e246464f5b12530 100644 (file)
@@ -1,73 +1,87 @@
-# Note that this is NOT a relocatable package
-%define ver      0.4.9
-%define rel      bero1
-%define prefix   /usr/gnome
+Summary:       balsa - GNOME e-Mail program
+Summary(pl):   Klient poczty dla GNOME z silnikiem mutt-a
+Name:          balsa
+Version:       1.1.1
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Group(de):     X11/Applikationen
+Group(pl):     X11/Aplikacje
+Source0:       http://www.theochem.kth.se/~pawsa/balsa/%{name}-%{version}.tar.gz
+BuildRequires: bison
+BuildRequires: docbook-dsssl
+BuildRequires: docbook-gnome-sgml
+BuildRequires: gdk-pixbuf-devel
+BuildRequires: gettext-devel
+BuildRequires: gnome-libs-devel >= 1.2.0
+BuildRequires: gnome-print-devel
+BuildRequires: gtkhtml-devel >= 0.8.1
+BuildRequires: flex
+BuildRequires: libltdl-devel
+BuildRequires: libPropList-devel
+BuildRequires: libstdc++-devel
+BuildRequires: openjade
+BuildRequires: openldap-devel
+BuildRequires: openssl-devel
+BuildRequires: pspell-devel
+URL:           http://www.newton.cx/balsa/main.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-Summary: balsa - GNOME e-Mail program
-Name: balsa
-Version: %ver
-Release: %rel
-Copyright: GPL
-Group: X11/GNOME
-Source: ftp://ftp.gnome.org/pub/GNOME/sources/balsa-%{ver}.tar.bz2
-BuildRoot: /var/tmp/balsa-root
-URL: http://www.balsa.net/
-Docdir: %{prefix}/doc
-Requires: gnome-libs >= 0.99.1
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+%define                _sysconfdir     /etc/X11/GNOME
+%define                _localstatedir  /var
 
 %description
-e-Mail program for the GNOME desktop, supporting local mailboxes, POP3 and
-IMAP.
+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.
 
-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.
-
-%changelog
-* Wed Jan 27 1999 Bernhard Rosenkraenzer <bero@microsoft.sucks.eu.org>
-- initial version
+%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
+%setup -q
 
 %build
-# balsa doesn't like new ORBits...
-cd idl
-orbit-idl balsa.idl
-cd ..
-
-# Needed for snapshot releases.
-if [ ! -f configure ]; then
-  CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh --prefix=%prefix --with-gnome=%prefix \
-       --with-gtk-prefix=/usr
-else
-  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --with-gnome=%prefix \
-       --with-gtk-prefix=/usr
-fi
-
-if [ "$SMP" != "" ]; then
-  (make "MAKE=make -k -j $SMP"; exit 0)
-  make
-else
-  make
-fi
+gettextize --copy --force 
+%configure \
+       --enable-system-install \
+       --enable-all \
+       --enable-info \
+       --enable-threads \
+       --disable-more-warnings \
+       --with-mailpath=/var/mail \
+       --with-ssl \
+       --enable-ldap \
+       --enable-gtkhtml
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT \
+       desktopdir=%{_applnkdir}/Network/Mail
+
+gzip -9nf AUTHORS ChangeLog NEWS README TODO
+
+%find_lang %{name} --with-gnome
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(-, root, root)
-
-%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
-%{prefix}/bin/*
-%{prefix}/lib/*
-%{prefix}/etc/CORBA/servers/*
-%{prefix}/etc/sound/events/*
-%{prefix}/share/locale/*/*/*
-%{prefix}/share/sounds/*
-%{prefix}/share/pixmaps/*
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_bindir}/*
+%{_sysconfdir}/sound/events/*
+%{_datadir}/sounds/balsa
+%{_pixmapsdir}/*
+%{_applnkdir}/Network/Mail/*
+%{_mandir}/man1/*
This page took 0.217192 seconds and 4 git commands to generate.