X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Frpm%2Fvpp-suse.spec;h=ea62eee7f9b773d5c699742272a328510841ccf2;hb=1c7bf5d41737984907e8bad1dc832eb6cb1d6288;hp=cc53e86ae9521f534dd3e9c57eb383eeec5831e5;hpb=34acce2574311bcc149660729bde5fccf1045915;p=vpp.git diff --git a/extras/rpm/vpp-suse.spec b/extras/rpm/vpp-suse.spec index cc53e86ae95..ea62eee7f9b 100644 --- a/extras/rpm/vpp-suse.spec +++ b/extras/rpm/vpp-suse.spec @@ -1,7 +1,7 @@ # # spec file for package vpp # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -38,17 +38,23 @@ BuildRequires: check-devel BuildRequires: chrpath BuildRequires: distribution-release BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: glibc-devel BuildRequires: glibc-devel-static -BuildRequires: java-1_8_0-openjdk-devel +BuildRequires: java-devel >= 1.8 +BuildRequires: libboost_headers-devel +BuildRequires: libboost_thread-devel BuildRequires: libnuma-devel BuildRequires: libopenssl-devel BuildRequires: libtool BuildRequires: lsb-release BuildRequires: make +BuildRequires: mbedtls-devel BuildRequires: openssl-devel BuildRequires: python-devel BuildRequires: python-pip BuildRequires: python-rpm-macros +BuildRequires: python2-ply BuildRequires: python3-devel BuildRequires: python3-pip BuildRequires: shadow @@ -112,6 +118,7 @@ Summary: VPP api lua bindings Group: Development/Libraries/Other Requires: %{lname} = %{version} Requires: %{name} = %{version} +Requires: %{name}-devel = %{version} Conflicts: otherproviders(%{name}-any-api-lua) Provides: %{name}-any-api-lua = %{version} @@ -123,6 +130,7 @@ Summary: VPP api java bindings Group: Development/Libraries/Java Requires: %{lname} = %{version} Requires: %{name} = %{version} +Requires: %{name}-devel = %{version} Conflicts: otherproviders(%{name}-any-api-java) Provides: %{name}-any-api-java = %{version} @@ -134,6 +142,7 @@ Summary: VPP api python bindings Group: Development/Libraries/Python Requires: %{lname} = %{version} Requires: %{name} = %{version} +Requires: %{name}-devel = %{version} Requires: python-setuptools Conflicts: otherproviders(%{name}-any-python-api) Provides: %{name}-any-python-api = %{version} @@ -148,7 +157,6 @@ This package contains the python bindings for the vpp api export VPP_BUILD_USER=suse export VPP_BUILD_HOST=SUSE -make V=1 PLATFORM=vpp bootstrap make V=1 PLATFORM=vpp build-release cd %{_vpp_build_dir}/../src/vpp-api/python && %{py2_build} @@ -315,7 +323,7 @@ export NO_BRP_CHECK_RPATH=true %config %{_sysconfdir}/vpp/startup.conf %{_sysconfdir}/bash_completion.d/vppctl_completion %{_datadir}/vpp/vppctl-cmd-list -%doc LICENSE +%license LICENSE %files -n %{lname} %exclude %{_libdir}/vpp_plugins