diff mbox

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

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

Commit Message

Anders Roxell Oct. 30, 2015, 8:57 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

Comments

Maxim Uvarov Nov. 2, 2015, 7:14 a.m. UTC | #1
On 10/30/2015 23:57, Anders Roxell wrote:
> 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 --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
Version above is 1.3, and log is 1.5. Version should be generated with 
./bootstrap I think.

Maxim.
Anders Roxell Nov. 10, 2015, 9:29 p.m. UTC | #2
On 2015-11-02 10:14, Maxim Uvarov wrote:
> On 10/30/2015 23:57, Anders Roxell wrote:
> >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 --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
> Version above is 1.3, and log is 1.5. Version should be generated with
> ./bootstrap I think.

You are correct it shouldn't be 1.5, and a changelog should not be auto
generated.

This is a changelog for the rpm packaging and not for ODP.

I will send out a new version with updated text to 1.4 in the changelog.

Cheers,
Anders
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