]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
- added some bcond
[packages/balsa.git] / balsa.spec
1 #
2 # Conditional build:
3 # --without ldap
4 # --without gpgme               # experimental.
5 # --without esmtp
6 # --without gtkhtml
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:       1.%{snap}
17 Release:        1
18 License:        GPL
19 Group:          X11/Applications
20 Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
21 # Source0-md5:  dc00a4bd622c4a0c5d6b7dca397d4371
22 #Source0:       %{name}-%{version}-%{snap}.tar.bz2
23 #Patch0:                %{name}-libtool_hack.patch
24 Patch1:         %{name}-desktop.patch
25 URL:            http://balsa.gnome.org/
26 BuildRequires:  autoconf
27 BuildRequires:  automake
28 %{!?_without_esmtp:BuildRequires:       libesmtp-devel}
29 BuildRequires:  libgnomeprintui-devel >= 1.106.0
30 %{!?_without_gpgme:BuildRequires:       gpgme-devel >= 0.3.14}
31 BuildRequires:  gtk+2-devel >= 2.2.0
32 %{!?_without_gtkhtml:BuildRequires:     libgtkhtml-devel}
33 BuildRequires:  libgnome-devel
34 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
35 %{!?_without_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 %configure \
70         --with-ssl \
71         %{?_without_esmtp:--without-esmtp} \
72         %{!?_without_gtkhtml:--enable-gtkhtml} \
73         %{?_without_gtkhtml:--disable-gtkhtml}\
74         %{?_without_gpgme:--without-gpgme} \
75         %{!?_without_ldap:--with-ldap} \
76         %{?_without_ldap:--without-ldap}
77
78 %{__make}
79
80 %install
81 rm -rf $RPM_BUILD_ROOT
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 %find_lang %{name} --with-gnome --all-name
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %post -p /usr/bin/scrollkeeper-update
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog NEWS README TODO
96 %attr(755,root,root) %{_bindir}/*
97 %{_sysconfdir}/sound/events/*
98 %{_datadir}/%{name}
99 %{_datadir}/sounds/%{name}
100 %{_mandir}/man1/*
101 %{_omf_dest_dir}/%{name}
102 %{_desktopdir}/*
103 %{_pixmapsdir}/*
This page took 0.182039 seconds and 4 git commands to generate.