|
|
@@ -23,6 +23,10 @@
|
|
|
## SUCH DAMAGE.
|
|
|
##
|
|
|
|
|
|
+# package version
|
|
|
+%define V_major 4.13
|
|
|
+%define V_minor b
|
|
|
+
|
|
|
# package information
|
|
|
Name: a2ps
|
|
|
Summary: Any to Postscript Conversion Tool
|
|
|
@@ -32,11 +36,11 @@ Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [REL]
|
|
|
Group: Converter
|
|
|
License: GPL
|
|
|
-Version: 4.13
|
|
|
-Release: 20020206
|
|
|
+Version: %{V_major}%{V_minor}
|
|
|
+Release: 20020609
|
|
|
|
|
|
# list of sources
|
|
|
-Source0: ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-%{version}.tar.gz
|
|
|
+Source0: ftp://ftp.enst.fr/pub/unix/a2ps/a2ps-%{V_major}%{V_minor}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -54,7 +58,7 @@ AutoReqProv: no
|
|
|
whatever...) provided you have the necessary tools.
|
|
|
|
|
|
%prep
|
|
|
- %setup -q
|
|
|
+ %setup -q -n a2ps-%{V_major}
|
|
|
|
|
|
%build
|
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH
|