2017-06-12 18:29:31 +00:00
|
|
|
Name: dtc
|
2020-03-13 19:10:30 +00:00
|
|
|
Version: 1.6.0
|
2020-05-26 00:44:42 +00:00
|
|
|
Release: 2%{?dist}
|
2017-06-12 18:29:31 +00:00
|
|
|
Summary: Device Tree Compiler
|
|
|
|
License: GPLv2+
|
|
|
|
URL: https://devicetree.org/
|
|
|
|
|
2019-06-17 11:17:03 +00:00
|
|
|
Source0: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
|
2017-06-12 18:29:31 +00:00
|
|
|
|
2018-03-07 12:13:39 +00:00
|
|
|
BuildRequires: gcc make
|
2017-06-12 18:29:31 +00:00
|
|
|
BuildRequires: flex bison swig
|
2019-06-17 11:17:03 +00:00
|
|
|
BuildRequires: python3-devel python3-setuptools
|
2007-07-04 02:33:47 +00:00
|
|
|
|
|
|
|
%description
|
2017-06-12 18:29:31 +00:00
|
|
|
Devicetree is a data structure for describing hardware. Rather than hard coding
|
|
|
|
every detail of a device into an operating system, many aspects of the hardware
|
|
|
|
can be described in a data structure that is passed to the operating system at
|
|
|
|
boot time. The devicetree is used by OpenFirmware, OpenPOWER Abstraction Layer
|
|
|
|
(OPAL), Power Architecture Platform Requirements (PAPR) and in the standalone
|
|
|
|
Flattened Device Tree (FDT) form.
|
2007-07-04 02:33:47 +00:00
|
|
|
|
2011-06-28 14:24:28 +00:00
|
|
|
%package -n libfdt
|
|
|
|
Summary: Device tree library
|
|
|
|
|
|
|
|
%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
|
|
|
|
Requires: libfdt = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libfdt-devel
|
|
|
|
This package provides development files for libfdt
|
|
|
|
|
2018-06-08 02:11:29 +00:00
|
|
|
%package -n libfdt-static
|
|
|
|
Summary: Static version of device tree library
|
|
|
|
Requires: libfdt-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n libfdt-static
|
|
|
|
This package provides the static library of libfdt
|
|
|
|
|
2019-06-17 11:17:03 +00:00
|
|
|
%package -n python3-libfdt
|
|
|
|
Summary: Python 3 bindings for device tree library
|
2017-06-12 18:29:31 +00:00
|
|
|
%{?python_provide:%python_provide python2-libfdt}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
2019-06-17 11:17:03 +00:00
|
|
|
%description -n python3-libfdt
|
2017-06-12 18:29:31 +00:00
|
|
|
This package provides python2 bindings for libfdt
|
|
|
|
|
2007-07-04 02:33:47 +00:00
|
|
|
%prep
|
2019-01-16 03:24:22 +00:00
|
|
|
%autosetup -p1
|
2019-06-17 11:17:03 +00:00
|
|
|
sed -i 's/python2/python3/' pylibfdt/setup.py
|
2007-07-04 02:33:47 +00:00
|
|
|
|
|
|
|
%build
|
2020-01-14 04:21:53 +00:00
|
|
|
make %{?_smp_mflags} V=1 CC="%{__cc} $RPM_OPT_FLAGS $RPM_LD_FLAGS"
|
2007-07-04 02:33:47 +00:00
|
|
|
|
|
|
|
%install
|
2020-03-13 19:10:30 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
|
|
|
|
LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1
|
2007-07-04 02:33:47 +00:00
|
|
|
|
2020-03-13 19:10:30 +00:00
|
|
|
# we don't want ftdump and it conflicts with freetype-demos, so drop it (rhbz 797805)
|
2012-02-27 16:04:43 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump
|
|
|
|
|
2019-01-22 17:38:51 +00:00
|
|
|
%ldconfig_scriptlets -n libfdt
|
2007-07-04 02:33:47 +00:00
|
|
|
|
|
|
|
%files
|
2015-06-16 19:04:05 +00:00
|
|
|
%license GPL
|
|
|
|
%doc Documentation/manual.txt
|
2007-07-04 02:33:47 +00:00
|
|
|
%{_bindir}/*
|
|
|
|
|
2011-06-28 14:24:28 +00:00
|
|
|
%files -n libfdt
|
2015-06-16 19:04:05 +00:00
|
|
|
%license GPL
|
2020-03-13 19:10:30 +00:00
|
|
|
%{_libdir}/libfdt-1.6.0.so
|
2011-06-28 14:24:28 +00:00
|
|
|
%{_libdir}/libfdt.so.*
|
|
|
|
|
2018-06-08 02:11:29 +00:00
|
|
|
%files -n libfdt-static
|
|
|
|
%{_libdir}/libfdt.a
|
|
|
|
|
2011-06-28 14:24:28 +00:00
|
|
|
%files -n libfdt-devel
|
|
|
|
%{_libdir}/libfdt.so
|
|
|
|
%{_includedir}/*
|
|
|
|
|
2019-06-17 11:17:03 +00:00
|
|
|
%files -n python3-libfdt
|
|
|
|
%{python3_sitearch}/*
|
2011-06-28 14:24:28 +00:00
|
|
|
|
2007-07-04 02:33:47 +00:00
|
|
|
%changelog
|
2020-05-26 00:44:42 +00:00
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.6.0-2
|
|
|
|
- Rebuilt for Python 3.9
|
|
|
|
|
2020-03-13 19:10:30 +00:00
|
|
|
* Fri Mar 13 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 1.6.0-1
|
|
|
|
- Update to 1.6.0
|
|
|
|
|
2020-01-30 17:13:50 +00:00
|
|
|
* Thu Jan 30 2020 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.1-4
|
|
|
|
- Upstream patch to fix gcc-10 build
|
|
|
|
|
2020-01-28 16:39:37 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-14 04:21:53 +00:00
|
|
|
* Tue Jan 14 2020 Tom Stellard <tstellar@redhat.com> - 1.5.1-2
|
|
|
|
- Use __cc macro instead of hard-coding gcc
|
|
|
|
|
2019-09-11 09:19:33 +00:00
|
|
|
* Wed Sep 11 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.1-1
|
|
|
|
- New dtc 1.5.1 release
|
|
|
|
|
2019-09-10 12:26:48 +00:00
|
|
|
* Tue Sep 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-3
|
|
|
|
- Rebuilt for Python 3.8
|
|
|
|
|
2019-07-24 22:44:51 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-17 11:17:03 +00:00
|
|
|
* Tue Mar 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.0-1
|
|
|
|
- New dtc 1.5.0 release
|
|
|
|
|
2019-01-31 17:56:42 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.7-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-16 03:24:22 +00:00
|
|
|
* Tue Jan 15 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.7-2
|
|
|
|
- Upstream fix for crash (rhbz 1663054)
|
|
|
|
|
2018-08-18 20:52:20 +00:00
|
|
|
* Sat Aug 18 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.7-1
|
|
|
|
- New dtc 1.4.7 release
|
|
|
|
|
2018-07-17 14:50:16 +00:00
|
|
|
* Tue Jul 17 2018 Miro Hrončok <mhroncok@redhat.com> - 1.4.6-7
|
|
|
|
- Update Python macros to new packaging standards
|
|
|
|
(See https://fedoraproject.org/wiki/Changes/Move_usr_bin_python_into_separate_package)
|
|
|
|
|
2018-07-12 23:22:41 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-06-08 02:11:29 +00:00
|
|
|
* Wed Jun 06 2018 Bas Mevissen <abuse@basmevissen.nl> 1.4.6-5
|
|
|
|
- Add static library package, see BZ#1440975
|
|
|
|
|
2018-03-07 12:13:39 +00:00
|
|
|
* Wed Mar 7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.6-4
|
|
|
|
- Add gcc BR
|
|
|
|
|
2018-02-07 07:40:59 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-26 13:02:19 +00:00
|
|
|
* Fri Jan 26 2018 Florian Weimer <fweimer@redhat.com> - 1.4.6-2
|
|
|
|
- Use Fedora build flags during build
|
|
|
|
|
2018-01-22 11:07:27 +00:00
|
|
|
* Mon Jan 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.6-1
|
|
|
|
- New dtc 1.4.6 release
|
|
|
|
|
2017-09-28 19:42:28 +00:00
|
|
|
* Thu Sep 28 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.5-1
|
|
|
|
- New dtc 1.4.5 release
|
|
|
|
|
2017-08-02 19:49:02 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 06:50:10 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-12 18:29:31 +00:00
|
|
|
* Mon Jun 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.4-2
|
|
|
|
- Add upstream patches for python bindings
|
|
|
|
|
2017-03-17 21:26:23 +00:00
|
|
|
* Fri Mar 17 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.4-1
|
|
|
|
- New dtc 1.4.4 release
|
|
|
|
|
2017-02-28 17:05:56 +00:00
|
|
|
* Tue Feb 28 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.2-3.0931cea
|
|
|
|
- Rebase to same git snapshot that kernel is using for DT Overlays
|
|
|
|
|
2017-02-10 08:48:30 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-09-11 10:50:04 +00:00
|
|
|
* Sun Sep 11 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.2-1
|
|
|
|
- New dtc 1.4.2 release
|
|
|
|
|
2016-02-03 19:22:04 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-16 19:04:05 +00:00
|
|
|
* Tue Jun 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-4
|
|
|
|
- Use %%license
|
|
|
|
|
2015-02-21 21:20:59 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 1.4.1-3
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2015-01-05 10:57:19 +00:00
|
|
|
* Mon Jan 5 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-2
|
|
|
|
- Use tar file from kernel.org
|
|
|
|
|
2015-01-05 10:45:37 +00:00
|
|
|
* Mon Jan 5 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-1
|
|
|
|
- New dtc 1.4.1 release
|
|
|
|
- Update URL and Sources
|
|
|
|
- Cleanup spec
|
|
|
|
|
2014-08-16 09:54:06 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 09:01:42 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-12-21 12:43:51 +00:00
|
|
|
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.4.0-3
|
|
|
|
- Avoid shell invocation and fix deps of libfdt %%post* scripts.
|
|
|
|
|
2013-08-03 08:40:49 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-24 17:55:43 +00:00
|
|
|
* Mon Jun 24 2013 Josh Boyer <jwboyer@redhat.com> - 1.4.0-1
|
|
|
|
- New dtc 1.4.0 release (rhbz 977480)
|
|
|
|
|
2013-06-06 17:52:22 +00:00
|
|
|
* Thu Jun 06 2013 Josh Boyer <jwboyer@redhat.com> - 1.3.0-8
|
|
|
|
- Fix type specifier error (from Dan Horák)
|
|
|
|
|
2013-06-03 12:23:53 +00:00
|
|
|
* Mon Jun 03 2013 Josh Boyer <jwboyer@redhat.com> - 1.3.0-7
|
|
|
|
- Update dtc to include libfdt_env.h (rhbz 969955)
|
|
|
|
|
2013-02-13 20:21:31 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-07-18 21:58:51 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-27 16:04:43 +00:00
|
|
|
* Mon Feb 27 2012 Josh Boyer <jwboyer@redhat.com>
|
|
|
|
- Don't package ftdump (rhbz 797805)
|
|
|
|
|
2012-01-13 01:15:52 +00:00
|
|
|
* 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
|
|
|
|
|
2011-06-28 14:24:28 +00:00
|
|
|
* 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
|
|
|
|
|
2011-02-08 15:29:05 +00:00
|
|
|
* 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
|
|
|
|
|
2009-07-24 20:36:44 +00:00
|
|
|
* 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
|
|
|
|
|
2009-02-24 12:55:03 +00:00
|
|
|
* 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
|
|
|
|
|
2007-08-10 03:16:20 +00:00
|
|
|
* 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
|
|
|
|
|
2007-07-10 01:42:48 +00:00
|
|
|
* 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
|