Relocate libfdt to stx-integ/base/libfdt

Move content from stx-gplv2 into stx-integ

Packages will be relocated to

stx-integ:
    base/
        bash
        cgcs-users
        cluster-resource-agents
        dpkg
        haproxy
        libfdt
        netpbm
        rpm

    database/
        mariadb

    filesystem/
        iscsi-initiator-utils

    filesystem/drbd/
        drbd-tools

    kernel/kernel-modules/
        drbd
        integrity
        intel-e1000e
        intel-i40e
        intel-i40evf
        intel-ixgbe
        intel-ixgbevf
        qat17
        tpmdd

    ldap/
        ldapscripts

    networking/
        iptables
        net-tools

Change-Id: I3424c7efb86dca5609cd167898d546a24da83944
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2018-08-01 14:21:03 -04:00
parent 2d7009011b
commit ad5417a597
6 changed files with 79 additions and 0 deletions

6
base/libfdt/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
!.distro
.distro/centos7/rpmbuild/RPMS
.distro/centos7/rpmbuild/SRPMS
.distro/centos7/rpmbuild/BUILD
.distro/centos7/rpmbuild/BUILDROOT
.distro/centos7/rpmbuild/SOURCES/dtc*tar.gz

13
base/libfdt/PKG-INFO Normal file
View File

@ -0,0 +1,13 @@
Metadata-Version: 1.1
Name: libfdt
Version: 1.4.4
Summary: Device Tree Compiler
Home-page:
Author: David Gibson
Author-email: david@gibson.dropbear.id.au
License: GPLv2
Description: Device Tree Compiler
Platform: UNKNOWN

6
base/libfdt/README Normal file
View File

@ -0,0 +1,6 @@
Only needed for building qemu on Centos.
I have found traces of this package for earlier epel release (5 and 6). Not
sure why it's not provided anymore.
Source: https://github.com/qemu/dtc

View File

@ -0,0 +1,2 @@
COPY_LIST="$CGCS_BASE/downloads/dtc-1.4.4.tar.gz"
TIS_PATCH_VER=1

View File

@ -0,0 +1,51 @@
Summary: libfdt
Name: libfdt
Version: 1.4.4
Release: 0%{?_tis_dist}.%{tis_patch_ver}
License: GPLv2
Group: base
Packager: Wind River <info@windriver.com>
URL: unknown
Source0: dtc-1.4.4.tar.gz
BuildRequires: gcc
BuildRequires: bison
BuildRequires: flex
%define debug_package %{nil}
%description
Device Tree Compiler
%package -n libfdt-devel
Summary: libfdt devel
%description -n libfdt-devel
libfdt devel
%define prefix /usr/
%prep
%setup -n dtc-1.4.4
%build
make
%install
make install PREFIX=%{buildroot}%{prefix}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%license GPL README.license
%defattr(-,root,root,-)
# TODO: Devel shouldn't contain bin
%files -n libfdt-devel
%license GPL README.license
%defattr(-,root,root,-)
%{prefix}/bin/*
%dir %{prefix}/include
%{prefix}/include/*
%{prefix}/lib/*

View File

@ -129,3 +129,4 @@ base/rpm
base/dpkg
base/cgcs-users
base/cluster-resource-agents
base/libfdt