- --with-system-pinerc=%_sysconfdir/pine.conf

--with-system-fixed-pinerc=%_sysconfdir/pine.conf.fixed (#426512)
This commit is contained in:
Rex Dieter 2007-12-21 17:23:11 +00:00
commit 46b72c7c2c

View file

@ -3,7 +3,7 @@
Summary: UW Alpine mail user agent
Name: alpine
Version: 1.00
Release: 1%{?dist}
Release: 2%{?dist}
License: Apache Software License
Group: Applications/Internet
@ -60,7 +60,10 @@ touch imap/ip6
--without-tcl \
--with-c-client-target=lfd \
--with-passfile=.alpine.passfile \
--with-spellcheck-prog=aspell
--with-spellcheck-prog=aspell \
--with-system-pinerc=%{_sysconfdir}/pine.conf \
--with-system-fixed-pinerc=%{_sysconfdir}/pine.conf.fixed
make %{?_smp_mflags} EXTRACFLAGS="$RPM_OPT_FLAGS"
@ -69,9 +72,9 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# create/touch %ghost'd files
mkdir -p $RPM_BUILD_ROOT/etc
touch $RPM_BUILD_ROOT/etc/pine.conf
touch $RPM_BUILD_ROOT/etc/pine.conf.fixed
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf
touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed
%clean
@ -81,8 +84,8 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README LICENSE doc/tech-notes.txt
%ghost %config(noreplace) /etc/pine.conf
%ghost %config(noreplace) /etc/pine.conf.fixed
%ghost %config(noreplace) %{_sysconfdir}/pine.conf
%ghost %config(noreplace) %{_sysconfdir}/pine.conf.fixed
%{_bindir}/alpine
%{_bindir}/pico
%{_bindir}/pilot
@ -96,6 +99,10 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Dec 22 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.00-2
- --with-system-pinerc=%%_sysconfdir/pine.conf
--with-system-fixed-pinerc=%%_sysconfdir/pine.conf.fixed (#426512)
* Fri Dec 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.00-1
- alpine-1.00