From patchwork Fri Oct 30 20:12:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 55849 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp67735lbr; Fri, 30 Oct 2015 13:22:50 -0700 (PDT) X-Received: by 10.50.164.170 with SMTP id yr10mr236566igb.12.1446236570255; Fri, 30 Oct 2015 13:22:50 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id j70si9128199ioj.179.2015.10.30.13.22.49; Fri, 30 Oct 2015 13:22:50 -0700 (PDT) Received-SPF: pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of lng-odp-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=lng-odp-bounces@lists.linaro.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: by lists.linaro.org (Postfix, from userid 109) id 978F362C7C; Fri, 30 Oct 2015 20:22:49 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on ip-10-142-244-252 X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID, URIBL_BLOCKED autolearn=disabled version=3.4.0 Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 34F2862C85; Fri, 30 Oct 2015 20:17:54 +0000 (UTC) X-Original-To: lng-odp@lists.linaro.org Delivered-To: lng-odp@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 152D762C91; Fri, 30 Oct 2015 20:17:43 +0000 (UTC) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) by lists.linaro.org (Postfix) with ESMTPS id 626F362C71 for ; Fri, 30 Oct 2015 20:16:45 +0000 (UTC) Received: by lfaz124 with SMTP id z124so38769516lfa.1 for ; Fri, 30 Oct 2015 13:16:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SkxeQp+D7wABtC/L9y9ieSaDkiyDbGUHF5NLsBbzGHA=; b=hOpApTifOG4xEVKnbMTt21BcF2I3Bh+ToSn3tcLEiWAHV0cqm5gB3H+o8sULaolsoE s6bPc0UBqimz4kKz/0xhr/Wm7KLKNqI7D2MqtlPMuhK4IpwwVzBX1olT3R1wG9O5LZ7y YYFYSl9lcKpYi3lQ+tY2K4GD5qZMoAr9iSzYuy9NlHYFLQ2yH0A5/BF6HLt+8+OYRr0o ySH4NEErZkkL8kakTi7KMhUTe71w8iDXgnPHxh0mS7vDkJK69snO6jnRgoYqJt+JZDSG Ew4BHCq+EuNxichb3vD25D7Wdw5+SOwOnPpnbng9ewzSU1qCQBCVbsMbJK5r+ZpXQLbE G8jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SkxeQp+D7wABtC/L9y9ieSaDkiyDbGUHF5NLsBbzGHA=; b=LXSS/3wU3CekUB268A7usSToIs0WJUGORci9xuByCdWUlUmEC3hAa6e8ouz0NTALGx zZwVd5nJ8cgvAgCd+0hLC9R53K6sOyXu7VWjOHWRSPbcWCmeVi4fK/w/TC9v06pqRUvX K1eyp7UFbrcUD2aNNQd/XLDcKtxLPOBnsiJ1eh60Upxvaxu/BCkuWqtVP9T00wmbdl1G o9v6Z0uHdx86MDsICN7/WjtZycYPl5r1ggt+oC2CL9FE4Oyzyu5+Qo/Gjv87p70YBu8U 8zdyLAyeWyl9qBhTvPTluNsF8xr8hvw6FvCr108FacWBlXhtNGSSK821arac3veJTcQD aBVQ== X-Gm-Message-State: ALoCoQk4EunF3QwOj9cMr2CtxUWuutG62EgMb0NCJP5tNHlavZwhmdWD02l0d/8RTq3r5hLs4jsV X-Received: by 10.112.11.163 with SMTP id r3mr4924462lbb.8.1446236204034; Fri, 30 Oct 2015 13:16:44 -0700 (PDT) Received: from localhost (c-893970d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.57.137]) by smtp.gmail.com with ESMTPSA id b142sm1547664lfb.46.2015.10.30.13.16.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2015 13:16:43 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Fri, 30 Oct 2015 21:12:27 +0100 Message-Id: <1446235949-22917-7-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446235949-22917-1-git-send-email-anders.roxell@linaro.org> References: <1446235949-22917-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCH 6/8] pkg: add odp.spec to generate rpm packages X-BeenThere: lng-odp@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: "The OpenDataPlane \(ODP\) List" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: lng-odp-bounces@lists.linaro.org Sender: "lng-odp" Signed-off-by: Anders Roxell Reviewed-by: Fathi Boudra --- pkg/rpm/odp.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 pkg/rpm/odp.spec diff --git a/pkg/rpm/odp.spec b/pkg/rpm/odp.spec new file mode 100644 index 0000000..6e3be70 --- /dev/null +++ b/pkg/rpm/odp.spec @@ -0,0 +1,65 @@ +# Copyright (c) 2015, Linaro Limited +# All rights reserved. +# +# SPDX-License-Identifier: BSD-3-Clause + +Name: opendataplane +Version: 1.3.0.0 +Release: 1 +Packager: anders.roxell@linaro.org +URL: http://opendataplane.org +Source: %{name}-%{version}.tar.gz +Summary: OpenDataPlane Reference implementation +Group: System Environment/Libraries +License: BSD-3-Clause +BuildRequires: automake +BuildRequires: autoconf +BuildRequires: libtool +BuildRequires: libtoolize +BuildRequires: libssl-devel +BuildRequires: doxygen +BuildRequires: asciidoc +BuildRequires: source-highlight +BuildRequires: texlive-collection-fontsextra +BuildRequires: texlive-collection-latexextra + +%description +ODP's reference implementation includes header files and a library +More libraries are available as extensions in other packages. + +%package devel +Summary: OpenDataPlane Reference implementation +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +ODP devel is a set of headers, a library and example files. +This is a reference implementation. + +%package doc +Summary: OpenDataPlane Reference documentation +BuildArch: noarch + +%description doc +ODP doc is divided in two parts: API details in doxygen HTML format +and guides in HTMLformats. + +%prep +%autosetup -n %{name}-%{version} + +%configure +%make_install + +%files +%{_datadir}/* +%{_bindir}/* +%{_libdir}/* + +%files devel +%{_includedir}/* +%{_libdir}/ + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig +%changelog +* Sun Oct 25 2015 - anders.roxell (at) linaro.org +- Initial rpm release, ODP release v1.5