From patchwork Fri Oct 30 20:57:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 55859 Delivered-To: patch@linaro.org Received: by 10.112.61.134 with SMTP id p6csp85253lbr; Fri, 30 Oct 2015 14:08:19 -0700 (PDT) X-Received: by 10.50.73.228 with SMTP id o4mr356086igv.37.1446239299339; Fri, 30 Oct 2015 14:08:19 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id c19si9283047iod.106.2015.10.30.14.08.18; Fri, 30 Oct 2015 14:08:19 -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 C01C462C76; Fri, 30 Oct 2015 21:08:18 +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 3C31062C92; Fri, 30 Oct 2015 21:03:15 +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 40E0662C5C; Fri, 30 Oct 2015 21:02:40 +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 01A2F62C7A for ; Fri, 30 Oct 2015 21:02:02 +0000 (UTC) Received: by lfbn126 with SMTP id n126so39317353lfb.2 for ; Fri, 30 Oct 2015 14:02:00 -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=S3ipdN3B0V09OBK548JZUdTx66CpMs/cJZ0b9GMQe85uBUew2AgkT4C4uduceH7TW1 oiIe6N4UyDmyn6c1cP+yscgfaVe/7rqGZ0WldR4Vl21fCRKDDxMMusE6heVGw6vWkpui KztRfd9Ms7sQlKJQ1AKWwtQZQEBZJZfwSA9XPm1qU2yWzzKD7r7hDC4Yw5aGcDyvi2no tGjGiDUqmAW5TKKrTM1vHI2x6YXQNXx06W0/7cphwcxmLTw2gqWdiMVJn1BYg85mad2C RNsOibE8Z4r7g3R7eu1Dv/eIlnGCwgdeqrjmq+OE+v3g7Qw7nqbUt+yk0BSvZZXyAn2M wJvg== 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=fy4wZEd5X9/mLREZVGXV3/SoTDpwD5gNyER7MVC6YwzWQuOiUyx0Ro8Ecpn6VsU0Hp e7nsXliyIOeq2c+/bz0XQ0L/iNy2eNPqczo91gHnYi2cKesAUM8iTspRf3sQE4pvuwoI +iEaSEf2jWhVhSotGcbFdR0pOvhwKHcLin5PBOd2ZzazDTZITAlMtQwQlPruGZWI3eUp rlKj6L/C9qrBexLXM5Ico1eGzpmNOi85Kgsb5W/GmoYPguUzhHDmNi+aVSX7lbabCqcE dB8ZuW+AEg2Tzh6v6XVU7oaWOL+9ObWV7hXL46512tJWYjoC4hClHjIPRLhlQoyf8nf4 sN3A== X-Gm-Message-State: ALoCoQk2mf5egU+HvTDmm5CuGm9tRUdntluW4sJc1i1j0ix5mQmOlDrZml9/Ev1XJ6KCeP7OclbV X-Received: by 10.25.208.141 with SMTP id h135mr3313306lfg.81.1446238920757; Fri, 30 Oct 2015 14:02:00 -0700 (PDT) Received: from localhost (c-893970d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.57.137]) by smtp.gmail.com with ESMTPSA id nb1sm1573888lbb.9.2015.10.30.14.01.59 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2015 14:01:59 -0700 (PDT) From: Anders Roxell To: lng-odp@lists.linaro.org Date: Fri, 30 Oct 2015 21:57:46 +0100 Message-Id: <1446238668-15200-7-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1446238668-15200-1-git-send-email-anders.roxell@linaro.org> References: <1446238668-15200-1-git-send-email-anders.roxell@linaro.org> X-Topics: patch Subject: [lng-odp] [PATCHv2 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