]> git.pld-linux.org Git - packages/alpine.git/blob - alpine.spec
add927b09de927cc3903a0ba6c1c1262cd839693
[packages/alpine.git] / alpine.spec
1 Summary:        University of Washington Pine mail user agent
2 Name:           alpine
3 Version:        0.999
4 Release:        0.1
5 License:        Apache License
6 Group:          Applications/Mail
7 Source0:        ftp://ftp.cac.washington.edu/alpine/%{name}-%{version}.tar.gz
8 # Source0-md5:  082de388a998c1faa2385ebdfd6800f5
9 URL:            http://www.washington.edu/alpine
10 BuildRequires:  ncurses-devel
11 BuildRequires:  openldap-devel
12 BuildRequires:  openssl-devel
13 BuildRequires:  tcl-devel
14 BuildRequires:  pam-devel
15 BuildRequires:  krb5-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Alpine -- an Alternatively Licensed Program for Internet News & Email
20 -- is a tool for reading, sending, and managing electronic messages.
21 Alpine is the successor to Pine and was developed by Computing &
22 Communications at the University of Washington. Though originally
23 designed for inexperienced email users, Alpine supports many advanced
24 features, and an ever-growing number of configuration and
25 personal-preference options.
26
27 %prep
28 %setup -q
29
30 %build
31 %configure \
32         --enable-quotas \
33         --with-smtp-msa=%{_libdir}/sendmail \
34         --with-spellcheck-prog=aspell \
35         --with-system-pinerc=/etc/alpine/alpine.conf \
36         --with-system-fixed-pinerc=/etc/alpine/alpine.conf.fixed \
37         --with-krb5-dir=%{_prefix} \
38         --with-ldap-dir=%{_prefix} \
39         --with-system-mail-directory=/var/mail
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README LICENSE doc/tech-notes.txt
54 %attr(755,root,root) %{_bindir}/alpine
55 %attr(755,root,root) %{_bindir}/pico
56 %attr(755,root,root) %{_bindir}/pilot
57 %attr(755,root,root) %{_bindir}/rpload
58 %attr(755,root,root) %{_bindir}/rpdump
59 %attr(755,root,root) %{_bindir}/mailutil
60 %attr(2755, root, mail) %{_sbindir}/mlock
61 %{_mandir}/man1/alpine.1*
62 %{_mandir}/man1/pico.1*
63 %{_mandir}/man1/pilot.1*
64 %{_mandir}/man1/rpload.1*
65 %{_mandir}/man1/rpdump.1*
66 %{_mandir}/man1/mailutil.1*
This page took 0.020357 seconds and 2 git commands to generate.