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