]> git.pld-linux.org Git - packages/balsa.git/blob - balsa.spec
- version 2.0.11, snap 20030522 with extra functionality
[packages/balsa.git] / balsa.spec
1 #
2 # Conditional build:
3 # --without ldap
4
5 %define         snap    20030522
6
7 Summary:        balsa - GNOME e-Mail program
8 Summary(pl):    Klient poczty dla GNOME z silnikiem mutt-a
9 Summary(es):    Balsa es un lector de e-mail. Usa el toolkit GTK
10 Summary(pt_BR): Balsa é um leitor de e-mail. Usa o toolkit GTK
11 Name:           balsa
12 Version:        2.0.11
13 Release:        1.%{snap}
14 #Release:       1
15 License:        GPL
16 Group:          X11/Applications
17 Source0:        http://balsa.gnome.org/%{name}-%{version}.tar.bz2
18 Source0:        %{name}-%{version}-%{snap}.tar.bz2
19 Patch0:         %{name}-libtool_hack.patch
20 Patch1:         %{name}-desktop.patch
21 Patch2:         %{name}-message-tree-patch-2003-05-22.gz
22 Patch3:         %{name}-gcc33.patch
23 URL:            http://balsa.gnome.org/
24 BuildRequires:  autoconf
25 BuildRequires:  automake
26 BuildRequires:  libesmtp-devel
27 BuildRequires:  libgnomeprintui-devel >= 1.106.0
28 BuildRequires:  gpgme-devel >= 0.3.14 
29 BuildRequires:  gtk+2-devel >= 2.2.0
30 BuildRequires:  libgtkhtml-devel
31 BuildRequires:  libgnome-devel
32 BuildRequires:  libgnomeui-devel
33 %{!?_without_ldap:BuildRequires:        openldap-devel}
34 BuildRequires:  aspell-devel >= 0.50
35 BuildRequires:  xft-devel
36 Requires:       gpgme >= 0.3.14
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 e-Mail program for the GNOME desktop, supporting local mailboxes, POP3
41 and IMAP. GNOME is the GNU Network Object Model Environment. That's a
42 fancy name but really GNOME is a nice GUI desktop environment. It
43 makes using your computer easy, powerful, and easy to configure.
44
45 %description -l es
46 Balsa es un lector de e-mail. Es parte del entorno GNOME. Soporta
47 cajas de correo electrónico locales, POP3 y IMAP.
48
49 %description -l pl
50 Balsa to klient e-mail dla ¶rodowiska GNOME. Obs³uguje POP3, IMAP oraz
51 lokalne skrzynki pocztowe. GNOME to Network Object Model Environment.
52 Mimo osobliwej nazwy jest to naprawdê estetyczne ¶rodowisko graficzne.
53 Dziêki niemu u¿ywanie komputera jest ³atwiejsze; system jest
54 potê¿niejszy i ³atwo go skonfigurowaæ.
55
56 %description -l pt_BR
57 Balsa é um leitor de e-mail, parte do ambiente de desktop GNOME.
58 Suporta caixas de correio locais, POP3 a IMAP.
59
60 %prep
61 %setup -q
62 %patch0 -p1
63 %patch1 -p1
64 %patch2 -p1
65 %patch3 -p1
66
67 %build
68 #%glib-gettextize --copy --force
69 #%intltoolize --copy --force
70 #%%{__libtoolize}
71 #%%{__aclocal}
72 #%%{__autoheader}
73 #%%{__automake}
74 #%%{__autoconf}
75
76 #%cd libmutt
77 #%%{__libtoolize}
78 #%%{__aclocal}
79 #%%{__autoheader}
80 #%%{__automake}
81 #%%{__autoconf}
82 #%cd ..
83 ./autogen.sh
84 %configure \
85         --with-ssl \
86         --with-gpgme \
87         %{!?_without_ldap:--enable-ldap} \
88         %{?_without_ldap:--disable-ldap}
89
90 %{__make} CFLAGS="%{rpmcflags} -fno-strict-aliasing"
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 -p /usr/bin/scrollkeeper-update 
104
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc AUTHORS ChangeLog NEWS README TODO
108 %attr(755,root,root) %{_bindir}/*
109 %{_sysconfdir}/sound/events/*
110 %{_datadir}/applications/*
111 %{_datadir}/%{name}
112 %{_datadir}/sounds/%{name}
113 %{_mandir}/man1/*
114 %{_omf_dest_dir}/%{name}
115 %{_pixmapsdir}/*
This page took 0.062565 seconds and 3 git commands to generate.