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