2010-04-08 01:09:47 +02:00
|
|
|
#
|
2011-04-28 16:18:17 +02:00
|
|
|
# spec file for package orc
|
2010-04-08 01:09:47 +02:00
|
|
|
#
|
2017-02-14 20:52:50 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2010-04-08 01:09:47 +02:00
|
|
|
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-08 12:57:02 +01:00
|
|
|
|
2010-04-08 01:09:47 +02:00
|
|
|
Name: orc
|
2017-07-18 05:28:45 +02:00
|
|
|
Version: 0.4.27
|
2014-07-04 15:49:07 +02:00
|
|
|
Release: 0
|
2010-04-08 01:09:47 +02:00
|
|
|
Summary: The Oil Runtime Compiler
|
2012-02-02 13:28:26 +01:00
|
|
|
License: BSD-3-Clause
|
2010-04-08 01:09:47 +02:00
|
|
|
Group: Productivity/Multimedia/Other
|
2014-07-04 15:49:07 +02:00
|
|
|
Url: http://cgit.freedesktop.org/gstreamer/orc
|
2017-09-04 16:25:11 +02:00
|
|
|
Source: https://github.com/GStreamer/orc/archive/%{name}-%{version}.tar.gz
|
2010-09-03 13:42:43 +02:00
|
|
|
Source99: baselibs.conf
|
2014-10-09 16:10:52 +02:00
|
|
|
BuildRequires: gtk-doc >= 1.12
|
2017-09-04 16:25:11 +02:00
|
|
|
BuildRequires: meson
|
2016-09-01 16:43:07 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2010-04-08 01:09:47 +02:00
|
|
|
Provides: %{name}-devel = %{version}
|
|
|
|
|
|
|
|
%description
|
|
|
|
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 -n liborc-0_4-0
|
|
|
|
Summary: The Oil Runtime Compiler Library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n liborc-0_4-0
|
|
|
|
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 doc
|
|
|
|
Summary: The Oil Runtime Compiler Library - Documentation
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2017-09-04 16:25:11 +02:00
|
|
|
%setup -q -n %{name}-%{name}-%{version}
|
2010-04-08 01:09:47 +02:00
|
|
|
|
|
|
|
%build
|
2017-09-04 16:25:11 +02:00
|
|
|
%meson
|
|
|
|
%meson_build
|
2010-04-08 01:09:47 +02:00
|
|
|
|
|
|
|
%install
|
2017-09-04 16:25:11 +02:00
|
|
|
%meson_install
|
2014-07-04 15:49:07 +02:00
|
|
|
|
2010-04-08 01:09:47 +02:00
|
|
|
# These are some examples that seem not to make sense to be distributed
|
|
|
|
rm -rf %{buildroot}%{_libdir}/orc
|
2014-07-04 15:49:07 +02:00
|
|
|
|
2010-04-08 01:09:47 +02:00
|
|
|
# Remove libtool archives
|
2014-07-04 15:49:07 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2010-04-08 01:09:47 +02:00
|
|
|
|
2010-12-08 19:44:00 +01:00
|
|
|
%check
|
2017-02-14 20:52:50 +01:00
|
|
|
# Disable testsuite for almost all arches, it's only stable on x86_64
|
|
|
|
%ifnarch aarch64 %{arm} %{ix86} ppc64le
|
2017-09-04 16:25:11 +02:00
|
|
|
%meson_test
|
2017-02-14 20:52:50 +01:00
|
|
|
%endif
|
2012-02-01 12:30:20 +01:00
|
|
|
|
2010-04-08 01:09:47 +02:00
|
|
|
%post -n liborc-0_4-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n liborc-0_4-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2010-08-09 02:20:19 +02:00
|
|
|
%{_bindir}/orc-bugreport
|
2010-04-08 01:09:47 +02:00
|
|
|
%{_bindir}/orcc
|
2011-10-04 11:35:21 +02:00
|
|
|
%{_includedir}/orc-0.4/
|
2010-04-08 01:09:47 +02:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/orc-0.4.pc
|
2011-10-04 11:35:21 +02:00
|
|
|
%{_datadir}/aclocal/orc.m4
|
2010-04-08 01:09:47 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%defattr(-,root,root)
|
2017-09-04 16:25:11 +02:00
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
2011-10-04 11:35:21 +02:00
|
|
|
%{_datadir}/gtk-doc/html/orc/
|
2010-04-08 01:09:47 +02:00
|
|
|
|
|
|
|
%files -n liborc-0_4-0
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/liborc*-0.4.so.*
|
|
|
|
|
|
|
|
%changelog
|