|
|
|
@ -1,17 +1,18 @@
|
|
|
|
|
Name: orc
|
|
|
|
|
Version: 0.4.31
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.4.28
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Summary: The Oil Run-time Compiler
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://cgit.freedesktop.org/gstreamer/orc/
|
|
|
|
|
Source0: http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
Patch0001: 0001-Use-vasprintf-if-available-for-error-messages-and-ot.patch
|
|
|
|
|
# upstream patches
|
|
|
|
|
Patch0: 0001-x86-add-endbr32-and-endbr64-instructions.patch
|
|
|
|
|
Patch1: 0001-Use-vasprintf-if-available-for-error-messages-and-ot.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: meson >= 0.47.0
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
BuildRequires: gtk-doc, libtool
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Orc is a library and set of tools for compiling and executing
|
|
|
|
@ -22,6 +23,7 @@ subtraction, and many arithmetic operations.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
Summary: Documentation for Orc
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
@ -30,6 +32,7 @@ Documentation for Orc.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files and libraries for Orc
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-compiler
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
@ -40,6 +43,7 @@ on orc.
|
|
|
|
|
|
|
|
|
|
%package compiler
|
|
|
|
|
Summary: Orc compiler
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
@ -48,25 +52,39 @@ The Orc compiler, to produce optimized code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
gtkdocize --copy
|
|
|
|
|
NOCONFIGURE=1 autoreconf -vif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson -D default_library=shared
|
|
|
|
|
%meson_build
|
|
|
|
|
%configure --disable-static --enable-gtk-doc --enable-user-codemem --disable-gtk-doc-html
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
|
|
|
|
|
|
|
# Remove unneeded files.
|
|
|
|
|
find %{buildroot}/%{_libdir} -name \*.a -delete
|
|
|
|
|
find %{buildroot}/%{_libdir} -name \*.a -or -name \*.la -delete
|
|
|
|
|
rm -rf %{buildroot}/%{_libdir}/orc
|
|
|
|
|
|
|
|
|
|
touch -r stamp-h1 %{buildroot}%{_includedir}/%{name}-0.4/orc/orc-stdint.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%ifnarch s390 s390x ppc %{power64} %{arm} i686 aarch64
|
|
|
|
|
%meson_test
|
|
|
|
|
make check
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
@ -82,7 +100,6 @@ rm -rf %{buildroot}/%{_libdir}/orc
|
|
|
|
|
%{_includedir}/%{name}-0.4/
|
|
|
|
|
%{_libdir}/liborc-*.so
|
|
|
|
|
%{_libdir}/pkgconfig/orc-0.4.pc
|
|
|
|
|
%{_libdir}/pkgconfig/orc-test-0.4.pc
|
|
|
|
|
%{_datadir}/aclocal/orc.m4
|
|
|
|
|
|
|
|
|
|
%files compiler
|
|
|
|
@ -90,48 +107,13 @@ rm -rf %{buildroot}/%{_libdir}/orc
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jul 31 2024 Wim Taymans <wtaymans@redhat.com> 0.4.31-7
|
|
|
|
|
* Wed Jul 31 2024 Wim Taymans <wtaymans@redhat.com> 0.4.28-4
|
|
|
|
|
- Add patch for CVE-2024-40897
|
|
|
|
|
- Resolves: RHEL-50701
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.31-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.4.31-5
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.31-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.31-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.31-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 12 2019 Wim Taymans <wtaymans@redhat.com> 0.4.31-1
|
|
|
|
|
- Update to 0.4.31
|
|
|
|
|
|
|
|
|
|
* Tue Sep 24 2019 Wim Taymans <wtaymans@redhat.com> 0.4.30-1
|
|
|
|
|
- Update to 0.4.30
|
|
|
|
|
- Use meson as autogen was removed, add meson buildrequires
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.29-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 10 2019 Dan Horák <dan[at]danny.cz> 0.4.29-2
|
|
|
|
|
- revert commits changing ppc64/ppc64le support
|
|
|
|
|
|
|
|
|
|
* Tue Apr 23 2019 Wim Taymans <wtaymans@redhat.com> 0.4.29-1
|
|
|
|
|
- Update to 0.4.29
|
|
|
|
|
- Add orc-test pkgconfig file
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.28-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
- Resolves: RHEL-50710
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.28-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Thu Sep 12 2019 Wim Taymans <wtaymans@redhat.com> 0.4.28-3
|
|
|
|
|
- x86: add endbr32 and endbr64 instructions
|
|
|
|
|
- Resolves: rhbz#1693292
|
|
|
|
|
|
|
|
|
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.28-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
@ -266,7 +248,7 @@ rm -rf %{buildroot}/%{_libdir}/orc
|
|
|
|
|
* Thu Aug 19 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.7-1
|
|
|
|
|
- Updated to 0.4.7.
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.6-1
|
|
|
|
|
* Tue Jul 22 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.6-1
|
|
|
|
|
- Updated to 0.4.6.
|
|
|
|
|
- New orc-bugreport added.
|
|
|
|
|
|
|
|
|
|