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