new URL
use %license, %make_build, %make_install
This commit is contained in:
parent
8e6e2e4e0a
commit
16927c9b0e
1 changed files with 11 additions and 10 deletions
21
alpine.spec
21
alpine.spec
|
|
@ -6,15 +6,11 @@
|
|||
Summary: powerful, easy to use console email client
|
||||
Name: alpine
|
||||
Version: 2.21
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
|
||||
License: ASL 2.0
|
||||
# Upstream change - see https://groups.google.com/forum/#!msg/comp.mail.pine/4w_f1ro6GRA/faiu1Egw_ywJ
|
||||
#URL: http://re-alpine.sourceforge.net/
|
||||
#Source0: http://downloads.sourceforge.net/sourceforge/re-alpine/re-alpine-%{version}%{?pre}.tar.bz2
|
||||
URL: http://alpine.freeiz.com/
|
||||
#Source0: http://alpine.freeiz.com/alpine/release/src/alpine-%{version}.tar.xz
|
||||
Source0: http://alpine.freeiz.com/alpine/patches/alpine-%{version}/alpine-%{version}.tar.xz
|
||||
URL: http://alpine.x10host.com/
|
||||
Source0: http://alpine.x10host.com/alpine/patches/alpine-%{version}/alpine-%{version}.tar.xz
|
||||
Source1: README.fedora
|
||||
|
||||
# Using "Conflicts" instead of Obsoletes because while alpine is substantially
|
||||
|
|
@ -91,11 +87,11 @@ touch imap/ip6
|
|||
--with-system-pinerc=%{_sysconfdir}/pine.conf \
|
||||
--with-system-fixed-pinerc=%{_sysconfdir}/pine.conf.fixed
|
||||
|
||||
make %{?_smp_mflags} EXTRACFLAGS="$RPM_OPT_FLAGS"
|
||||
%make_build EXTRACFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%make_install
|
||||
|
||||
# create/touch %ghost'd files
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
|
|
@ -104,8 +100,9 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed
|
|||
|
||||
|
||||
%files
|
||||
%doc README LICENSE
|
||||
%doc README
|
||||
%doc README.fedora
|
||||
%license LICENSE
|
||||
%ghost %config(noreplace) %{_sysconfdir}/pine.conf
|
||||
%ghost %config(noreplace) %{_sysconfdir}/pine.conf.fixed
|
||||
%{_bindir}/alpine
|
||||
|
|
@ -121,6 +118,10 @@ touch $RPM_BUILD_ROOT%{_sysconfdir}/pine.conf.fixed
|
|||
|
||||
|
||||
%changelog
|
||||
* Mon May 21 2018 Rex Dieter <rdieter@fedoraproject.org> - 2.21-7
|
||||
- new URL
|
||||
- use %%license, %%make_build, %%make_install
|
||||
|
||||
* Tue Mar 06 2018 josef radinger <cheese@nosuchhost.net> - 2.21-6
|
||||
- add Buildrequires: gcc
|
||||
https://fedoraproject.org/wiki/Packaging:C_and_C++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue