Accepting request 36732 from multimedia:libs
Copy from multimedia:libs/orc based on submit request 36732 from user vuntz OBS-URL: https://build.opensuse.org/request/show/36732 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/orc?expand=0&rev=1
This commit is contained in:
commit
0349dac426
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
orc-0.4.3.tar.bz2
Normal file
3
orc-0.4.3.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ab9aafe46c4625e0b41996e77b3742ab0e9e26f527bc564c81051e1a0fb903a3
|
||||
size 416264
|
18
orc-asneeded.patch
Normal file
18
orc-asneeded.patch
Normal file
@ -0,0 +1,18 @@
|
||||
Author: Dominique Leuenberger <dimstar [at] opensuse [dot] org
|
||||
|
||||
Fix build of orc with -Wl,--as-needed. _LIBS is not a defined
|
||||
libtool variable and as such does not work.
|
||||
|
||||
Index: orc-0.4.3/orc/Makefile.am
|
||||
===================================================================
|
||||
--- orc-0.4.3.orig/orc/Makefile.am
|
||||
+++ orc-0.4.3/orc/Makefile.am
|
||||
@@ -3,7 +3,7 @@ pkgincludedir = $(includedir)/orc-@ORC_M
|
||||
|
||||
lib_LTLIBRARIES = liborc-@ORC_MAJORMINOR@.la
|
||||
|
||||
-liborc_@ORC_MAJORMINOR@_la_LIBS = $(ORC_LIBS)
|
||||
+liborc_@ORC_MAJORMINOR@_la_LIBADD = $(LIBM) $(LIBRT)
|
||||
liborc_@ORC_MAJORMINOR@_la_LDFLAGS = \
|
||||
-no-undefined -export-symbols-regex 'orc_'
|
||||
liborc_@ORC_MAJORMINOR@_la_CFLAGS = $(ORC_CFLAGS) \
|
5
orc.changes
Normal file
5
orc.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 17 10:47:22 UTC 2010 - dimstar@opensuse.org
|
||||
|
||||
- Initial package of orc 0.4.3
|
||||
|
109
orc.spec
Normal file
109
orc.spec
Normal file
@ -0,0 +1,109 @@
|
||||
#
|
||||
# spec file for package orc (Version 0.4.3)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: orc
|
||||
Version: 0.4.3
|
||||
Release: 1
|
||||
License: BSD and Motorola License (please mark changes)
|
||||
Summary: The Oil Runtime Compiler
|
||||
Url: http://code.entropywave.com/projects/orc/
|
||||
Group: Productivity/Multimedia/Other
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM orc-asneeded.patch dimstar@opensuse.org -- Fix build by properly linking the library with libm.
|
||||
Patch0: orc-asneeded.patch
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: pkg-config
|
||||
Provides: %{name}-devel = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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
|
||||
License: BSD and Motorola License (please mark changes)
|
||||
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
|
||||
License: BSD and Motorola License (please mark changes)
|
||||
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
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure \
|
||||
--disable-static \
|
||||
--enable-gtk-doc
|
||||
# Fix the documentation the easy way
|
||||
cp doc/version.entities doc/xml/version.entities
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
# These are some examples that seem not to make sense to be distributed
|
||||
rm -rf %{buildroot}%{_libdir}/orc
|
||||
# Remove libtool archives
|
||||
find %{buildroot}%{_libdir} -name '*.la' -delete -print
|
||||
|
||||
%clean
|
||||
#rm -rf %{buildroot}
|
||||
|
||||
%post -n liborc-0_4-0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n liborc-0_4-0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/orcc
|
||||
%{_includedir}/orc-0.4
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/orc-0.4.pc
|
||||
|
||||
%files doc
|
||||
%defattr(-,root,root)
|
||||
%{_datadir}/gtk-doc/html/orc
|
||||
|
||||
%files -n liborc-0_4-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/liborc*-0.4.so.*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user