integ/utilities/build-info/centos/build-info.spec
Scott Little 143b0c5cac Relocate build-info to stx-integ/utilities/build-info
Move content from stx-utils into stx-integ or stx-update

Packages will be relocated to

stx-update:
    enable-dev-patch
    extras

stx-integ:
    config-files/
        io-scheduler

    filesystem/
        filesystem-scripts

    grub/
        grubby

    logging/
        logmgmt

    tools/
        collector
        monitor-tools

    tools/engtools/
        hostdata-collectors
        parsers

    utilities/
        build-info
        branding   (formerly wrs-branding)
        platform-util

Change-Id: I78b1aa7574ae84ea89072d146bd41425fe553c60
Story: 2002801
Task: 22687
Signed-off-by: Scott Little <scott.little@windriver.com>
2018-08-01 16:07:29 -04:00

51 lines
1.0 KiB
RPMSpec

Summary: build-info version 1.0-r3
Name: build-info
Version: 1.0
Release: %{tis_patch_ver}%{?_tis_dist}
License: Apache-2.0
Group: base
Packager: Wind River <info@windriver.com>
URL: unknown
Source0: %{name}-%{version}.tar.gz
Source1: LICENSE
%description
Build Info
%define local_etcdir /etc
%define local_incdir /usr/include
%define debug_package %{nil}
%package -n build-info-dev
Summary: build-info version 1.0-r3 - Development files
Group: devel
%description -n build-info-dev
Build Info This package contains symbolic links, header files, and related items necessary for software development.
%files
%license ../LICENSE
%defattr(-,root,root,-)
%{local_etcdir}/*
%prep
%setup
%build
./collect.sh
%install
install -d -m 755 %{buildroot}%{local_etcdir}
install -m 644 build.info %{buildroot}/%{local_etcdir}
install -d -m 755 %{buildroot}%{local_incdir}
install -m 644 build_info.h %{buildroot}/%{local_incdir}
%clean
rm -rf $RPM_BUILD_ROOT
%files -n build-info-dev
%defattr(-,root,root,-)
%{local_incdir}/*