1 | Name: dtc |
---|
2 | Summary: Device Tree Compiler |
---|
3 | Summary(ja): デバイスツリーコンパイラ |
---|
4 | Version: 1.4.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | Group: Development/Tools |
---|
8 | License: GPLv2+ |
---|
9 | URL: http://git.jdl.com/gitweb/?p=dtc.git;a=summary |
---|
10 | Source: http://www.jdl.com/software/dtc-v%{version}.tgz |
---|
11 | Patch1: use-tx-as-the-type-specifier-instead-of-zx.patch |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
13 | |
---|
14 | BuildRequires: flex, bison |
---|
15 | |
---|
16 | %description |
---|
17 | The Device Tree Compiler generates flattened Open Firmware style device trees |
---|
18 | for use with PowerPC machines that lack an Open Firmware implementation |
---|
19 | |
---|
20 | %package -n libfdt |
---|
21 | Summary: Device tree library |
---|
22 | Summary(ja): デバイスツリーライブラリ |
---|
23 | Group: System Environment/Libraries |
---|
24 | |
---|
25 | %description -n libfdt |
---|
26 | libfdt is a library to process Open Firmware style device trees on various |
---|
27 | architectures. |
---|
28 | |
---|
29 | %package -n libfdt-devel |
---|
30 | Summary: Development headers for device tree library |
---|
31 | Summary(ja): デバイスツリーライブラリの開発用ファイル |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: libfdt = %{version}-%{release} |
---|
34 | |
---|
35 | %description -n libfdt-devel |
---|
36 | This package provides development files for libfdt |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n dtc-v%{version} |
---|
40 | %patch1 -p1 |
---|
41 | |
---|
42 | %build |
---|
43 | make %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | make install DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr LIBDIR=%{_libdir} |
---|
48 | rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.a |
---|
49 | |
---|
50 | # we don't want or need ftdump and it conflicts with freetype-demos, so drop |
---|
51 | # it (rhbz 797805) |
---|
52 | rm -f $RPM_BUILD_ROOT/%{_bindir}/ftdump |
---|
53 | |
---|
54 | %clean |
---|
55 | rm -rf $RPM_BUILD_ROOT |
---|
56 | |
---|
57 | %post -n libfdt -p /sbin/ldconfig |
---|
58 | |
---|
59 | %postun -n libfdt -p /sbin/ldconfig |
---|
60 | |
---|
61 | |
---|
62 | %files |
---|
63 | %defattr(-,root,root,-) |
---|
64 | %doc GPL |
---|
65 | %{_bindir}/* |
---|
66 | |
---|
67 | %files -n libfdt |
---|
68 | %defattr(-,root,root,-) |
---|
69 | %doc GPL |
---|
70 | %{_libdir}/libfdt-%{version}.so |
---|
71 | %{_libdir}/libfdt.so.* |
---|
72 | |
---|
73 | %files -n libfdt-devel |
---|
74 | %defattr(-,root,root,-) |
---|
75 | %{_libdir}/libfdt.so |
---|
76 | %{_includedir}/* |
---|
77 | |
---|
78 | %changelog |
---|
79 | * Sun Oct 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.4.0-2 |
---|
80 | - moved libfdt to System Environment/Libraries Group |
---|
81 | - added %%post and %%postun section |
---|
82 | |
---|
83 | * Wed Feb 12 2014 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.0-1 |
---|
84 | - initial build for Vine Linux |
---|
85 | |
---|
86 | * Sat Dec 21 2013 Ville Skyttä <ville.skytta@iki.fi> - 1.4.0-3 |
---|
87 | - Avoid shell invocation and fix deps of libfdt %%post* scripts. |
---|
88 | |
---|
89 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2 |
---|
90 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
91 | |
---|
92 | * Mon Jun 24 2013 Josh Boyer <jwboyer@redhat.com> - 1.4.0-1 |
---|
93 | - New dtc 1.4.0 release (rhbz 977480) |
---|
94 | |
---|
95 | * Thu Jun 06 2013 Josh Boyer <jwboyer@redhat.com> - 1.3.0-8 |
---|
96 | - Fix type specifier error (from Dan Horák) |
---|
97 | |
---|
98 | * Mon Jun 03 2013 Josh Boyer <jwboyer@redhat.com> - 1.3.0-7 |
---|
99 | - Update dtc to include libfdt_env.h (rhbz 969955) |
---|
100 | |
---|
101 | * Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-6 |
---|
102 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
103 | |
---|
104 | * Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-5 |
---|
105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
106 | |
---|
107 | * Mon Feb 27 2012 Josh Boyer <jwboyer@redhat.com> |
---|
108 | - Don't package ftdump (rhbz 797805) |
---|
109 | |
---|
110 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-3 |
---|
111 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
112 | |
---|
113 | * Tue Jun 28 2011 Josh Boyer <jwboyer@gmail.com> |
---|
114 | - Fixup error during tarball upload |
---|
115 | |
---|
116 | * Tue Jun 28 2011 Josh Boyer <jwboyer@gmail.com> |
---|
117 | - Point to git tree for URL (#717217) |
---|
118 | - Add libfdt subpackages based on patch from Paolo Bonzini (#443882) |
---|
119 | - Update to latest release |
---|
120 | |
---|
121 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4 |
---|
122 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
123 | |
---|
124 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3 |
---|
125 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
126 | |
---|
127 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2 |
---|
128 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
129 | |
---|
130 | * Thu Aug 28 2008 Josh Boyer <jwboyer@gmail.com> |
---|
131 | - Update to latest release |
---|
132 | |
---|
133 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1.0-2 |
---|
134 | - Autorebuild for GCC 4.3 |
---|
135 | |
---|
136 | * Thu Jan 24 2008 Josh Boyer <jwboyer@gmail.com> |
---|
137 | - Update to 1.1.0 |
---|
138 | |
---|
139 | * Tue Aug 21 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
140 | - Bump and rebuild |
---|
141 | |
---|
142 | * Thu Aug 09 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
143 | - Update to official 1.0.0 release |
---|
144 | |
---|
145 | * Fri Aug 03 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
146 | - Update license field |
---|
147 | |
---|
148 | * Mon Jul 09 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
149 | - Update to new snapshot |
---|
150 | |
---|
151 | * Tue Jul 03 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
152 | - Update to new snapshot |
---|
153 | - Drop upstreamed install patch |
---|
154 | |
---|
155 | * Fri Jun 29 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
156 | - Fix packaging errors |
---|
157 | |
---|
158 | * Thu Jun 28 2007 Josh Boyer <jwboyer@jdub.homelinux.org> |
---|
159 | - Initial packaging |
---|