|
@@ -25,6 +25,10 @@
|
|
|
|
|
|
|
|
# FIXME mlelstv - junk because untested, especially milter option
|
|
# FIXME mlelstv - junk because untested, especially milter option
|
|
|
|
|
|
|
|
|
|
+# package version
|
|
|
|
|
+%define V_major 20030314
|
|
|
|
|
+%define V_minor p2
|
|
|
|
|
+
|
|
|
# package information
|
|
# package information
|
|
|
Name: amavisd
|
|
Name: amavisd
|
|
|
Summary: Interface Daemon between MTA and Content Checker
|
|
Summary: Interface Daemon between MTA and Content Checker
|
|
@@ -34,17 +38,15 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [JUNK]
|
|
Distribution: OpenPKG [JUNK]
|
|
|
Group: Mail
|
|
Group: Mail
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: 20030314
|
|
|
|
|
-Release: 20030423
|
|
|
|
|
|
|
+Version: %{V_major}%{V_minor}
|
|
|
|
|
+Release: 20030508
|
|
|
|
|
|
|
|
# package options
|
|
# package options
|
|
|
%option with_milter no
|
|
%option with_milter no
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
-Source0: http://www.ijs.si/software/amavisd/amavisd-new-%{version}.tar.gz
|
|
|
|
|
|
|
+Source0: http://www.ijs.si/software/amavisd/amavisd-new-%{V_major}-%{V_minor}.tar.gz
|
|
|
Source1: rc.amavisd
|
|
Source1: rc.amavisd
|
|
|
-Patch0: http://www.ijs.si/software/amavisd/amavisd-new-%{version}-p1A.patch
|
|
|
|
|
-Patch1: http://www.ijs.si/software/amavisd/amavisd-new-%{version}-p1B.patch
|
|
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -69,9 +71,7 @@ AutoReqProv: no
|
|
|
with any MTA as a SMTP relay.
|
|
with any MTA as a SMTP relay.
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
- %setup -q -n %{name}-new-%{version}
|
|
|
|
|
- %patch0 -p0
|
|
|
|
|
- %patch1 -p0
|
|
|
|
|
|
|
+ %setup -q -n %{name}-new-%{V_major}
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
%if "%{with_milter}" == "yes"
|
|
%if "%{with_milter}" == "yes"
|