119 lines
3.1 KiB
RPMSpec
119 lines
3.1 KiB
RPMSpec
Name: orc
|
|
Version: 0.4.34
|
|
Release: 4
|
|
Summary: The Oil Run-time Compiler
|
|
License: BSD
|
|
URL: http://cgit.freedesktop.org/gstreamer/orc/
|
|
Source0: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
|
|
|
|
Patch6000: backport-0001-CVE-2024-40897.patch
|
|
Patch6001: backport-0002-CVE-2024-40897.patch
|
|
Patch6002: backport-Fix-warning-because-of-a-mismatched-OrcExecutor-function-signature.patch
|
|
Patch6003: backport-Fix-binutils-warning-when-comparing-with-sized-immediate-operand.patch
|
|
Patch6004: backport-Fix-default-target-selection-not-applying-when-retrieving-it-by-name.patch
|
|
|
|
BuildRequires: gtk-doc libtool
|
|
BuildRequires: meson >= 0.47.0
|
|
|
|
%description
|
|
Orc is the sucessor to Liboil - The Library of Optimized Inner Loops.
|
|
Orc is a library and set of tools for compiling and executing very
|
|
simple programs that operate on arrays of data. The "language" is
|
|
a generic assembly language that represents many of the features
|
|
available in SIMD architectures, including saturated addition and
|
|
subtraction, and many arithmetic operations.
|
|
|
|
%package help
|
|
Summary: Help documentation for Orc
|
|
Buildarch: noarch
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description help
|
|
Help documentation for Orc.
|
|
|
|
%package devel
|
|
Summary: Development package for Orc
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name}-compiler pkgconfig
|
|
|
|
%description devel
|
|
Development package for Orc.
|
|
|
|
%package compiler
|
|
Summary: The Orc compiler
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: pkgconfig
|
|
|
|
%description compiler
|
|
The Orc compiler.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%meson -D default_library=shared
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%{_libdir}/liborc-*.so.*
|
|
%{_bindir}/orc-bugreport
|
|
%doc COPYING README
|
|
|
|
%files devel
|
|
%{_libdir}/liborc-*.so
|
|
%{_libdir}/pkgconfig/orc-0.4.pc
|
|
%{_libdir}/pkgconfig/orc-test-0.4.pc
|
|
%{_datadir}/aclocal/orc.m4
|
|
%{_includedir}/%{name}-0.4/
|
|
%doc examples/*.c
|
|
%exclude %{_libdir}/*.a
|
|
|
|
%files compiler
|
|
%{_bindir}/orcc
|
|
|
|
%files help
|
|
%doc %{_datadir}/gtk-doc/html/orc/
|
|
|
|
%changelog
|
|
* Mon Aug 26 2024 wangjiang <wangjiang37@h-partners.com> - 0.4.34-4
|
|
- add some upstream patchs
|
|
|
|
* Wed Aug 21 2024 Huanyu Li <lihuanyu@cqsoftware.com.cn> - 0.4.34-3
|
|
- Add 'Buildarch: noarch' to the help subpackage
|
|
|
|
* Mon Jul 29 2024 baiguo <baiguo@kylinos.cn> - 0.4.34-2
|
|
- Use vasprintf() if available for error messages and otherwise vsnprintf();orccompiler, orcparse: Use secure UCRT printing functions on Windows
|
|
|
|
* Wed Jul 12 2023 dillon chen <dillon.chen@gmail.com> - 0.4.34-1
|
|
- update to 0.4.34
|
|
|
|
* Fri Nov 18 2022 dillon chen <dillon.chen@gmail.com> - 0.4.33-1
|
|
- update to 0.4.33
|
|
|
|
* Tue Oct 25 2022 wangjiang <wangjiang37@h-partners.com> 0.4.32-2
|
|
- Rebuild for next release
|
|
|
|
* Thu Jan 28 2021 yuanxin <yuanxin24@huawei.com> - 0.4.32-1
|
|
-upgrade version to 0.4.32
|
|
|
|
* Fri Apr 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.4.31-1
|
|
- Upgrade version to 0.4.31
|
|
|
|
* Tue Feb 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.4.28-5
|
|
- Enable check on aarch64
|
|
|
|
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4.28-4
|
|
- Package init
|