dtc-vl.spec 4.8 KB

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