|
|
|
|
@ -24,18 +24,18 @@
|
|
|
|
|
# package information |
|
|
|
|
Name: autorevision |
|
|
|
|
Summary: Version Control Metadata Extraction |
|
|
|
|
URL: http://www.catb.org/~esr/autorevision/ |
|
|
|
|
URL: https://autorevision.github.io/ |
|
|
|
|
Vendor: Eric S. Raymond |
|
|
|
|
Packager: OpenPKG Foundation e.V. |
|
|
|
|
Distribution: OpenPKG Community |
|
|
|
|
Class: EVAL |
|
|
|
|
Group: SCM |
|
|
|
|
License: MIT-style |
|
|
|
|
Version: 1.8 |
|
|
|
|
Release: 20140830 |
|
|
|
|
Version: 1.14 |
|
|
|
|
Release: 20160405 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://www.catb.org/~esr/autorevision/autorevision-%{version}.tgz |
|
|
|
|
Source0: https://github.com/Autorevision/autorevision/releases/download/v%2F%{version}/autorevision-%{version}.tgz |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, asciidoc |
|
|
|
|
@ -53,17 +53,14 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
%track |
|
|
|
|
prog autorevision = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = http://www.catb.org/~esr/autorevision/ |
|
|
|
|
regex = autorevision-(__VER__)\.tar\.gz |
|
|
|
|
url = https://github.com/Autorevision/autorevision/releases |
|
|
|
|
regex = autorevision-(__VER__)\.tgz |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
|
-e 's;#!/bin/bash;#!%{l_bash};g' \ |
|
|
|
|
autorevision |
|
|
|
|
a2x -f manpage autorevision.asciidoc |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
|
|