86 lines
2.6 KiB
RPMSpec
86 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package dtc (Version 1.1.0)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: dtc
|
|
Url: http://dtc.ozlabs.org/
|
|
Version: 1.1.0
|
|
Release: 49
|
|
BuildRequires: bison flex
|
|
Summary: device-tree compiler
|
|
License: GPL v2 or later
|
|
Group: Development/Tools/Building
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source: dtc-%{version}.tar.bz2
|
|
|
|
%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
|
|
%setup -q -n dtc
|
|
|
|
%build
|
|
make CFLAGS="$RPM_OPT_FLAGS"
|
|
make CFLAGS="$RPM_OPT_FLAGS" check
|
|
|
|
%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)
|
|
%doc README.license Documentation/manual.txt
|
|
/usr/bin/*
|
|
|
|
%changelog
|
|
* 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
|
|
- update to 1.0.0 final
|
|
- first official release
|
|
* Mon Jun 18 2007 olh@suse.de
|
|
- 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
|
|
* Thu Mar 29 2007 olh@suse.de
|
|
- add flex and bison to buildrequires
|
|
fix endian bug in ftdump, add C style includes
|
|
* Fri Mar 23 2007 olh@suse.de
|
|
- initial package to build PS3 kernel
|