]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
b18e59eb28c9291200d26d6cc29d66331952f391
[packages/balsa.git] / balsa.spec
1 #
2 # Conditional build:
3 # --without ldap
4 # --without gpgme               # experimental.
5 # --without esmtp
6 # --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:        1
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 %{!?_without_esmtp:BuildRequires:       libesmtp-devel}
29 BuildRequires:  libgnomeprintui-devel >= 1.106.0
30 %{!?_without_gpgme:BuildRequires:       gpgme-devel >= 0.3.14}
31 BuildRequires:  gtk+2-devel >= 2.2.0
32 %{!?_without_gtkhtml:BuildRequires:     libgtkhtml-devel}
33 BuildRequires:  libltdl-devel
34 BuildRequires:  libgnome-devel
35 BuildRequires:  libgnomeui-devel >= 2.3.3.1-2
36 %{!?_without_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 %configure \
71         --with-ssl \
72         %{?_without_esmtp:--without-esmtp} \
73         %{!?_without_gtkhtml:--enable-gtkhtml} \
74         %{?_without_gtkhtml:--disable-gtkhtml}\
75         %{?_without_gpgme:--without-gpgme} \
76         %{!?_without_ldap:--with-ldap} \
77         %{?_without_ldap:--without-ldap}
78
79 %{__make}
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83
84 %{__make} install \
85         DESTDIR=$RPM_BUILD_ROOT
86
87 %find_lang %{name} --with-gnome --all-name
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %post -p /usr/bin/scrollkeeper-update
93
94 %files -f %{name}.lang
95 %defattr(644,root,root,755)
96 %doc AUTHORS ChangeLog NEWS README TODO
97 %attr(755,root,root) %{_bindir}/*
98 %{_sysconfdir}/sound/events/*
99 %{_datadir}/%{name}
100 %{_datadir}/sounds/%{name}
101 %{_mandir}/man1/*
102 %{_omf_dest_dir}/%{name}
103 %{_desktopdir}/*
104 %{_pixmapsdir}/*
This page took 0.049366 seconds and 3 git commands to generate.