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/
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 %{?debug:%define with_verbose 1}
18 The Device Tree Compiler, dtc, takes as input a device-tree in a given
19 format and outputs a device-tree in another format. Typically, the
20 input format is "dts", a human readable source format, and creates a
21 "dtb", or binary format as output.
24 Summary: Header files for fdt library
25 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki fdt
26 Group: Development/Libraries
27 # does not require base. see README.license
30 Header files for fdt library.
32 %description devel -l pl.UTF-8
33 Pliki nagłówkowe biblioteki fdt.
36 Summary: Static fdt library
37 Summary(pl.UTF-8): Statyczna biblioteka fdt
38 Group: Development/Libraries
39 Requires: %{name}-devel = %{version}-%{release}
44 %description static -l pl.UTF-8
45 Statyczna biblioteka fdt.
48 %setup -q -n %{name}-v%{version}
52 %{?with_verbose:V=1} \
57 rm -rf $RPM_BUILD_ROOT
59 %{?with_verbose:V=1} \
62 DESTDIR=$RPM_BUILD_ROOT
65 rm -rf $RPM_BUILD_ROOT
68 %defattr(644,root,root,755)
69 %doc TODO README.license Documentation/manual.txt
70 %attr(755,root,root) %{_bindir}/dtc
73 %defattr(644,root,root,755)
75 %{_includedir}/libfdt.h
78 %defattr(644,root,root,755)