]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
- rel 4 for rebuild with new openldap
[packages/balsa.git] / balsa.spec
1 #
2 # Conditional build:
3 %bcond_without  ldap            # build without LDAP support
4 %bcond_without  gpgme           # build without GPG support (experimental)
5 %bcond_without  esmtp           # build without ESMTP support
6 %bcond_without  gtkhtml         # build without HTML support
7
8 %define         snap    20030630
9
10 Summary:        balsa - GNOME e-Mail program
11 Summary(pl):    Klient poczty dla GNOME z silnikiem mutt-a
12 Summary(es):    Balsa es un lector de e-mail. Usa el toolkit GTK
13 Summary(pt_BR): Balsa é um leitor de e-mail. Usa o toolkit GTK
14 Name:           balsa
15 Version:        2.0.15
16 Release:        4
17 License:        GPL
18 Group:          X11/Applications
19 Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
20 # Source0-md5:  dc00a4bd622c4a0c5d6b7dca397d4371
21 #Source0:       %{name}-%{version}-%{snap}.tar.bz2
22 #Patch0:                %{name}-libtool_hack.patch
23 Patch1:         %{name}-desktop.patch
24 URL:            http://balsa.gnome.org/
25 BuildRequires:  autoconf
26 BuildRequires:  automake
27 %{?with_esmtp:BuildRequires:    libesmtp-devel}
28 BuildRequires:  libgnomeprintui-devel >= 1.106.0
29 %{?with_gpgme:BuildRequires:    gpgme-devel >= 0.3.14}
30 BuildRequires:  gtk+2-devel >= 2.2.0
31 %{?with_gtkhtml:BuildRequires:  libgtkhtml-devel}
32 BuildRequires:  libltdl-devel
33 BuildRequires:  libgnome-devel
34 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
35 %{?with_ldap:BuildRequires:     openldap-devel}
36 BuildRequires:  aspell-devel >= 0.50
37 BuildRequires:  xft-devel
38 Requires:       gpgme >= 0.3.14
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 e-Mail program for the GNOME desktop, supporting local mailboxes, POP3
43 and IMAP. GNOME is the GNU Network Object Model Environment. That's a
44 fancy name but really GNOME is a nice GUI desktop environment. It
45 makes using your computer easy, powerful, and easy to configure.
46
47 %description -l es
48 Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
49 cajas de correo electrónico locales, POP3 y IMAP.
50
51 %description -l pl
52 Balsa to klient e-mail dla ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
53 lokalne skrzynki pocztowe. GNOME to Network Object Model Environment.
54 Mimo osobliwej nazwy jest to naprawdê estetyczne ¶rodowisko graficzne.
55 Dziêki niemu u¿ywanie komputera jest ³atwiejsze; system jest
56 potê¿niejszy i ³atwo go skonfigurowaæ.
57
58 %description -l pt_BR
59 Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
60 Suporta caixas de correio locais, POP3 a IMAP.
61
62 %prep
63 %setup -q
64 #%patch0 -p1
65 %patch1 -p1
66
67 %build
68 #./autogen.sh
69 cp -f /usr/share/automake/config.* .
70 %configure \
71         --with-ssl \
72         %{!?with_esmtp:--without-esmtp} \
73         %{?with_gtkhtml:--enable-gtkhtml} \
74         %{!?with_gtkhtml:--disable-gtkhtml}\
75         %{!?with_gpgme:--without-gpgme} \
76         %{?with_ldap:--with-ldap} \
77         %{!?with_ldap:--without-ldap}
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %find_lang %{name} --with-gnome --all-name
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post -p /usr/bin/scrollkeeper-update
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS README TODO
97 %attr(755,root,root) %{_bindir}/*
98 %{_sysconfdir}/sound/events/*
99 %{_datadir}/%{name}
100 %{_datadir}/sounds/%{name}
101 %{_mandir}/man1/*
102 %{_omf_dest_dir}/%{name}
103 %{_desktopdir}/*
104 %{_pixmapsdir}/*
This page took 0.047148 seconds and 3 git commands to generate.