orc-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Name: orc
  3. Summary: The Oil Run-time Compiler
  4. Summary(ja): Oil ランタイムコンパイラ
  5. Version: 0.4.31
  6. Release: 1%{?_dist_release}
  7. Group: System Environment/Libraries
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: http://code.entropywave.com/orc/
  12. Source0: http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: meson
  15. BuildRequires: libtool
  16. BuildRequires: gtk-doc
  17. BuildRequires: glib2-devel
  18. %description
  19. Orc is a library and set of tools for compiling and executing
  20. very simple programs that operate on arrays of data. The "language"
  21. is a generic assembly language that represents many of the features
  22. available in SIMD architectures, including saturated addition and
  23. subtraction, and many arithmetic operations.
  24. %package doc
  25. Summary: Documentation for Orc
  26. Summary(ja): Orc のドキュメント
  27. Group: Documentation
  28. Requires: %{name} = %{version}-%{release}
  29. BuildArch: noarch
  30. %description doc
  31. Documentation for Orc.
  32. %package devel
  33. Summary: Development files and static libraries for Orc
  34. Summary(ja): Orc の開発用ファイル及び静的ライブラリ
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: %{name}-compiler
  38. Requires: pkgconfig
  39. %description devel
  40. This package contains the files needed to build packages that depend
  41. on orc.
  42. %package compiler
  43. Summary: Orc compiler
  44. Summary(ja): Orc コンパイラ
  45. Group: Development/Languages
  46. Requires: %{name} = %{version}-%{release}
  47. Requires: pkgconfig
  48. %description compiler
  49. The Orc compiler, to produce optimized code.
  50. %package -n compat32-%{name}
  51. Summary: The Oil Run-time Compiler
  52. Summary(ja): Oil ランタイムコンパイラ
  53. Group: System Environment/Libraries
  54. Requires: %{name} = %{version}-%{release}
  55. %description -n compat32-%{name}
  56. Orc is a library and set of tools for compiling and executing
  57. very simple programs that operate on arrays of data. The "language"
  58. is a generic assembly language that represents many of the features
  59. available in SIMD architectures, including saturated addition and
  60. subtraction, and many arithmetic operations.
  61. %package -n compat32-%{name}-devel
  62. Summary: Development files and static libraries for Orc
  63. Summary(ja): Orc の開発用ファイル及び静的ライブラリ
  64. Group: Development/Libraries
  65. Requires: compat32-%{name} = %{version}-%{release}
  66. Requires: compat32-pkgconfig
  67. %description -n compat32-%{name}-devel
  68. This package contains the files needed to build packages that depend
  69. on orc.
  70. %prep
  71. %setup -q
  72. %build
  73. export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
  74. export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
  75. %meson
  76. %meson_build
  77. %install
  78. rm -rf %{buildroot}
  79. %meson_install
  80. # Remove unneeded files.
  81. find %{buildroot}%{_libdir} -name "*.a" -delete
  82. %clean
  83. rm -rf %{buildroot}
  84. %check
  85. %meson_test
  86. %post -p /sbin/ldconfig
  87. %postun -p /sbin/ldconfig
  88. %post -n compat32-%{name} -p /sbin/ldconfig
  89. %postun -n compat32-%{name} -p /sbin/ldconfig
  90. %files
  91. %defattr(-,root,root,-)
  92. %license COPYING
  93. %doc README
  94. %{_bindir}/orc-bugreport
  95. %{_libdir}/liborc-*.so.*
  96. %files doc
  97. %defattr(-,root,root,-)
  98. %doc %{_datadir}/gtk-doc/html/orc/
  99. %files devel
  100. %defattr(-,root,root,-)
  101. %doc examples/*.c
  102. %{_includedir}/%{name}-0.4/
  103. %{_libdir}/liborc-*.so
  104. %{_libdir}/pkgconfig/*.pc
  105. %{_datadir}/aclocal/orc.m4
  106. %files compiler
  107. %defattr(-,root,root,-)
  108. %{_bindir}/orcc
  109. %if %{build_compat32}
  110. %defattr(-,root,root,-)
  111. %files -n compat32-%{name}
  112. %{_libdir}/liborc-*.so.*
  113. %files -n compat32-%{name}-devel
  114. %defattr(-,root,root,-)
  115. %{_libdir}/liborc-*.so
  116. %endif
  117. %changelog
  118. * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.31-1
  119. - new upstream release.
  120. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.28-1
  121. - new upstream release.
  122. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.24-1
  123. - new upstream release
  124. * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.23-1
  125. - new upstream release
  126. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.22-1
  127. - new upstream release
  128. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.19-1
  129. - new upstream release
  130. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-2
  131. - rebuild with VineSeed environment
  132. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-1
  133. - new upstream release
  134. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.16-1
  135. - new upstream release
  136. - create compat32 sub packages
  137. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.14-1
  138. - new upstream release
  139. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.11-1
  140. - new upstream release
  141. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.5-5
  142. - rebuilt with rpm-4.8.1 for pkg-config
  143. * Fri Jul 30 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-4
  144. - build with -O1 (not -O2) to fix build failure on ppc
  145. (like as the Debian package does)
  146. * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3
  147. - Initial build for Vine Linux
  148. * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2
  149. - Added removed testing libraries to package.
  150. * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1
  151. - Updated to 0.4.5.
  152. - Removed testing libraries from package.
  153. * Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2
  154. - Docs as noarch.
  155. - Sanitize timestamps of header files.
  156. - orcc in -compiler subpackage.
  157. * Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1
  158. - Updated to 0.4.4: Includes bugfixes for x86_64.
  159. * Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2
  160. - Running autoreconf to prevent building problems.
  161. - Added missing files to docs.
  162. - Added examples to devel docs.
  163. * Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1
  164. - Updated to 0.4.3
  165. * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4
  166. - Removed unused libdir
  167. * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3
  168. - Specfile cleanup
  169. - Removed tools subpackage
  170. - Added docs subpackage
  171. * Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2
  172. - Use orc as pakage name
  173. - spec-file cleanup
  174. - Added devel requirements
  175. - Removed an rpath issue
  176. * Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1
  177. - Initial release