Package init

This commit is contained in:
overweight 2019-09-30 11:11:06 -04:00
commit 53f98755c0
2 changed files with 91 additions and 0 deletions

BIN
orc-0.4.28.tar.xz Normal file

Binary file not shown.

91
orc.spec Normal file
View File

@ -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 <buildteam@openeuler.org> - 0.4.28-3
- Package init