]> git.pld-linux.org Git - packages/elm.git/blob - elm.spec
- release 2
[packages/elm.git] / elm.spec
1 Summary:        The elm mail user agent
2 Summary(de):    ELM-Mail-User-Agent
3 Summary(es):    Agente de mail ELM
4 Summary(fr):    Agent courrier ELM
5 Summary(pl):    Program pocztowy elm
6 Summary(pt_BR): Agente de mail ELM
7 Summary(tr):    e-posta okuma yazýlýmý
8 Name:           elm
9 Version:        2.5.6
10 Release:        2
11 License:        distributable
12 Group:          Applications/Mail
13 Source0:        ftp://ftp.virginia.edu/pub/elm/%{name}%{version}.tar.gz
14 Source1:        %{name}.desktop
15 Source2:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
16 Patch0:         %{name}-config.patch.gz
17 Patch1:         %{name}-y2k.patch
18 Patch2:         %{name}-security.patch
19 Patch3:         %{name}-no-static-libcrypt.patch
20 Patch4:         %{name}-makefile-fix.patch
21 Patch5:         %{name}-tempnam.patch
22 URL:            http://www.myxa.com/elm.html
23 BuildRequires:  ncurses-devel >= 5.0
24 Requires:       metamail
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 Elm is a popular terminal mode email user agent. Elm includes all
29 standard mailhandling features, including MIME support via metamail.
30
31 Elm is still used by some people, but is no longer in development. If
32 you've used Elm before and you're devoted to it, you should install
33 the elm package. If you would like to use metamail's MIME support,
34 you'll also need to install the metamail package.
35
36 %description -l de
37 ELM ist eines der beliebtesten Terminalmodus-Mailhandling-Programme.
38 Es ist ausgesprochen leistungsfähig, leicht zu bedienen und gut
39 unterstützt. Es stellt alle Mail-Handlingfunktionen bereit, die man
40 sich nur wünscht, einschließlich MIME-Support (über Metamail).
41
42 %description -l es
43 ELM es un popular lector de mail en modo terminal. Es potente, fácil
44 de usar y de conseguir ayuda. Posee todas las características que se
45 podría esperar, incluso soporte a MINE (vía metamail).
46
47 %description -l fr
48 ELM est l'un des programmes de gestion du courrier en mode texte les
49 plus populaires. Il est puissant, facile à utiliser et a apprendre. Il
50 a toutes les possibilités de gestion du courrier que vous attendez, y
51 compris la gestion MIME (via metamail).
52
53 %description -l pl
54 Elm jest popularnym programem pocztowym dla terminali tekstowych.
55 Obs³uguje wszystkie standardy pocztowe z MIME w³±cznie (¿eby z niego
56 skorzystaæ musisz zainstalowaæ tak¿e pakiet metamail).
57
58 %description -l pt_BR
59 ELM é um popular leitor de mail em modo terminal. É poderoso, fácil de
60 usar e fácil de conseguir ajuda. Possui todas as características que
61 você poderia esperar, inclusive suporte a MINE (via metamail).
62
63 %description -l tr
64 ELM, en yaygýn kullanýlan, metin ekran tabanlý e-posta yazýlýmlarýndan
65 biridir. Kullanýcýya mektuplarýný okuyabilmesi için basit bir ortam
66 saðlar.
67
68 %prep
69 %setup -q -n %{name}%{version}
70 %patch0 -p1
71 %patch1 -p1
72 %patch2 -p1
73 %patch3 -p0
74 %patch4 -p0
75 #%patch5 -p1
76
77 %build
78 mkdir -p bin
79 %{__make} OPTIMIZE="%{rpmcflags}" CC="%{__cc}"
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/elm,%{_mandir}/{man1,pl/man1}} \
84         $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
85
86 %{__make} DESTBIN=$RPM_BUILD_ROOT%{_bindir} \
87         BIN=$RPM_BUILD_ROOT%{_bindir} \
88         DESTLIB=$RPM_BUILD_ROOT%{_datadir}/elm \
89         LIB=$RPM_BUILD_ROOT%{_datadir}/elm \
90         MAN=$RPM_BUILD_ROOT%{_mandir}/man1 \
91         install
92
93 echo .so frm.1 > $RPM_BUILD_ROOT%{_mandir}/man1/nfrm.1
94
95 ln -sf newmail  $RPM_BUILD_ROOT%{_bindir}/wnewmail
96 ln -sf frm      $RPM_BUILD_ROOT%{_bindir}/nfrm
97
98 # mmencode is provided by metamail package
99 rm -f $RPM_BUILD_ROOT%{_bindir}/mmencode
100 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/mmencode.1
101
102 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Mail
103 bzip2 -dc %{SOURCE2} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
104
105 gzip -9nf Changes Overview README # BUGS
106
107 %clean
108 rm -rf $RPM_BUILD_ROOT
109
110 %files
111 %defattr(644,root,root,755)
112 %doc {Changes,Overview,README}.gz
113
114 %attr(755,root,root) %{_bindir}/*
115 %{_datadir}/elm
116 %{_mandir}/man1/*
117 %lang(pl) %{_mandir}/pl/man1/*
118 %lang(fi) %{_mandir}/fi/man1/*
119
120 %{_applnkdir}/Network/Mail/elm.desktop
This page took 0.030916 seconds and 3 git commands to generate.