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