|
|
27fda8 |
Name: dtc
|
|
|
27fda8 |
Version: 1.4.6
|
|
|
27fda8 |
Release: 1%{?dist}
|
|
|
27fda8 |
Summary: Device Tree Compiler
|
|
|
27fda8 |
Group: Development/Tools
|
|
|
27fda8 |
License: GPLv2+
|
|
|
27fda8 |
URL: https://github.com/dgibson/dtc
|
|
|
27fda8 |
Source: https://github.com/dgibson/dtc/archive/v%{version}.tar.gz
|
|
|
27fda8 |
|
|
|
27fda8 |
|
|
|
27fda8 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
27fda8 |
|
|
|
27fda8 |
BuildRequires: flex, bison
|
|
|
27fda8 |
ExclusiveArch: %{power64} aarch64
|
|
|
27fda8 |
|
|
|
27fda8 |
%description
|
|
|
27fda8 |
The Device Tree Compiler generates flattened Open Firmware style device trees
|
|
|
27fda8 |
for use with PowerPC machines that lack an Open Firmware implementation
|
|
|
27fda8 |
|
|
|
27fda8 |
%package -n libfdt
|
|
|
27fda8 |
Summary: Device tree library
|
|
|
27fda8 |
Group: Development/Libraries
|
|
|
27fda8 |
|
|
|
27fda8 |
%description -n libfdt
|
|
|
27fda8 |
libfdt is a library to process Open Firmware style device trees on various
|
|
|
27fda8 |
architectures.
|
|
|
27fda8 |
|
|
|
27fda8 |
%package -n libfdt-devel
|
|
|
27fda8 |
Summary: Development headers for device tree library
|
|
|
27fda8 |
Group: Development/Libraries
|
|
|
27fda8 |
Requires: libfdt = %{version}-%{release}
|
|
|
27fda8 |
|
|
|
27fda8 |
%description -n libfdt-devel
|
|
|
27fda8 |
This package provides development files for libfdt
|
|
|
27fda8 |
|
|
|
27fda8 |
%prep
|
|
|
27fda8 |
%setup -q -n dtc-%{version}
|
|
|
27fda8 |
|
|
|
27fda8 |
|
|
|
27fda8 |
%build
|
|
|
27fda8 |
make %{?_smp_mflags} NO_PYTHON=1
|
|
|
27fda8 |
|
|
|
27fda8 |
%install
|
|
|
27fda8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
27fda8 |
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr LIBDIR=%{_libdir} NO_PYTHON=1
|
|
|
27fda8 |
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
|
|
|
27fda8 |
|
|
|
27fda8 |
# we don't want or need ftdump, so drop
|
|
|
27fda8 |
rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump
|
|
|
27fda8 |
|
|
|
27fda8 |
%clean
|
|
|
27fda8 |
rm -rf $RPM_BUILD_ROOT
|
|
|
27fda8 |
|
|
|
27fda8 |
%files
|
|
|
27fda8 |
%defattr(-,root,root,-)
|
|
|
27fda8 |
%doc GPL
|
|
|
27fda8 |
%{_bindir}/*
|
|
|
27fda8 |
|
|
|
27fda8 |
%files -n libfdt
|
|
|
27fda8 |
%defattr(-,root,root,-)
|
|
|
27fda8 |
%doc GPL
|
|
|
27fda8 |
%{_libdir}/libfdt-%{version}.so
|
|
|
27fda8 |
%{_libdir}/libfdt.so.*
|
|
|
27fda8 |
|
|
|
27fda8 |
%files -n libfdt-devel
|
|
|
27fda8 |
%defattr(-,root,root,-)
|
|
|
27fda8 |
%{_libdir}/libfdt.so
|
|
|
27fda8 |
%{_includedir}/*
|
|
|
27fda8 |
|
|
|
27fda8 |
%post -n libfdt -p /sbin/ldconfig
|
|
|
27fda8 |
|
|
|
27fda8 |
%postun -n libfdt -p /sbin/ldconfig
|
|
|
27fda8 |
|
|
|
27fda8 |
%changelog
|
|
|
27fda8 |
* Wed Apr 18 2018 Miroslav Rezanina <mrezanin@redhat.com> - 1.4.6-1
|
|
|
27fda8 |
- Rebase to 1.4.6 [bz#1562115]
|
|
|
27fda8 |
- Resolves: bz#1562115
|
|
|
27fda8 |
(Rebase dtc for RHEL-7.6)
|
|
|
27fda8 |
|
|
|
27fda8 |
* Mon Mar 06 2017 Miroslav Rezanina <mrezanin@redhat.com> - 1.4.3-1
|
|
|
27fda8 |
- Rebase to 1.4.3 [bz#1427157]
|
|
|
27fda8 |
- Resolves: bz#1427157
|
|
|
27fda8 |
(package libfdt 1.4.3, when available)
|
|
|
27fda8 |
|
|
|
27fda8 |
* Tue Aug 19 2014 Miroslav Rezanina <mrezanin@redhat.com> - 1.4.0-2
|
|
|
27fda8 |
- Update power macro for ppc64le
|
|
|
27fda8 |
|
|
|
27fda8 |
* Fri Jul 25 2014 Miroslav Rezanina <mrezanin@redhat.com> - 1.4.0-1
|
|
|
27fda8 |
- Initial version
|