183 lines
6.2 KiB
RPMSpec
183 lines
6.2 KiB
RPMSpec
%define majversion %(echo %version | cut -d. -f 1-2)
|
||
Name: orc
|
||
Version: 0.4.36
|
||
Release: 1mamba
|
||
Summary: Orc – The Optimized Inner Loops Runtime Compiler
|
||
Group: Applications/Development
|
||
Vendor: openmamba
|
||
Distribution: openmamba
|
||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
URL: https://gstreamer.freedesktop.org/documentation/additional/design/orc-integration.html?gi-language=c
|
||
Source: http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz
|
||
License: MIT
|
||
## AUTOBUILDREQ-BEGIN
|
||
BuildRequires: glibc-devel
|
||
## AUTOBUILDREQ-END
|
||
Requires: liborc = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
||
%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.
|
||
|
||
Features:
|
||
|
||
* Users can create, compile, and run simple programs that use the vector extensions of the CPU, all directly from an application.
|
||
* Users can compile Orc programs to assembly source code to be compiled and used without linking against the Orc library.
|
||
* The generic assembly language can be extended by an application by adding new opcodes.
|
||
* An application can add rules for converting existing or new opcodes to binary code for a specific target.
|
||
* Current targets: SSE, MMX, ARM, Altivec. The NEON and TI c64x+ DSP targets are not open source and can be licensed separately from Entropy Wave.
|
||
* Programs can optionally be emulated, which is useful for testing, or if no rules are available to convert Orc opcodes to executable code.
|
||
|
||
%package -n liborc
|
||
Summary: Library of Optimized Inner Loops Runtime Compiler
|
||
Group: System/Libraries
|
||
|
||
%description -n liborc
|
||
Library of Optimized Inner Loops Runtime Compiler
|
||
|
||
This package contains static libraries and header files need for development.
|
||
|
||
%package -n liborc-devel
|
||
Summary: Devel package for %{name}
|
||
Group: Development/Libraries
|
||
Requires: liborc = %{?epoch:%epoch:}%{version}-%{release}
|
||
Provides: liborc-static
|
||
Obsoletes: liborc-static < 0.4.33
|
||
|
||
%description -n liborc-devel
|
||
Library of Optimized Inner Loops Runtime Compiler
|
||
This package contains libraries and header files needed for development.
|
||
|
||
%package apidocs
|
||
Summary: %{name} API documentation
|
||
Group: Documentation
|
||
Requires: gtk-doc
|
||
|
||
%description apidocs
|
||
Orc – The Optimized Inner Loops Runtime Compiler
|
||
This package contains %{name} API documentation.
|
||
|
||
%debug_package
|
||
|
||
%prep
|
||
%setup -q
|
||
|
||
%build
|
||
%meson
|
||
|
||
%meson_build
|
||
|
||
%install
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
%meson_install
|
||
|
||
%clean
|
||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
||
%post -n liborc -p /sbin/ldconfig
|
||
%preun -n liborc -p /sbin/ldconfig
|
||
|
||
%files
|
||
%defattr(-,root,root)
|
||
%{_bindir}/orcc
|
||
%{_bindir}/orc-bugreport
|
||
|
||
%files -n liborc
|
||
%defattr(-,root,root)
|
||
%{_libdir}/liborc*-%{majversion}.so.*
|
||
%doc COPYING
|
||
|
||
%files -n liborc-devel
|
||
%defattr(-,root,root)
|
||
%dir %{_includedir}/orc-%{majversion}
|
||
%{_includedir}/orc-%{majversion}/orc
|
||
%{_includedir}/orc-%{majversion}/orc-test
|
||
%{_libdir}/liborc-%{majversion}.so
|
||
%{_libdir}/liborc-test-%{majversion}.so
|
||
%{_datadir}/aclocal/orc.m4
|
||
%{_libdir}/pkgconfig/orc-%{majversion}.pc
|
||
%{_libdir}/pkgconfig/orc-test-%{majversion}.pc
|
||
%doc README TODO
|
||
|
||
%files apidocs
|
||
%defattr(-,root,root)
|
||
%{_datadir}/gtk-doc/html/orc
|
||
|
||
%changelog
|
||
* Sat Jan 27 2024 Automatic Build System <autodist@openmamba.org> 0.4.36-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Wed Jan 24 2024 Automatic Build System <autodist@openmamba.org> 0.4.35-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Wed Jun 07 2023 Automatic Build System <autodist@mambasoft.it> 0.4.34-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Fri Nov 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.33-1mamba
|
||
- update to 0.4.33
|
||
|
||
* Sat Sep 12 2020 Automatic Build System <autodist@mambasoft.it> 0.4.32-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Tue Nov 05 2019 Automatic Build System <autodist@mambasoft.it> 0.4.31-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Sun Oct 27 2019 Automatic Build System <autodist@mambasoft.it> 0.4.30-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Tue Apr 23 2019 Automatic Build System <autodist@mambasoft.it> 0.4.29-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Sun Dec 17 2017 Automatic Build System <autodist@mambasoft.it> 0.4.28-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 0.4.27-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Thu Sep 01 2016 Automatic Build System <autodist@mambasoft.it> 0.4.26-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Tue Mar 08 2016 Automatic Build System <autodist@mambasoft.it> 0.4.25-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Fri Jun 26 2015 Automatic Build System <autodist@mambasoft.it> 0.4.24-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Wed Dec 17 2014 Automatic Build System <autodist@mambasoft.it> 0.4.23-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Wed Dec 10 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.22-1mamba
|
||
- update to 0.4.22
|
||
|
||
* Tue Jun 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.19-1mamba
|
||
- update to 0.4.19
|
||
|
||
* Thu Aug 29 2013 Automatic Build System <autodist@mambasoft.it> 0.4.18-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Thu Feb 28 2013 Automatic Build System <autodist@mambasoft.it> 0.4.17-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 0.4.16-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Sun Oct 02 2011 Automatic Build System <autodist@mambasoft.it> 0.4.15-1mamba
|
||
- automatic version update by autodist
|
||
|
||
* Fri Jul 22 2011 Automatic Build System <autodist@mambasoft.it> 0.4.14-1mamba
|
||
- automatic update to 3.0.3.0 by autodist
|
||
|
||
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.11-1mamba
|
||
- update to 0.4.11
|
||
|
||
* Tue Nov 09 2010 Automatic Build System <autodist@mambasoft.it> 0.4.9-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Wed Jun 30 2010 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
|
||
- automatic update by autodist
|
||
|
||
* Mon May 03 2010 gil <puntogil@libero.it> 0.4.4-1mamba
|
||
- update to 0.4.4
|
||
|
||
* Fri Mar 05 2010 gil <puntogil@libero.it> 0.4.3-1mamba
|
||
- package created by autospec
|