From patchwork Tue Nov 10 21:32:13 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 56349 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1015310lbb; Tue, 10 Nov 2015 13:42:47 -0800 (PST) X-Received: by 10.13.238.132 with SMTP id x126mr5304550ywe.221.1447191767751; Tue, 10 Nov 2015 13:42:47 -0800 (PST) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id w7si3211525ywb.361.2015.11.10.13.42.47; Tue, 10 Nov 2015 13:42:47 -0800 (PST) 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 5ADA061D29; Tue, 10 Nov 2015 21:42:47 +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 7E22361B63; Tue, 10 Nov 2015 21:38:14 +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 48F3461B43; Tue, 10 Nov 2015 21:38:06 +0000 (UTC) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by lists.linaro.org (Postfix) with ESMTPS id 85CA461B54 for ; Tue, 10 Nov 2015 21:36:47 +0000 (UTC) Received: by lbbcs9 with SMTP id cs9so6246524lbb.1 for ; Tue, 10 Nov 2015 13:36:46 -0800 (PST) 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=FuzOXz5RBr6MMSc72/RWDDq36CstFOBf/0YV6iIY0Ak=; b=jcVgY0+JRob4x3mAPI/GnwMyTVC4nMFPWF3rKJdF7j611WX/YWMhs2iE/mwdM9X7Dt mKcZyPqRkty77Gs+CeFiPlIgkEYH6vCDemTX66YIiW/IUc+qahFlZxuFbGTASXvilvzg TyipU/05iJp/+xlfhIBjBFWfYk4uJ9oURCPyDkBRhAsH5KvQwOCqrscbtbmL7wjtVvAz qksaCYDgMaChW9msk537ypotbD8wkdfZVB9BD3QroNCcZOmS6ewTLu6OutaCzut2+dFm c+pbPgMgnSaKYF/g1ZoQ9am9NaAv6x/f8j5pzIqFtwXJQFA/MsFNRa3CJeGqr0ZELwdg eETg== 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=FuzOXz5RBr6MMSc72/RWDDq36CstFOBf/0YV6iIY0Ak=; b=KoFAKyv1btPMTccRu4tBtyqWOuaCzLPY/pSLBmsBVB9sDmtwLMehegNUX2aS2th5ww aMubi0xH9cDZTBpn7J2S1oySbqhR0NxK36ZM1q2+ufPQeCePANq45d4MuaoI6Mh2JP5W 2P+ZV/p2D64DkfD6fcgjr9yEZ+PUEERC1Ys7jOQQDPL74JL/HpXdALmztVDAm81liuEZ iHKFsIRdqrfxh/sJN3BGmrTJJlzuD9vv0sGLq6jwjdSqvLFg2YC+m2go//OaMVM/Mb/D iKvI6P78hYCm2yKY9T+ZAFI7xIaCnlxu3fk9n1o+qpH3noOvelaR0vQ+aRgpO2VfwoqE 8fhQ== X-Gm-Message-State: ALoCoQmxzIrzhXy4rmVDETp3NoWmTHXKDlPcC8qek1qAtJ8GkHNl6OWeAwgI5ztiR0lrEKRZeKO2 X-Received: by 10.112.35.196 with SMTP id k4mr2849557lbj.3.1447191406436; Tue, 10 Nov 2015 13:36:46 -0800 (PST) Received: from localhost (c-aa3470d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.52.170]) by smtp.gmail.com with ESMTPSA id gg8sm864185lbc.17.2015.11.10.13.36.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Nov 2015 13:36:45 -0800 (PST) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Tue, 10 Nov 2015 22:32:13 +0100 Message-Id: <1447191136-21213-7-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1447191136-21213-1-git-send-email-anders.roxell@linaro.org> References: <1447191136-21213-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv3 6/9] 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..8a5d0c3 --- /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: Dummy that will be replaced! +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 +* Tue Nov 10 2015 - anders.roxell (at) linaro.org +- Initial rpm release, ODP release v1.4