dtc/dtc.spec

58 lines
1.4 KiB
RPMSpec
Raw Normal View History

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