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