Skip to content

Commit

Permalink
Merge pull request #8 from mdontu-bd/master
Browse files Browse the repository at this point in the history
libbdvmi: added an RPM spec file
  • Loading branch information
mdontu-bd authored Jul 17, 2020
2 parents 8ecd4d2 + 9723252 commit 6fe276b
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions libbdvmi.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Name: libbdvmi
Summary: A C++ virtual machine introspection library
License: LGPLv3+
URL: https://github.com/bitdefender/libbdvmi
Version: 1.0.0
Release: 0
Group: System/Libraries
BuildRequires: autoconf automake libtool glibc-devel gcc-c++ kernel-headers make libkvmi-devel
Source0: https://github.com/bitdefender/libbdvmi/archive/v1.0.0.tar.gz

%description
This package contains a fairly basic VMI library written in C++ and which supports Xen and KVM (via libkvmi)

%package devel
Summary: A C++ virtual machine introspection library development package
Requires: libbdvmi = %{version}
Group: Development/Libraries

%description devel
This package contains the headers and static library necessary for building
applications that use libbdvmi

%prep
%setup
./bootstrap

%build
%configure --enable-optimize --enable-kvmi
make

%install
%make_install

%files
%{_bindir}/hookguest
%{_libdir}/libbdvmi.so
%{_libdir}/libbdvmi.so.1
%{_libdir}/libbdvmi.so.1.0.0

%files devel
%{_includedir}/bdvmi/
%{_libdir}/libbdvmi.a
%{_libdir}/libbdvmi.la
%{_libdir}/pkgconfig/libbdvmi.pc

0 comments on commit 6fe276b

Please sign in to comment.