diff --git a/alpine-2.24.tar.xz b/alpine-2.24.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..5d6c6f00f09453cf1dab342ccc7d9aca71ec5629 Binary files /dev/null and b/alpine-2.24.tar.xz differ diff --git a/alpine.spec b/alpine.spec new file mode 100644 index 0000000000000000000000000000000000000000..a9460bcf227cc63d1fb00604e07c3c4def3e4e62 --- /dev/null +++ b/alpine.spec @@ -0,0 +1,75 @@ +Summary: powerful, easy to use console email client +Name: alpine +Version: 2.24 +Release: 1 +License: ASL 2.0 +URL: http://alpine.x10host.com/ +Source0: http://alpine.x10host.com/alpine/release/src/alpine-2.24.tar.xz + +Conflicts: pine +Provides: re-alpine = alpine-2.24 + +BuildRequires: gcc gettext hunspell krb5-devel ncurses-devel +BuildRequires: openldap-devel openssl-devel pam-devel passwd +Requires: hunspell mailcap /usr/sbin/sendmail + +%description +Alpine -- an Alternatively Licensed Program for Internet +News & Email -- is a tool for reading, sending, and managing +electronic messages. Alpine is the successor to Pine and was +developed by Computing & Communications at the University of +Washington. + +%package help +Summary: Man page files for alpine +Requires: alpine = 2.24 + +%description help +Man page files for alpine. + +%prep +%setup -q -n alpine-2.24 + +%build +touch imap/ip6 +%configure \ + --enable-debug=no \ + --without-tcl \ + --with-c-client-target=lfd \ + --with-smtp-msa=/usr/sbin/sendmail \ + --with-npa=/usr/bin/inews \ + --with-passfile=.alpine.passfile \ + --with-simple-spellcheck=hunspell \ + --with-interactive-spellcheck=hunspell \ + --with-system-pinerc=%{_sysconfdir}/pine.conf \ + --with-system-fixed-pinerc=%{_sysconfdir}/pine.conf.fixed +%make_build EXTRACFLAGS="$RPM_OPT_FLAGS" + +%install +%make_install +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir} +touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf +touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed + +%files +%doc README +%license LICENSE +%ghost %config(noreplace) %{_sysconfdir}/pine.conf +%ghost %config(noreplace) %{_sysconfdir}/pine.conf.fixed +%{_bindir}/alpine +%{_bindir}/pico +%{_bindir}/pilot +%{_bindir}/rpload +%{_bindir}/rpdump + +%files help +%{_mandir}/man1/alpine.1* +%{_mandir}/man1/pico.1* +%{_mandir}/man1/pilot.1* +%{_mandir}/man1/rpload.1* +%{_mandir}/man1/rpdump.1* + + +%changelog +* Mon Jul 26 2021 wangziliang - 2.24-1 +- Package init