Группа :: Мониторинг
Пакет: ibsim
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: ibsim
Summary: InfiniBand fabric simulator for management
Version: 0.11
Release: alt1
License: GPLv2 or BSD
Group: Monitoring
Url: https://github.com/linux-rdma/ibsim
# https://github.com/linux-rdma/ibsim.git
Source: %name-%version.tar
Patch1: %name-%version-alt.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: rdma-core-devel
%description
%name provides simulation of infiniband fabric for using with
OFA OpenSM, diagnostic and management tools.
%prep
%setup
%patch1 -p1
%build
%add_optflags -D_FILE_OFFSET_BITS=64
%make_build \
CFLAGS="%optflags %optflags_shared -I. -I../include" \
%nil
%install
%makeinstall_std \
CFLAGS="%optflags %optflags_shared -I. -I../include" \
prefix=%_prefix libpath=%_libdir binpath=%_bindir \
%nil
%files
%doc README TODO net-examples scripts
%_libdir/umad2sim
%_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict
Name: ibsim
Summary: InfiniBand fabric simulator for management
Version: 0.11
Release: alt1
License: GPLv2 or BSD
Group: Monitoring
Url: https://github.com/linux-rdma/ibsim
# https://github.com/linux-rdma/ibsim.git
Source: %name-%version.tar
Patch1: %name-%version-alt.patch
BuildRequires(pre): rpm-build-licenses
BuildRequires: rdma-core-devel
%description
%name provides simulation of infiniband fabric for using with
OFA OpenSM, diagnostic and management tools.
%prep
%setup
%patch1 -p1
%build
%add_optflags -D_FILE_OFFSET_BITS=64
%make_build \
CFLAGS="%optflags %optflags_shared -I. -I../include" \
%nil
%install
%makeinstall_std \
CFLAGS="%optflags %optflags_shared -I. -I../include" \
prefix=%_prefix libpath=%_libdir binpath=%_bindir \
%nil
%files
%doc README TODO net-examples scripts
%_libdir/umad2sim
%_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь