]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
- up to version 2.2.4
[packages/balsa.git] / balsa.spec
1 #
2 # Conditional build:
3 %bcond_without  ldap            # build without LDAP support
4 %bcond_with     gpgme           # build with GPG support (experimental)
5 %bcond_without  esmtp           # build without ESMTP support
6 %bcond_without  gtkhtml         # build without HTML support
7 #
8 Summary:        Balsa Mail Client
9 Summary(es):    Balsa es un lector de e-mail
10 Summary(pl):    Balsa - klient poczty
11 Summary(pt_BR): Balsa é um leitor de e-mail
12 Name:           balsa
13 Version:        2.2.4
14 Release:        1
15 License:        GPL
16 Group:          X11/Applications
17 Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
18 # Source0-md5:  c58770f6203dc23c4d630da3daf2b106
19 Patch0:         %{name}-locale-names.patch
20 #Patch1:                %{name}-desktop.patch
21 Patch2:         %{name}-iconv-in-libc.patch
22 URL:            http://balsa.gnome.org/
23 BuildRequires:  aspell-devel >= 0.50
24 BuildRequires:  autoconf >= 2.52
25 BuildRequires:  automake
26 %{?with_esmtp:BuildRequires:    libesmtp-devel}
27 BuildRequires:  libgnomeprintui-devel >= 1.106.0
28 BuildRequires:  gmime-devel >= 2.1.7
29 %{?with_gpgme:BuildRequires:    gpgme-devel >= 0.4.3}
30 BuildRequires:  gtk+2-devel >= 2.2.0
31 BuildRequires:  intltool
32 %{?with_gtkhtml:BuildRequires:  libgtkhtml-devel >= 2.0}
33 BuildRequires:  libltdl-devel
34 BuildRequires:  libgnomeprintui-devel >= 2.1.4
35 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
36 BuildRequires:  libtool
37 %{?with_ldap:BuildRequires:     openldap-devel}
38 BuildRequires:  openssl-devel >= 0.9.7d
39 BuildRequires:  pcre-devel >= 3.0
40 BuildRequires:  scrollkeeper >= 0.1.4
41 %{?with_gpgme:Requires: gpgme >= 0.9.0}
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 Balsa is an e-mail reader.  This client is part of the GNOME
46 desktop environment.  It supports local mailboxes, POP3 and
47 IMAP.
48
49 %description -l es
50 Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
51 cajas de correo electrónico locales, POP3 y IMAP.
52
53 %description -l pl
54 Balsa to klient e-mail. Jest czê¶ci± ¶rodowiska GNOME. Obs³uguje POP3,
55 IMAP oraz lokalne skrzynki pocztowe. 
56
57 %description -l pt_BR
58 Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
59 Suporta caixas de correio locais, POP3 a IMAP.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64 #%patch1 -p1
65 %patch2 -p1
66
67 mv -f po/{no,nb}.po
68
69 %build
70 intltoolize --copy --force
71 %{__libtoolize}
72 %{__aclocal}
73 %{__autoconf}
74 %{__autoheader}
75 %{__autoconf}
76 %configure \
77         --with-ssl \
78         %{!?with_esmtp:--without-esmtp} \
79         %{!?with_gtkhtml:--disable-gtkhtml}\
80         %{?with_gpgme:--with-gpgme} \
81         %{?with_ldap:--with-ldap}
82
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %find_lang %{name} --with-gnome --all-name
92
93 %clean
94 rm -rf $RPM_BUILD_ROOT
95
96 %post -p /usr/bin/scrollkeeper-update
97
98 %files -f %{name}.lang
99 %defattr(644,root,root,755)
100 %doc AUTHORS ChangeLog NEWS README TODO
101 %attr(755,root,root) %{_bindir}/*
102 %{_sysconfdir}/sound/events/*
103 %{_datadir}/%{name}
104 %{_datadir}/sounds/%{name}
105 %{_libdir}/bonobo/servers/*.server
106 %{_datadir}/idl/*.idl
107 %{_mandir}/man1/*
108 %{_omf_dest_dir}/%{name}
109 %{_desktopdir}/*
110 %{_pixmapsdir}/*
This page took 0.060922 seconds and 3 git commands to generate.