dtc/dtc.spec

131 lines
3.5 KiB
RPMSpec
Raw Normal View History

2007-07-04 02:33:47 +00:00
Name: dtc
Version: 1.3.0
2012-02-27 16:04:43 +00:00
Release: 4%{?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+
URL: http://git.jdl.com/gitweb/?p=dtc.git;a=summary
2008-08-28 12:00:26 +00:00
Source: http://www.jdl.com/software/dtc-v%{version}.tgz
Patch0: dtc-check.patch
Patch1: dtc-flattree.patch
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
%package -n libfdt
Summary: Device tree library
Group: Development/Libraries
%description -n libfdt
libfdt is a library to process Open Firmware style device trees on various
architectures.
%package -n libfdt-devel
Summary: Development headers for device tree library
Group: Development/Libraries
Requires: libfdt = %{version}-%{release}
%description -n libfdt-devel
This package provides development files for libfdt
2007-07-04 02:33:47 +00:00
%prep
2008-08-28 12:00:26 +00:00
%setup -q -n dtc-v%{version}
%patch0 -p1
%patch1 -p1
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 LIBDIR=%{_libdir}
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a
2007-07-04 02:33:47 +00:00
2012-02-27 16:04:43 +00:00
# we don't want or need ftdump and it conflicts with freetype-demos, so drop
# it (rhbz 797805)
rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump
2007-07-04 02:33:47 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc GPL
%{_bindir}/*
%files -n libfdt
%defattr(-,root,root,-)
%doc GPL
%{_libdir}/libfdt-%{version}.so
%{_libdir}/libfdt.so.*
%files -n libfdt-devel
%defattr(-,root,root,-)
%{_libdir}/libfdt.so
%{_includedir}/*
%post -n libfdt
/sbin/ldconfig
%postun -n libfdt
/sbin/ldconfig
2007-07-04 02:33:47 +00:00
%changelog
2012-02-27 16:04:43 +00:00
* Mon Feb 27 2012 Josh Boyer <jwboyer@redhat.com>
- Don't package ftdump (rhbz 797805)
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2011-06-28 14:34:02 +00:00
* Tue Jun 28 2011 Josh Boyer <jwboyer@gmail.com>
- Fixup error during tarball upload
* Tue Jun 28 2011 Josh Boyer <jwboyer@gmail.com>
- Point to git tree for URL (#717217)
- Add libfdt subpackages based on patch from Paolo Bonzini (#443882)
- Update to latest release
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-08-28 12:00:26 +00:00
* Thu Aug 28 2008 Josh Boyer <jwboyer@gmail.com>
- Update to latest release
2008-02-18 19:25:41 +00:00
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.0-2
- Autorebuild for GCC 4.3
2008-01-24 17:47:14 +00:00
* Thu Jan 24 2008 Josh Boyer <jwboyer@gmail.com>
- Update to 1.1.0
2007-08-22 01:21:27 +00:00
* Tue Aug 21 2007 Josh Boyer <jwboyer@jdub.homelinux.org>
- Bump and rebuild
* 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