|
|
|
@ -31,12 +31,13 @@ Distribution: OpenPKG Community
|
|
|
|
|
Class: EVAL |
|
|
|
|
Group: ShellUtils |
|
|
|
|
License: MIT-style |
|
|
|
|
Version: 1.32 |
|
|
|
|
Release: 20160405 |
|
|
|
|
Version: 1.34 |
|
|
|
|
Release: 20190126 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://github.com/dagwieers/op/archive/%{version}.tar.gz |
|
|
|
|
Source1: op.conf |
|
|
|
|
Patch0: op.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
@ -59,6 +60,7 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
|
|
%prep |
|
|
|
|
# unpack distribution |
|
|
|
|
%setup -q |
|
|
|
|
%patch -p0 |
|
|
|
|
|
|
|
|
|
# fix paths on man page |
|
|
|
|
%{l_shtool} subst \ |
|
|
|
@ -74,6 +76,7 @@ PreReq: OpenPKG, openpkg >= 20160101
|
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
./configure \ |
|
|
|
|
--prefix=%{l_prefix} \ |
|
|
|
|
--mandir=%{l_prefix}/man \ |
|
|
|
|
--sysconfdir=%{l_prefix}/etc/op |
|
|
|
|
|
|
|
|
|
# build package |
|
|
|
|