]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
- new-style bconds, refresh config.sub for amd64
[packages/balsa.git] / balsa.spec
1 #
2 # Conditional build:
3 %bcond_without  ldap
4 %bcond_without  gpgme           # experimental.
5 %bcond_without  esmtp
6 %bcond_without  gtkhtml
7
8 %define         snap    20030630
9
10 Summary:        balsa - GNOME e-Mail program
11 Summary(pl):    Klient poczty dla GNOME z silnikiem mutt-a
12 Summary(es):    Balsa es un lector de e-mail. Usa el toolkit GTK
13 Summary(pt_BR): Balsa é um leitor de e-mail. Usa o toolkit GTK
14 Name:           balsa
15 Version:        2.0.15
16 #Release:       1.%{snap}
17 Release:        2
18 License:        GPL
19 Group:          X11/Applications
20 Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
21 # Source0-md5:  dc00a4bd622c4a0c5d6b7dca397d4371
22 #Source0:       %{name}-%{version}-%{snap}.tar.bz2
23 #Patch0:                %{name}-libtool_hack.patch
24 Patch1:         %{name}-desktop.patch
25 URL:            http://balsa.gnome.org/
26 BuildRequires:  autoconf
27 BuildRequires:  automake
28 %{?with_esmtp:BuildRequires:    libesmtp-devel}
29 BuildRequires:  libgnomeprintui-devel >= 1.106.0
30 %{?with_gpgme:BuildRequires:    gpgme-devel >= 0.3.14}
31 BuildRequires:  gtk+2-devel >= 2.2.0
32 %{?with_gtkhtml:BuildRequires:  libgtkhtml-devel}
33 BuildRequires:  libltdl-devel
34 BuildRequires:  libgnome-devel
35 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
36 %{?with_ldap:BuildRequires:     openldap-devel}
37 BuildRequires:  aspell-devel >= 0.50
38 BuildRequires:  xft-devel
39 Requires:       gpgme >= 0.3.14
40 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41
42 %description
43 e-Mail program for the GNOME desktop, supporting local mailboxes, POP3
44 and IMAP. GNOME is the GNU Network Object Model Environment. That's a
45 fancy name but really GNOME is a nice GUI desktop environment. It
46 makes using your computer easy, powerful, and easy to configure.
47
48 %description -l es
49 Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
50 cajas de correo electrónico locales, POP3 y IMAP.
51
52 %description -l pl
53 Balsa to klient e-mail dla ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
54 lokalne skrzynki pocztowe. GNOME to Network Object Model Environment.
55 Mimo osobliwej nazwy jest to naprawdê estetyczne ¶rodowisko graficzne.
56 Dziêki niemu u¿ywanie komputera jest ³atwiejsze; system jest
57 potê¿niejszy i ³atwo go skonfigurowaæ.
58
59 %description -l pt_BR
60 Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
61 Suporta caixas de correio locais, POP3 a IMAP.
62
63 %prep
64 %setup -q
65 #%patch0 -p1
66 %patch1 -p1
67
68 %build
69 #./autogen.sh
70 cp -f /usr/share/automake/config.* .
71 %configure \
72         --with-ssl \
73         %{!?with_esmtp:--without-esmtp} \
74         %{?with_gtkhtml:--enable-gtkhtml} \
75         %{!?with_gtkhtml:--disable-gtkhtml}\
76         %{!?with_gpgme:--without-gpgme} \
77         %{?with_ldap:--with-ldap} \
78         %{!?with_ldap:--without-ldap}
79
80 %{__make}
81
82 %install
83 rm -rf $RPM_BUILD_ROOT
84
85 %{__make} install \
86         DESTDIR=$RPM_BUILD_ROOT
87
88 %find_lang %{name} --with-gnome --all-name
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %post -p /usr/bin/scrollkeeper-update
94
95 %files -f %{name}.lang
96 %defattr(644,root,root,755)
97 %doc AUTHORS ChangeLog NEWS README TODO
98 %attr(755,root,root) %{_bindir}/*
99 %{_sysconfdir}/sound/events/*
100 %{_datadir}/%{name}
101 %{_datadir}/sounds/%{name}
102 %{_mandir}/man1/*
103 %{_omf_dest_dir}/%{name}
104 %{_desktopdir}/*
105 %{_pixmapsdir}/*
This page took 0.066784 seconds and 3 git commands to generate.