diff mbox

[6/8] pkg: add odp.spec to generate rpm packages

Message ID 1446235949-22917-7-git-send-email-anders.roxell@linaro.org
State Superseded
Headers show

Commit Message

Anders Roxell Oct. 30, 2015, 8:12 p.m. UTC
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Reviewed-by: Fathi Boudra <fathi.boudra@linaro.org>
---
 pkg/rpm/odp.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)
 create mode 100644 pkg/rpm/odp.spec
diff mbox

Patch

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