orc/orc.spec

93 lines
2.0 KiB
RPMSpec
Raw Normal View History

2020-02-11 11:22:45 +08:00
Name: orc
2019-09-30 11:11:06 -04:00
Version: 0.4.28
2020-02-11 11:22:45 +08:00
Release: 5
2019-09-30 11:11:06 -04:00
Summary: The Oil Run-time Compiler
License: BSD
2020-02-11 11:22:45 +08:00
URL: http://cgit.freedesktop.org/gstreamer/orc/
2019-09-30 11:11:06 -04:00
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
make check
%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
2020-02-11 11:22:45 +08:00
* 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
2019-09-30 11:11:06 -04:00
- Package init