2007-04-02 04:28:12 +02:00
|
|
|
#
|
2008-01-24 21:22:04 +01:00
|
|
|
# spec file for package dtc (Version 1.1.0)
|
2007-04-02 04:28:12 +02:00
|
|
|
#
|
2008-01-24 21:22:04 +01:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-04-02 04:28:12 +02:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: dtc
|
2008-01-24 21:22:04 +01:00
|
|
|
Url: http://dtc.ozlabs.org/
|
|
|
|
Version: 1.1.0
|
2007-08-12 11:47:53 +02:00
|
|
|
Release: 1
|
2008-01-24 21:22:04 +01:00
|
|
|
BuildRequires: bison flex
|
2007-04-02 04:28:12 +02:00
|
|
|
Summary: device-tree compiler
|
2007-08-12 11:47:53 +02:00
|
|
|
License: GPL v2 or later
|
2007-04-02 04:28:12 +02:00
|
|
|
Group: Development/Tools/Building
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-08-12 11:47:53 +02:00
|
|
|
Source: dtc-%{version}.tar.bz2
|
2007-04-02 04:28:12 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
PowerPC kernels are moving towards requiring a small Open
|
|
|
|
Firmware-style device tree as the only means of passing information
|
|
|
|
from bootloaders/firmware to the kernel. This does not require a full
|
|
|
|
Open Firmware implementation. DTC (Device Tree Compiler) is a tool to
|
|
|
|
create a static device tree, which is adequate for most embedded
|
|
|
|
systems (since their topology will not vary across reboots). DTC is
|
|
|
|
available via a git tree: git://ozlabs.org/srv/projects/dtc/dtc.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
David Gibson <dwg@au1.ibm.com>
|
|
|
|
|
|
|
|
%prep
|
2007-08-12 11:47:53 +02:00
|
|
|
%setup -q -n dtc
|
2007-04-02 04:28:12 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
2008-01-24 21:22:04 +01:00
|
|
|
make CFLAGS="$RPM_OPT_FLAGS" check
|
2007-04-02 04:28:12 +02:00
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
|
|
cp -aL dtc ftdump $RPM_BUILD_ROOT/usr/bin
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2008-01-24 21:22:04 +01:00
|
|
|
%doc README.license Documentation/manual.txt
|
2007-04-02 04:28:12 +02:00
|
|
|
/usr/bin/*
|
|
|
|
|
|
|
|
%changelog
|
2008-01-24 21:22:04 +01:00
|
|
|
* Thu Jan 24 2008 olh@suse.de
|
|
|
|
- update to 1.1.0 final
|
|
|
|
clearify license issues, run testsuite
|
|
|
|
* Fri Aug 10 2007 olh@suse.de
|
2007-08-12 11:47:53 +02:00
|
|
|
- update to 1.0.0 final
|
|
|
|
- first official release
|
2008-01-24 21:22:04 +01:00
|
|
|
* Mon Jun 18 2007 olh@suse.de
|
2007-06-18 18:27:08 +02:00
|
|
|
- update to current state
|
|
|
|
dtc: Fix recognition of whitespace characters
|
|
|
|
Implement the -R option and add a -S option.
|
|
|
|
Add -o <output file> to the usage message.
|
|
|
|
Fix reserve map output for asm format.
|
|
|
|
Assemble the blob in memory before writing it out.
|
|
|
|
Fix the -S to modify the totalsize properly.
|
|
|
|
dtc: parse NOP in dtb input
|
2008-01-24 21:22:04 +01:00
|
|
|
* Thu Mar 29 2007 olh@suse.de
|
2007-04-02 04:28:12 +02:00
|
|
|
- add flex and bison to buildrequires
|
|
|
|
fix endian bug in ftdump, add C style includes
|
2008-01-24 21:22:04 +01:00
|
|
|
* Fri Mar 23 2007 olh@suse.de
|
2007-04-02 04:28:12 +02:00
|
|
|
- initial package to build PS3 kernel
|