6440e9
Name:		orc
6440e9
Version:	0.4.28
6694ab
Release:	3%{?dist}
6440e9
Summary:	The Oil Run-time Compiler
6440e9
6440e9
Group:		System Environment/Libraries
6440e9
License:	BSD
6440e9
URL:		http://cgit.freedesktop.org/gstreamer/orc/
6440e9
Source0:	http://gstreamer.freedesktop.org/src/orc/%{name}-%{version}.tar.xz
6440e9
6694ab
# upstream patches
6694ab
Patch0:		0001-x86-add-endbr32-and-endbr64-instructions.patch
6694ab
6440e9
BuildRequires:	gtk-doc, libtool
6440e9
6440e9
%description
6440e9
Orc is a library and set of tools for compiling and executing
6440e9
very simple programs that operate on arrays of data.  The "language"
6440e9
is a generic assembly language that represents many of the features
6440e9
available in SIMD architectures, including saturated addition and
6440e9
subtraction, and many arithmetic operations.
6440e9
6440e9
%package doc
6440e9
Summary:	Documentation for Orc
6440e9
Group:		Development/Languages
6440e9
Requires:	%{name} = %{version}-%{release}
6440e9
BuildArch:	noarch
6440e9
6440e9
%description doc
6440e9
Documentation for Orc.
6440e9
6440e9
%package devel
6440e9
Summary:	Development files and libraries for Orc
6440e9
Group:		Development/Libraries
6440e9
Requires:	%{name} = %{version}-%{release}
6440e9
Requires:	%{name}-compiler
6440e9
Requires:	pkgconfig
6440e9
6440e9
%description devel
6440e9
This package contains the files needed to build packages that depend
6440e9
on orc.
6440e9
6440e9
%package compiler
6440e9
Summary:	Orc compiler
6440e9
Group:		Development/Libraries
6440e9
Requires:	%{name} = %{version}-%{release}
6440e9
Requires:	pkgconfig
6440e9
6440e9
%description compiler
6440e9
The Orc compiler, to produce optimized code.
6440e9
6440e9
6440e9
%prep
6440e9
%setup -q
6694ab
%patch0 -p1
6440e9
gtkdocize --copy
6440e9
NOCONFIGURE=1 autoreconf -vif
6440e9
6440e9
6440e9
%build
6440e9
%configure --disable-static --enable-gtk-doc --enable-user-codemem --disable-gtk-doc-html
6440e9
6440e9
make %{?_smp_mflags} V=1
6440e9
6440e9
6440e9
%install
6440e9
make install DESTDIR=%{buildroot} INSTALL="install -p"
6440e9
6440e9
# Remove unneeded files.
6440e9
find %{buildroot}/%{_libdir} -name \*.a -or -name \*.la -delete
6440e9
rm -rf %{buildroot}/%{_libdir}/orc
6440e9
6440e9
touch -r stamp-h1 %{buildroot}%{_includedir}/%{name}-0.4/orc/orc-stdint.h   
6440e9
6440e9
6440e9
%check
6440e9
%ifnarch s390 s390x ppc %{power64} %{arm} i686 aarch64
6440e9
make check
6440e9
%endif
6440e9
6440e9
6440e9
%post -p /sbin/ldconfig
6440e9
6440e9
6440e9
%postun -p /sbin/ldconfig
6440e9
6440e9
6440e9
%files
6440e9
%doc COPYING README
6440e9
%{_libdir}/liborc-*.so.*
6440e9
%{_bindir}/orc-bugreport
6440e9
6440e9
%files doc
6440e9
%doc %{_datadir}/gtk-doc/html/orc/
6440e9
6440e9
%files devel
6440e9
%doc examples/*.c
6440e9
%{_includedir}/%{name}-0.4/
6440e9
%{_libdir}/liborc-*.so
6440e9
%{_libdir}/pkgconfig/orc-0.4.pc
6440e9
%{_datadir}/aclocal/orc.m4
6440e9
6440e9
%files compiler
6440e9
%{_bindir}/orcc
6440e9
6440e9
6440e9
%changelog
6694ab
* Thu Sep 12 2019 Wim Taymans <wtaymans@redhat.com> 0.4.28-3
6694ab
- x86: add endbr32 and endbr64 instructions
6694ab
- Resolves: rhbz#1693292
6694ab
6440e9
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.28-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6440e9
6440e9
* Mon Dec 11 2017 Wim Taymans <wtaymans@redhat.com> 0.4.28-1
6440e9
- Update to 0.4.28
6440e9
- Disable regeneration of docs
6440e9
6440e9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.27-3
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
6440e9
6440e9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.27-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6440e9
6440e9
* Tue Jul 18 2017 Wim Taymans <wtaymans@redhat.com> 0.4.27-1
6440e9
- Update to 0.4.27
6440e9
6440e9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.26-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
6440e9
6440e9
* Wed Aug 31 2016 Wim Taymans <wtaymans@redhat.com> 0.4.26-1
6440e9
- Update to 0.4.26
6440e9
6440e9
* Mon Mar 07 2016 Wim Taymans <wtaymans@redhat.com> 0.4.25-1
6440e9
- Update to 0.4.25
6440e9
6440e9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.24-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6440e9
6440e9
* Thu Jun 25 2015 Wim Taymans <wtaymans@redhat.com> 0.4.24-1
6440e9
- Update to 0.4.24
6440e9
6440e9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.23-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
6440e9
6440e9
* Tue May 5 2015 Wim Taymans <wtaymans@redhat.com> 0.4.23-1
6440e9
- Update to 0.4.23
6440e9
6440e9
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.4.22-4
6440e9
- Rebuilt for Fedora 23 Change
6440e9
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
6440e9
6440e9
* Thu Sep 11 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.4.22-3
6440e9
- Do not run tests on aarch64
6440e9
6440e9
* Thu Sep  4 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.22-2
6440e9
- Add upstream patch for selinux issue with tmp files
6440e9
6440e9
* Fri Aug 29 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.4.22-1
6440e9
- Update to 0.4.22
6440e9
6440e9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.18-3
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
6440e9
6440e9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.18-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6440e9
6440e9
* Thu Sep 19 2013 Brian Pepple <bpepple@fedoraproject.org> - 0.4.18-1
6440e9
- Update to 0.4.18.
6440e9
6440e9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.17-3
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6440e9
6440e9
* Wed Feb 20 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.17-2
6440e9
- Fix typo rhbz#817944
6440e9
6440e9
* Wed Feb 20 2013 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.17-1
6440e9
- Update to latest upstream release
6440e9
- Removed obsolete patches
6440e9
6440e9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.16-8
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6440e9
6440e9
* Sat Jan 19 2013 Daniel Drake <dsd@laptop.org> - 0.4.16-7
6440e9
- Fix fallback path when register allocation fails
6440e9
- Fixes gstreamer-1.0 crash on OLPC XO-1.75
6440e9
6440e9
* Fri Jul 27 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.16-6
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6440e9
6440e9
* Sat Jan 07 2012 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.16-5
6440e9
- Updated subdir patch.
6440e9
6440e9
* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.16-4
6440e9
- Rebuilt for glibc bug#747377
6440e9
6440e9
* Sun Oct 16 2011 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.16-3
6440e9
- Add Fedora specific patch for tempfiles in subdirs
6440e9
6440e9
* Sun Oct 16 2011 Daniel Drake <dsd@laptop.org> - 0.4.16-2
6440e9
- Add upstream patches to fix gstreamer crash on Geode (#746185)
6440e9
6440e9
* Mon Oct 03 2011 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.16-1
6440e9
- Update to 0.4.16
6440e9
- Fixing regression introdcued by 0.4.15 (#742534 and #734911)
6440e9
6440e9
* Mon Sep 26 2011 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.15-1
6440e9
- Update to 0.4.15
6440e9
6440e9
* Mon Jun 20 2011 Peter Robinson <pbrobinson@gmail.com> - 0.4.14-3
6440e9
- Add ARM platforms to the make check exclusion
6440e9
6440e9
* Sat May 07 2011 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.14-2
6440e9
- Add orc-bugreport to the main package (#702727)
6440e9
6440e9
* Sat Apr 30 2011 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.14-1
6440e9
- Update to 0.4.14
6440e9
6440e9
* Tue Apr 19 2011 Fabian Deutsch <fabiand@fedorpaproject.org> - 0.4.13-1
6440e9
- Update to 0.4.13, another bug fixing release
6440e9
6440e9
* Fri Apr 15 2011 Fabian Deutsch <fabiand@fedorpaproject.org> - 0.4.12-1
6440e9
- Update to 0.4.12, a bug fixing release
6440e9
6440e9
* Wed Feb 23 2011 Karsten Hopp <karsten@redhat.com> 0.4.11-3
6440e9
- don't run tests on ppc, ppc64
6440e9
6440e9
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.11-2
6440e9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6440e9
6440e9
* Sun Oct 24 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.11-1
6440e9
- Update to 0.4.11.
6440e9
- More bug fixes for CPUs that do not have backends, mmx and sse.
6440e9
6440e9
* Fri Oct 08 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.10-1
6440e9
- Update to 0.4.10.
6440e9
- Fixes some bugs related to SELinux.
6440e9
6440e9
* Mon Sep 06 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.9-1
6440e9
- Update to 0.4.9, a pimarily bug fixing release.
6440e9
6440e9
* Thu Aug 19 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.7-1
6440e9
- Updated to 0.4.7.
6440e9
6440e9
* Tue Jul 22 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.6-1
6440e9
- Updated to 0.4.6.
6440e9
- New orc-bugreport added.
6440e9
6440e9
* Tue Jul 13 2010 Dan HorĂ¡k <dan[at]danny.cz> - 0.4.5-3
6440e9
- don't run test on s390(x)
6440e9
6440e9
* Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2
6440e9
- Added removed testing libraries to package.
6440e9
6440e9
* Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1
6440e9
- Updated to 0.4.5.
6440e9
- Removed testing libraries from package.
6440e9
6440e9
* Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2
6440e9
- Docs as noarch.
6440e9
- Sanitize timestamps of header files.
6440e9
- orcc in -compiler subpackage.
6440e9
6440e9
* Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1
6440e9
- Updated to 0.4.4: Includes bugfixes for x86_64.
6440e9
6440e9
* Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2
6440e9
- Running autoreconf to prevent building problems.
6440e9
- Added missing files to docs.
6440e9
- Added examples to devel docs.
6440e9
6440e9
* Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1
6440e9
- Updated to 0.4.3
6440e9
6440e9
* Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4
6440e9
- Removed unused libdir
6440e9
6440e9
* Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3
6440e9
- Specfile cleanup
6440e9
- Removed tools subpackage
6440e9
- Added docs subpackage
6440e9
6440e9
* Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2
6440e9
- Use orc as pakage name
6440e9
- spec-file cleanup
6440e9
- Added devel requirements
6440e9
- Removed an rpath issue
6440e9
6440e9
* Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1
6440e9
- Initial release
6440e9