commit 53f98755c0e8395f8549d2c5e7abc01456571173 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:11:06 2019 -0400 Package init diff --git a/orc-0.4.28.tar.xz b/orc-0.4.28.tar.xz new file mode 100644 index 0000000..ba84ad1 Binary files /dev/null and b/orc-0.4.28.tar.xz differ diff --git a/orc.spec b/orc.spec new file mode 100644 index 0000000..e150a74 --- /dev/null +++ b/orc.spec @@ -0,0 +1,91 @@ +Name: orc +Version: 0.4.28 +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 + +BuildRequires: gtk-doc libtool + +%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 +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 +gtkdocize --copy +NOCONFIGURE=1 autoreconf -vif + +%build +%configure \ + --disable-static \ + --enable-gtk-doc \ + --enable-user-codemem \ + --disable-gtk-doc-html +%make_build V=1 + +%install +%make_install INSTALL="install -p" +touch -r stamp-h1 %{buildroot}%{_includedir}/%{name}-0.4/orc/orc-stdint.h + +%check +%ifnarch i686 aarch64 +make check +%endif + +%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 +%{_datadir}/aclocal/orc.m4 +%{_includedir}/%{name}-0.4/ +%doc examples/*.c +%exclude %{_libdir}/*.la + +%files compiler +%{_bindir}/orcc + +%files help +%doc %{_datadir}/gtk-doc/html/orc/ + +%changelog +* Mon Aug 12 2019 openEuler Buildteam - 0.4.28-3 +- Package init