2 %bcond_without verbose # verbose build (V=1)
4 Summary: The Device Tree Compiler
8 License: GPL v2 (dtc), GPL/BSD (fdt library)
10 Source0: http://www.jdl.com/software/%{name}-v%{version}.tgz
11 # Source0-md5: 46bcff355b60d85bd311fc95b9ff0630
12 URL: http://git.jdl.com/gitweb/
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 %{?debug:%define with_verbose 1}
20 The Device Tree Compiler, dtc, takes as input a device-tree in a given
21 format and outputs a device-tree in another format. Typically, the
22 input format is "dts", a human readable source format, and creates a
23 "dtb", or binary format as output.
26 Summary: Header files for fdt library
27 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fdt
28 Group: Development/Libraries
29 # does not require base. see README.license
32 Header files for fdt library.
34 %description devel -l pl.UTF-8
35 Pliki nagłówkowe biblioteki fdt.
38 Summary: Static fdt library
39 Summary(pl.UTF-8): Statyczna biblioteka fdt
40 Group: Development/Libraries
41 Requires: %{name}-devel = %{version}-%{release}
46 %description static -l pl.UTF-8
47 Statyczna biblioteka fdt.
50 %setup -q -n %{name}-v%{version}
54 %{?with_verbose:V=1} \
59 rm -rf $RPM_BUILD_ROOT
61 %{?with_verbose:V=1} \
64 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %doc TODO README.license Documentation/manual.txt
72 %attr(755,root,root) %{_bindir}/dtc
75 %defattr(644,root,root,755)
78 %{_includedir}/libfdt.h
81 %defattr(644,root,root,755)