orc-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  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.38
  6. Release: 1%{?_dist_release}
  7. Group: system
  8. Vendor: Project Vine
  9. Distribution: Vine Linux
  10. License: BSD
  11. URL: https://gstreamer.freedesktop.org/modules/orc.html
  12. Source0: https://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: programming
  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: programming
  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,legacy
  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: programming,legacy
  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. %debug_package
  71. %prep
  72. %setup -q
  73. %build
  74. export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
  75. export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
  76. %meson
  77. %meson_build
  78. %install
  79. rm -rf %{buildroot}
  80. %meson_install
  81. # Remove unneeded files.
  82. find %{buildroot}%{_libdir} -name "*.a" -delete
  83. %check
  84. %meson_test
  85. %files
  86. %license COPYING
  87. %doc README
  88. %{_bindir}/orc-bugreport
  89. %{_libdir}/liborc-*.so.*
  90. %files doc
  91. %doc %{_datadir}/gtk-doc/html/orc/
  92. %files devel
  93. %doc examples/*.c
  94. %{_includedir}/%{name}-0.4/
  95. %{_libdir}/liborc-*.so
  96. %{_libdir}/pkgconfig/*.pc
  97. %files compiler
  98. %{_bindir}/orcc
  99. %if %{build_compat32}
  100. %files -n compat32-%{name}
  101. %{_libdir}/liborc-*.so.*
  102. %files -n compat32-%{name}-devel
  103. %{_libdir}/liborc-*.so
  104. %endif
  105. %changelog
  106. * Sun Jul 07 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.38-1
  107. - new upstream release.
  108. * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.31-1
  109. - new upstream release.
  110. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.28-1
  111. - new upstream release.
  112. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.24-1
  113. - new upstream release
  114. * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.23-1
  115. - new upstream release
  116. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.22-1
  117. - new upstream release
  118. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.19-1
  119. - new upstream release
  120. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-2
  121. - rebuild with VineSeed environment
  122. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-1
  123. - new upstream release
  124. * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.16-1
  125. - new upstream release
  126. - create compat32 sub packages
  127. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.14-1
  128. - new upstream release
  129. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.11-1
  130. - new upstream release
  131. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.5-5
  132. - rebuilt with rpm-4.8.1 for pkg-config
  133. * Fri Jul 30 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-4
  134. - build with -O1 (not -O2) to fix build failure on ppc
  135. (like as the Debian package does)
  136. * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3
  137. - Initial build for Vine Linux
  138. * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2
  139. - Added removed testing libraries to package.
  140. * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1
  141. - Updated to 0.4.5.
  142. - Removed testing libraries from package.
  143. * Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2
  144. - Docs as noarch.
  145. - Sanitize timestamps of header files.
  146. - orcc in -compiler subpackage.
  147. * Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1
  148. - Updated to 0.4.4: Includes bugfixes for x86_64.
  149. * Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2
  150. - Running autoreconf to prevent building problems.
  151. - Added missing files to docs.
  152. - Added examples to devel docs.
  153. * Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1
  154. - Updated to 0.4.3
  155. * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4
  156. - Removed unused libdir
  157. * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3
  158. - Specfile cleanup
  159. - Removed tools subpackage
  160. - Added docs subpackage
  161. * Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2
  162. - Use orc as pakage name
  163. - spec-file cleanup
  164. - Added devel requirements
  165. - Removed an rpath issue
  166. * Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1
  167. - Initial release