X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=alpine.spec;h=4717c30ea95b1d511dc804f62f93407593829dd7;hb=7a2507b7e4adc2ebd0fe190cb79d238fdc0d59ec;hp=ac724892409441a23caae55b9a5a8aa8a951d893;hpb=d3fbb0f91c9468679183a6f77c58105ca3b49386;p=packages%2Falpine.git diff --git a/alpine.spec b/alpine.spec index ac72489..4717c30 100644 --- a/alpine.spec +++ b/alpine.spec @@ -5,10 +5,10 @@ Summary: University of Washington Alpine mail user agent Summary(pl.UTF-8): Klient pocztowy Alpine z Uniwersytetu w Waszyngtonie Name: alpine -%define ver 0.999999 -%define patchlevel 10 +%define ver 1.00 +%define patchlevel 3 Version: %{ver}.%{patchlevel} -Release: 1 +Release: 2 Epoch: 1 License: Apache License 2.0 Group: Applications/Mail @@ -16,7 +16,7 @@ Group: Applications/Mail #Source0: ftp://ftp.cac.washington.edu/alpine/%{name}-%{version}.tar.gz # Source with applied patches from http://staff.washington.edu/chappa/alpine/ Source0: http://staff.washington.edu/chappa/alpine/patches/alpine-%{ver}/%{name}-%{ver}_%{patchlevel}.tar.gz -# Source0-md5: eb246f71450880b80f9775032b2b6842 +# Source0-md5: 3937652526da1afe6310e05650ace80c Source1: pico.desktop Source2: %{name}.desktop Source3: %{name}.png @@ -182,6 +182,12 @@ cat < $RPM_BUILD_ROOT%{alpineconfdir}/alpine.conf.fixed EOF +%post +if [ -f "%{alpineconfdir}/alpine.conf" -a -f "%{alpineconfdir}/alpine.conf.rpmnew" ]; then + mv %{alpineconfdir}/alpine.conf %{alpineconfdir}/alpine.conf.backup + alpine -P %{alpineconfdir}/alpine.conf.backup -conf > /etc/alpine/alpine.conf || exit 0 +fi + %clean rm -rf $RPM_BUILD_ROOT