mirror of
https://abf.rosa.ru/djam/batctl.git
synced 2025-02-23 09:22:49 +00:00
Imported from SRPM
This commit is contained in:
commit
6debdb6c94
2 changed files with 33 additions and 0 deletions
2
.abf.yml
Normal file
2
.abf.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
sources:
|
||||
batctl-2017.3.tar.gz: 4d5dbf074ee45fd701f31446c5b561772fac93a9
|
31
batctl.spec
Normal file
31
batctl.spec
Normal file
|
@ -0,0 +1,31 @@
|
|||
%define debug %nil
|
||||
%define debug_package %nil
|
||||
|
||||
Name: batctl
|
||||
Version: 2017.3
|
||||
Release: 1
|
||||
Summary: B.A.T.M.A.N. advanced control and management tool
|
||||
URL: https://www.open-mesh.org/
|
||||
Source: https://downloads.open-mesh.org/batman/stable/sources/%{name}/%{name}-%{version}.tar.gz
|
||||
Group: Development/Other
|
||||
License: GPLv2
|
||||
BuildRequires: gcc
|
||||
|
||||
%description
|
||||
B.A.T.M.A.N. advanced control and management tool
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
sed -i '/PREFIX/s/\/local//' Makefile
|
||||
|
||||
%build
|
||||
%make
|
||||
|
||||
%install
|
||||
%makeinstall DESTDIR=%{buildroot}
|
||||
|
||||
%files
|
||||
%doc README
|
||||
%{_sbindir}/%{name}
|
||||
%{_mandir}/man8/%{name}.*
|
||||
|
Loading…
Add table
Reference in a new issue