1338fb
Name:           dtc
b15279
Version:        1.1.0
b15279
Release:        1%{?dist}
1338fb
Summary:        Device Tree Compiler
1338fb
Group:          Development/Tools
0f6d2e
License:        GPLv2+
1338fb
URL:            http://dtc.ozlabs.org/
21bb05
Source:         http://www.jdl.com/software/dtc-%{version}.tgz
1338fb
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1338fb
1338fb
BuildRequires:  flex, bison
1338fb
1338fb
%description
1338fb
The Device Tree Compiler generates flattened Open Firmware style device trees
1338fb
for use with PowerPC machines that lack an Open Firmware implementation
1338fb
1338fb
%prep
21bb05
%setup -q -n dtc
1338fb
1338fb
%build
1338fb
make %{?_smp_mflags}
1338fb
1338fb
%install
1338fb
rm -rf $RPM_BUILD_ROOT
21bb05
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr
21bb05
21bb05
#remove the devel stuff.
21bb05
rm -rf $RPM_BUILD_ROOT/usr/include/*
21bb05
rm -rf $RPM_BUILD_ROOT/usr/lib/*.a
1338fb
1338fb
%clean
1338fb
rm -rf $RPM_BUILD_ROOT
1338fb
1338fb
%files
1338fb
%defattr(-,root,root,-)
1338fb
%doc GPL
1338fb
%{_bindir}/*
1338fb
1338fb
%changelog
b15279
* Thu Jan 24 2008 Josh Boyer <jwboyer@gmail.com>
b15279
- Update to 1.1.0
b15279
290fe3
* Tue Aug 21 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
290fe3
- Bump and rebuild
290fe3
21bb05
* Thu Aug 09 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
21bb05
- Update to official 1.0.0 release
21bb05
0f6d2e
* Fri Aug 03 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
0f6d2e
- Update license field
0f6d2e
d4d100
* Mon Jul 09 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
d4d100
- Update to new snapshot
d4d100
b0ece1
* Tue Jul 03 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
b0ece1
- Update to new snapshot
b0ece1
- Drop upstreamed install patch
b0ece1
1338fb
* Fri Jun 29 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
1338fb
- Fix packaging errors
1338fb
1338fb
* Thu Jun 28 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
1338fb
- Initial packaging