123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241 |
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- Name: orc
- Summary: The Oil Run-time Compiler
- Summary(ja): Oil ランタイムコンパイラ
- Version: 0.4.31
- Release: 1%{?_dist_release}
- Group: System Environment/Libraries
- Vendor: Project Vine
- Distribution: Vine Linux
- License: BSD
- URL: http://code.entropywave.com/orc/
- Source0: http://gstreamer.freedesktop.org/src/orc/orc-%{version}.tar.xz
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: meson
- BuildRequires: libtool
- BuildRequires: gtk-doc
- BuildRequires: glib2-devel
- %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 doc
- Summary: Documentation for Orc
- Summary(ja): Orc のドキュメント
- Group: Documentation
- Requires: %{name} = %{version}-%{release}
- BuildArch: noarch
- %description doc
- Documentation for Orc.
- %package devel
- Summary: Development files and static libraries for Orc
- Summary(ja): Orc の開発用ファイル及び静的ライブラリ
- Group: Development/Libraries
- Requires: %{name} = %{version}-%{release}
- Requires: %{name}-compiler
- Requires: pkgconfig
- %description devel
- This package contains the files needed to build packages that depend
- on orc.
- %package compiler
- Summary: Orc compiler
- Summary(ja): Orc コンパイラ
- Group: Development/Languages
- Requires: %{name} = %{version}-%{release}
- Requires: pkgconfig
- %description compiler
- The Orc compiler, to produce optimized code.
- %package -n compat32-%{name}
- Summary: The Oil Run-time Compiler
- Summary(ja): Oil ランタイムコンパイラ
- Group: System Environment/Libraries
- Requires: %{name} = %{version}-%{release}
- %description -n compat32-%{name}
- 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 compat32-%{name}-devel
- Summary: Development files and static libraries for Orc
- Summary(ja): Orc の開発用ファイル及び静的ライブラリ
- Group: Development/Libraries
- Requires: compat32-%{name} = %{version}-%{release}
- Requires: compat32-pkgconfig
- %description -n compat32-%{name}-devel
- This package contains the files needed to build packages that depend
- on orc.
- %prep
- %setup -q
- %build
- export CFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
- export CXXFLAGS=`echo $RPM_OPT_FLAGS | sed 's/-O2/-O1/g'`
- %meson
- %meson_build
- %install
- rm -rf %{buildroot}
- %meson_install
- # Remove unneeded files.
- find %{buildroot}%{_libdir} -name "*.a" -delete
- %clean
- rm -rf %{buildroot}
- %check
- %meson_test
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
- %post -n compat32-%{name} -p /sbin/ldconfig
- %postun -n compat32-%{name} -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %license COPYING
- %doc README
- %{_bindir}/orc-bugreport
- %{_libdir}/liborc-*.so.*
- %files doc
- %defattr(-,root,root,-)
- %doc %{_datadir}/gtk-doc/html/orc/
- %files devel
- %defattr(-,root,root,-)
- %doc examples/*.c
- %{_includedir}/%{name}-0.4/
- %{_libdir}/liborc-*.so
- %{_libdir}/pkgconfig/*.pc
- %{_datadir}/aclocal/orc.m4
- %files compiler
- %defattr(-,root,root,-)
- %{_bindir}/orcc
- %if %{build_compat32}
- %defattr(-,root,root,-)
- %files -n compat32-%{name}
- %{_libdir}/liborc-*.so.*
- %files -n compat32-%{name}-devel
- %defattr(-,root,root,-)
- %{_libdir}/liborc-*.so
- %endif
- %changelog
- * Tue Apr 14 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.31-1
- - new upstream release.
- * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.4.28-1
- - new upstream release.
- * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.24-1
- - new upstream release
- * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.4.23-1
- - new upstream release
- * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.22-1
- - new upstream release
- * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.19-1
- - new upstream release
- * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-2
- - rebuild with VineSeed environment
- * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.18-1
- - new upstream release
- * Sat Oct 08 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.16-1
- - new upstream release
- - create compat32 sub packages
- * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.14-1
- - new upstream release
- * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.11-1
- - new upstream release
- * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.5-5
- - rebuilt with rpm-4.8.1 for pkg-config
- * Fri Jul 30 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-4
- - build with -O1 (not -O2) to fix build failure on ppc
- (like as the Debian package does)
- * Sun Jul 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.4.5-3
- - Initial build for Vine Linux
- * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-2
- - Added removed testing libraries to package.
- * Sun Jun 13 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.5-1
- - Updated to 0.4.5.
- - Removed testing libraries from package.
- * Mon Apr 05 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-2
- - Docs as noarch.
- - Sanitize timestamps of header files.
- - orcc in -compiler subpackage.
- * Tue Mar 30 2010 Fabian Deutsch <fabiand@fedoraproject.org> - 0.4.4-1
- - Updated to 0.4.4: Includes bugfixes for x86_64.
- * Wed Mar 17 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-2
- - Running autoreconf to prevent building problems.
- - Added missing files to docs.
- - Added examples to devel docs.
- * Thu Mar 04 2010 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.3-1
- - Updated to 0.4.3
- * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-4
- - Removed unused libdir
- * Sun Oct 18 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-3
- - Specfile cleanup
- - Removed tools subpackage
- - Added docs subpackage
- * Sat Oct 03 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-2
- - Use orc as pakage name
- - spec-file cleanup
- - Added devel requirements
- - Removed an rpath issue
- * Fri Oct 02 2009 Fabian Deutsch <fabian.deutsch@gmx.de> - 0.4.2-1
- - Initial release
|