]> git.pld-linux.org Git - packages/althea.git/blob - althea.spec
- new spec :-), ready to build
[packages/althea.git] / althea.spec
1 Summary:        An GTK+ IMAP mail client
2 Summary(pl):    Klient poczty IMAP w GTK+
3 Name:           althea
4 Version:        0.5.7
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Networking
8 Group(de):      X11/Applikationen/Netzwerkwesen
9 Group(pl):      X11/Aplikacje/Sieciowe
10 Source0:        http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
11 Patch0:         %{name}-cxx.patch
12 Patch1:         %{name}-makefile.patch
13 URL:            http://althea.sourceforge.net
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  gtk+-devel
16 BuildRequires:  openssl-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20
21 %description
22 Althea is an SSL aware IMAP mail for X-windows.
23
24 %description -l pl
25 Althea jest klinetem poczty IMAP pod X-windows z mo¿liwo¶ci±
26 wykorzystania po³±czeñ SSL.
27
28 %prep
29 %setup -q
30 %patch0 -p1
31 %patch1 -p1
32
33 %build
34 %{__make} CXX=%{__cxx} DEBUGFLAGS="%{rpmcflags}" \
35         PIXDIR=%{_datadir}/althea \
36         DOCDIR=%{_defaultdocdir}/%{name}-%{version}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         BINDIR=%{_bindir} \
44         PIXDIR=%{_datadir}/althea
45
46 find Documentation -name "CVS" | xargs rm -rf
47
48 gzip -9nf althearc.example
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc *.gz Documentation/*
56 %attr(755,root,root) %{_bindir}/*
57 %{_datadir}/althea
This page took 0.043202 seconds and 4 git commands to generate.