]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
- obsoleted
[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.3.2
14 Release:        1
15 License:        GPL
16 Group:          X11/Applications
17 Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
18 # Source0-md5:  ab4d6febaca56d72d13acef819da193b
19 Patch0:         %{name}-locale-names.patch
20 #Patch1:                %{name}-desktop.patch
21 Patch2:         %{name}-includes.patch
22 URL:            http://balsa.gnome.org/
23 BuildRequires:  aspell-devel >= 2: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:  glib2-devel >= 2.6.4-1
29 BuildRequires:  gmime-devel >= 2.1.9
30 %{?with_gpgme:BuildRequires:    gpgme-devel >= 1:0.9.0}
31 BuildRequires:  gtk+2-devel >= 2:2.2.0
32 BuildRequires:  intltool
33 %{?with_gtkhtml:BuildRequires:  libgtkhtml-devel >= 2.0}
34 BuildRequires:  libltdl-devel
35 BuildRequires:  libgnomeprintui-devel >= 2.1.4
36 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
37 BuildRequires:  libtool
38 %{?with_ldap:BuildRequires:     openldap-devel}
39 BuildRequires:  openssl-devel >= 0.9.7d
40 BuildRequires:  pcre-devel >= 3.0
41 BuildRequires:  rpmbuild(macros) >= 1.197
42 BuildRequires:  scrollkeeper >= 0.1.4
43 %{?with_gpgme:Requires: gpgme >= 1:0.9.0}
44 Requires(post): scrollkeeper
45 Requires(post): desktop-file-utils
46 Requires(postun):       scrollkeeper
47 Requires(postun):       desktop-file-utils
48 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50 %description
51 Balsa is an e-mail reader.  This client is part of the GNOME
52 desktop environment.  It supports local mailboxes, POP3 and
53 IMAP.
54
55 %description -l es
56 Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
57 cajas de correo electrónico locales, POP3 y IMAP.
58
59 %description -l pl
60 Balsa to klient e-mail. Jest czê¶ci± ¶rodowiska GNOME. Obs³uguje POP3,
61 IMAP oraz lokalne skrzynki pocztowe. 
62
63 %description -l pt_BR
64 Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
65 Suporta caixas de correio locais, POP3 a IMAP.
66
67 %prep
68 %setup -q
69 %patch0 -p1
70 #%%patch1 -p1
71 %patch2 -p1
72
73 rm -f po/no.{po,gmo}
74
75 %build
76 %{__intltoolize}
77 %{__glib_gettextize}
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__autoheader}
82 %{__autoconf}
83 %configure \
84         --with-ssl \
85         %{!?with_esmtp:--without-esmtp} \
86         %{!?with_gtkhtml:--disable-gtkhtml}\
87         %{?with_gpgme:--with-gpgme} \
88         %{?with_ldap:--with-ldap}
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT
97
98 %find_lang %{name} --with-gnome --all-name
99
100 %clean
101 rm -rf $RPM_BUILD_ROOT
102
103 %post
104 %update_desktop_database_post
105 %scrollkeeper_update_post
106
107 %postun
108 %update_desktop_database_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}/*
123 %{_pixmapsdir}/*
124 %{_iconsdir}/hicolor/48x48/mimetypes/*.png
This page took 0.173068 seconds and 3 git commands to generate.