- spacing, complete URL
[packages/alpine.git] / alpine.spec
CommitLineData
ecdbf6cc
PG
1# TODO:
2# - backport man-pages from pine.spec
3# - alpine should obsolete pine, link pine -> alpine should be made
ecdbf6cc 4# - review patches from pine:
ffdc223c
PG
5# - home_etc support
6# - ....many more
02477d30 7Summary: University of Washington Pine mail user agent
84f5c30e 8Summary(pl.UTF-8): Klient pocztowy Pine z Uniwersytetu w Waszyngtonie
02477d30 9Name: alpine
db14e620 10%define ver 0.9999
28b69314 11%define patchlevel 18
db14e620 12Version: %{ver}.%{patchlevel}
d16122d2 13Release: 2
ecdbf6cc
PG
14Epoch: 1
15License: Apache License 2.0
02477d30 16Group: Applications/Mail
19f73470
PG
17# Main site:
18#Source0: ftp://ftp.cac.washington.edu/alpine/%{name}-%{version}.tar.gz
19# Source with applied patches from http://staff.washington.edu/chappa/alpine/
db14e620 20Source0: http://staff.washington.edu/chappa/alpine/patches/alpine-%{ver}/%{name}-%{ver}_%{patchlevel}.tar.gz
28b69314 21# Source0-md5: 888ecef4d50e15e4237f7a7a55793f68
ecdbf6cc 22Source1: pico.desktop
e4e766a4
JB
23Source2: %{name}.desktop
24Source3: %{name}.png
4db9f585 25Patch0: %{name}-thread_end.patch
d16122d2 26Patch1: %{name}-index_display.patch
e4e766a4 27URL: http://www.washington.edu/alpine/
c85f8efa
PG
28BuildRequires: autoconf
29BuildRequires: automake
84f5c30e 30BuildRequires: krb5-devel
02477d30
AM
31BuildRequires: ncurses-devel
32BuildRequires: openldap-devel
33BuildRequires: openssl-devel
02477d30 34BuildRequires: pam-devel
84f5c30e 35BuildRequires: tcl-devel
02477d30
AM
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
ecdbf6cc
PG
38%define alpineconfdir /etc/%{name}
39
02477d30
AM
40%description
41Alpine -- an Alternatively Licensed Program for Internet News & Email
42-- is a tool for reading, sending, and managing electronic messages.
43Alpine is the successor to Pine and was developed by Computing &
44Communications at the University of Washington. Though originally
45designed for inexperienced email users, Alpine supports many advanced
46features, and an ever-growing number of configuration and
47personal-preference options.
48
84f5c30e
JB
49%description -l pl.UTF-8
50Alpine, czyli Alternatively Licensed Program for Internet News & Email
51(alternatywnie licencjonowany program do newsów i poczty internetowej)
52to narzędzie do czytania, wysyłania i zarządzania wiadomościami
53elektronicznymi. Alpine jest następcą Pine'a i został napisany przez
54wydział Computing & Communications (Obliczeń i komunikacji) na
55Uniwersytecie w Waszyngtonie. Mimo że Alpine pierwotnie został
56zaprojektowany dla niedoświadczonych użytkowników poczty, obsługuje
57wiele zaawansowanych możliwości, a liczba opcji konfiguracyjnych
58ciągle rośnie.
59
ecdbf6cc
PG
60%package -n pico
61Summary: Simple text editor in the style of the Pine Composer
62Summary(pl.UTF-8): Prosty edytor tekstowy w stylu alpine
63Summary(pt_BR.UTF-8): Editor de textos para terminal simples e fácil de usar
64Group: Applications/Editors
65
66%description -n pico
67Pico is a simple, display-oriented text editor based on the Alpine
68message system composer. As with Pine, commands are displayed at the
69bottom of the screen, and context-sensitive help is provided. As
70characters are typed they are immediately inserted into the text.
71
72%description -n pico -l pl.UTF-8
73Pico jest prostym, zorientowanym na wyświetlanie edytorem bazującym na
74alpine. Tak jak w pine komendy są wyświetlane na dole ekranu oraz
75dostępna jest pomoc konteksowa. Wpisywane znaki są natychmiast
76włączane do tekstu.
77
78%description -n pico -l pt_BR.UTF-8
79Pico é um editor de texto baseado no compositor de mensagens do Alpine.
80Assim como no Pine, comandos são mostrados na parte de baixo da tela,
81e ajuda de acordo com o contexto está disponível.
82
83%package -n pilot
84Summary: Simple file system browser in the style of the Alpine Composer
85Summary(pl.UTF-8): Prosta przeglądarka plików w stylu composera alpine
86Summary(pt_BR.UTF-8): Navegador de sistemas de arquivos no estilo do compositor do Alpine
87Group: Applications/Shells
88
89%description -n pilot
90Pilot is a simple, display-oriented file system browser based on the
91Alpine message system composer. As with Alpine, commands are displayed at
92the bottom of the screen, and context-sensitive help is provided.
93
94%description -n pilot -l pl.UTF-8
95Pilot jest prostą, zorientowaną na wyświetlanie przeglądarką plików w
96stylu compsera pine. Podobnie jak w alpine polecenia sa wyświetlane na
97dole ekranu oraz jest dostępna pomoc kontekstowa.
98
99%description -n pilot -l pt_BR.UTF-8
100Pilot é um navegador de sistemas de arquivos baseado no Pine. Assim
101como no Pine, comandos são apresentados na parte de baixo da tela, e
102ajuda de acordo com o contexto está disponível.
103
02477d30 104%prep
db14e620 105%setup -q -n %{name}-%{ver}
4db9f585 106%patch0 -p1
d16122d2 107%patch1 -p1
02477d30
AM
108
109%build
c85f8efa
PG
110%{__autoconf}
111%{__aclocal} -I m4
112%{__automake}
02477d30
AM
113%configure \
114 --enable-quotas \
115 --with-smtp-msa=%{_libdir}/sendmail \
116 --with-spellcheck-prog=aspell \
ecdbf6cc
PG
117 --with-system-pinerc=%{alpineconfdir}/%{name}.conf \
118 --with-system-fixed-pinerc=%{alpineconfdir}/%{name}.conf.fixed \
02477d30
AM
119 --with-krb5-dir=%{_prefix} \
120 --with-ldap-dir=%{_prefix} \
121 --with-system-mail-directory=/var/mail
122%{__make}
123
124%install
125rm -rf $RPM_BUILD_ROOT
28b69314 126install -d $RPM_BUILD_ROOT{%{alpineconfdir},%{_desktopdir},%{_pixmapsdir}}
02477d30
AM
127
128%{__make} install \
129 DESTDIR=$RPM_BUILD_ROOT
130
ecdbf6cc 131install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
28b69314
PG
132install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
133install %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}
134
02477d30
AM
135%clean
136rm -rf $RPM_BUILD_ROOT
137
138%files
139%defattr(644,root,root,755)
ecdbf6cc
PG
140%doc README doc/tech-notes.txt
141%dir %{alpineconfdir}
28b69314 142%attr(755,root,root) %{_bindir}/%{name}
02477d30
AM
143%attr(755,root,root) %{_bindir}/rpload
144%attr(755,root,root) %{_bindir}/rpdump
ecdbf6cc
PG
145#%attr(755,root,root) %{_bindir}/mailutil
146#%attr(2755,root,mail) %{_sbindir}/mlock
28b69314 147%{_mandir}/man1/%{name}.1*
ecdbf6cc
PG
148#%{_mandir}/man1/rpload.1*
149#%{_mandir}/man1/rpdump.1*
150#%{_mandir}/man1/mailutil.1*
28b69314
PG
151%{_desktopdir}/%{name}.desktop
152%{_pixmapsdir}/%{name}.png
ecdbf6cc
PG
153
154%files -n pico
155%defattr(644,root,root,755)
156%attr(755,root,root) %{_bindir}/pico
157%{_desktopdir}/pico.desktop
158%{_mandir}/man1/pico*
159
160%files -n pilot
161%defattr(644,root,root,755)
162%attr(755,root,root) %{_bindir}/pilot
163%{_mandir}/man1/pilot*
This page took 0.169898 seconds and 4 git commands to generate.