1 Star 0 Fork 19

JeanLeo/dtc

forked from src-openEuler/dtc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dtc.spec 1.97 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 22:37 +08:00 . Package init
Name: dtc
Version: 1.4.7
Release: 2
Summary: Device tree compiler
License: GPLv2+
URL: https://devicetree.org/
Source0: https://ftp.kernel.org/pub/software/utils/%{name}/%{name}-%{version}.tar.xz
BuildRequires: gcc make git flex bison swig
BuildRequires: python2-devel python2-setuptools
Provides: libfdt
Obsoletes: libfdt
Patch1: use-tx-as-the-type-specifier-instead-of-zx.patch
%description
The 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.
%package devel
Summary: Development headers for device tree library
Requires: libfdt = %{version}-%{release}
Provides: libfdt-static libfdt-devel
Obsoletes: libfdt-static libfdt-devel
%description devel
This package provides development files for dtc.
%package -n python2-libfdt
Summary: Python 2 bindings for device tree library
%{?python_provide:%python_provide python2-libfdt}
Requires: %{name} = %{version}-%{release}
%description -n python2-libfdt
This package provides python2 bindings for libfdt
%package_help
%prep
%autosetup -n %{name}-%{version} -p1 -Sgit
%build
%make_build
%install
%make_install SETUP_PREFIX=$RPM_BUILD_ROOT/usr LIBDIR=%{_libdir} PREFIX=/usr
%pre
%preun
%post
%postun
%files
%doc README
%license GPL README.license
%{_bindir}/*
%{_libdir}/libfdt-%{version}.so
%{_libdir}/libfdt.so.*
%files devel
%{_libdir}/libfdt.so
%{_includedir}/*
%{_libdir}/libfdt.a
%files -n python2-libfdt
%{python2_sitearch}/*
%files help
%doc Documentation/manual.txt
%changelog
* Thu Sep 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.4.7-2
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jeanleo/dtc.git
git@gitee.com:jeanleo/dtc.git
jeanleo
dtc
dtc
master

搜索帮助