Compare commits
48 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
709e9ae20e | ||
|
ecabd9ca60 | ||
|
49eb64890a | ||
|
cbaa4c59d9 | ||
|
5b496731ae | ||
|
228e83708e | ||
|
975efc6c45 | ||
|
9714ecd5fc | ||
|
d45572e9aa | ||
|
8e9090dcfa | ||
|
616bd3dc48 | ||
|
232f8f0c61 | ||
|
8b14c17bb0 | ||
|
f20e532af6 | ||
|
63896d4bc2 | ||
|
2837362226 | ||
|
a0e4d04309 | ||
|
be7c0cb469 | ||
|
9e2d82e64e | ||
|
5b8f2ec3a9 | ||
|
8bb0d20a4f | ||
|
8dd76d5812 | ||
|
c0cd836ff1 | ||
|
05b2b5605b | ||
|
f6254d6eda | ||
|
e4899536af | ||
|
cda652e103 | ||
|
d0a42ea598 | ||
|
27b52bef13 | ||
|
da47f0d750 | ||
|
45ba7adaf0 | ||
|
72382f4a16 | ||
|
be2af48af6 | ||
|
8aa347f0b7 | ||
|
24d94fd458 | ||
|
b415c07eeb | ||
|
557f4a9e1b | ||
|
ecabbe8780 | ||
|
498afd0d58 | ||
|
f3da2d1b00 | ||
|
3eadff4fae | ||
|
59ddc0c5b2 | ||
|
2c0bedac89 | ||
|
308f957168 | ||
|
fdb0bcd1b3 | ||
|
9374d424df | ||
|
dd8478d84e | ||
|
4398f8549c |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1 +1,4 @@
|
|||||||
dtc-v1.2.0.tgz
|
/dtc-*.tgz
|
||||||
|
/dtc-*.tar.xz
|
||||||
|
/dtc-*.tar.gz
|
||||||
|
/dtc-*.tar.bz2
|
||||||
|
219
dtc.spec
219
dtc.spec
@ -1,42 +1,221 @@
|
|||||||
Name: dtc
|
Name: dtc
|
||||||
Version: 1.2.0
|
Version: 1.5.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Device Tree Compiler
|
Summary: Device Tree Compiler
|
||||||
Group: Development/Tools
|
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://dtc.ozlabs.org/
|
URL: https://devicetree.org/
|
||||||
Source: http://www.jdl.com/software/dtc-v%{version}.tgz
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: flex, bison
|
Source0: https://www.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
|
BuildRequires: gcc make
|
||||||
|
BuildRequires: flex bison swig
|
||||||
|
BuildRequires: python3-devel python3-setuptools
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Device Tree Compiler generates flattened Open Firmware style device trees
|
Devicetree is a data structure for describing hardware. Rather than hard coding
|
||||||
for use with PowerPC machines that lack an Open Firmware implementation
|
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.
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%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
|
||||||
|
|
||||||
|
%package -n python3-libfdt
|
||||||
|
Summary: Python 3 bindings for device tree library
|
||||||
|
%{?python_provide:%python_provide python2-libfdt}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n python3-libfdt
|
||||||
|
This package provides python2 bindings for libfdt
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n dtc-v%{version}
|
%autosetup -p1
|
||||||
|
sed -i 's/python2/python3/' pylibfdt/setup.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} V=1 CC="gcc $RPM_OPT_FLAGS $RPM_LD_FLAGS"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
#make install DESTDIR=$RPM_BUILD_ROOT SETUP_PREFIX=$RPM_BUILD_ROOT/usr PREFIX=/usr LIBDIR=%{_libdir}
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr
|
PYTHON=python3 make install DESTDIR=$RPM_BUILD_ROOT PREFIX=$RPM_BUILD_ROOT/usr \
|
||||||
|
LIBDIR=%{_libdir} BINDIR=%{_bindir} INCLUDEDIR=%{_includedir} V=1
|
||||||
|
|
||||||
#remove the devel stuff.
|
# we don't want or need ftdump and it conflicts with freetype-demos, so drop
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/include/*
|
# it (rhbz 797805)
|
||||||
rm -rf $RPM_BUILD_ROOT/usr/lib/*.a
|
rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump
|
||||||
|
|
||||||
%clean
|
%ldconfig_scriptlets -n libfdt
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%license GPL
|
||||||
%doc GPL
|
%doc Documentation/manual.txt
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
|
%files -n libfdt
|
||||||
|
%license GPL
|
||||||
|
%{_libdir}/libfdt-1.5.0.so
|
||||||
|
%{_libdir}/libfdt.so.*
|
||||||
|
|
||||||
|
%files -n libfdt-static
|
||||||
|
%{_libdir}/libfdt.a
|
||||||
|
|
||||||
|
%files -n libfdt-devel
|
||||||
|
%{_libdir}/libfdt.so
|
||||||
|
%{_includedir}/*
|
||||||
|
|
||||||
|
%files -n python3-libfdt
|
||||||
|
%{python3_sitearch}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 11 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.1-1
|
||||||
|
- New dtc 1.5.1 release
|
||||||
|
|
||||||
|
* Tue Sep 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.0-3
|
||||||
|
- Rebuilt for Python 3.8
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Mar 12 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.5.0-1
|
||||||
|
- New dtc 1.5.0 release
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.7-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 15 2019 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.7-2
|
||||||
|
- Upstream fix for crash (rhbz 1663054)
|
||||||
|
|
||||||
|
* Sat Aug 18 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.7-1
|
||||||
|
- New dtc 1.4.7 release
|
||||||
|
|
||||||
|
* 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)
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 06 2018 Bas Mevissen <abuse@basmevissen.nl> 1.4.6-5
|
||||||
|
- Add static library package, see BZ#1440975
|
||||||
|
|
||||||
|
* Wed Mar 7 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.6-4
|
||||||
|
- Add gcc BR
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2018 Florian Weimer <fweimer@redhat.com> - 1.4.6-2
|
||||||
|
- Use Fedora build flags during build
|
||||||
|
|
||||||
|
* Mon Jan 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.6-1
|
||||||
|
- New dtc 1.4.6 release
|
||||||
|
|
||||||
|
* Thu Sep 28 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.5-1
|
||||||
|
- New dtc 1.4.5 release
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.4-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 12 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.4-2
|
||||||
|
- Add upstream patches for python bindings
|
||||||
|
|
||||||
|
* Fri Mar 17 2017 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.4-1
|
||||||
|
- New dtc 1.4.4 release
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Sep 11 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.2-1
|
||||||
|
- New dtc 1.4.2 release
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-4
|
||||||
|
- Use %%license
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Mon Jan 5 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.4.1-2
|
||||||
|
- Use tar file from kernel.org
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.4.0-3
|
||||||
|
- Avoid shell invocation and fix deps of libfdt %%post* scripts.
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Mon Jun 24 2013 Josh Boyer <jwboyer@redhat.com> - 1.4.0-1
|
||||||
|
- New dtc 1.4.0 release (rhbz 977480)
|
||||||
|
|
||||||
|
* Thu Jun 06 2013 Josh Boyer <jwboyer@redhat.com> - 1.3.0-8
|
||||||
|
- Fix type specifier error (from Dan Horák)
|
||||||
|
|
||||||
|
* Mon Jun 03 2013 Josh Boyer <jwboyer@redhat.com> - 1.3.0-7
|
||||||
|
- Update dtc to include libfdt_env.h (rhbz 969955)
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
* 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
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user