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