|
@@ -1,6 +1,8 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
Name: orc
|
|
Name: orc
|
|
Summary: The Oil Run-time Compiler
|
|
Summary: The Oil Run-time Compiler
|
|
-Version: 0.4.14
|
|
|
|
|
|
+Version: 0.4.16
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -51,6 +53,28 @@ Requires: pkgconfig
|
|
%description compiler
|
|
%description compiler
|
|
The Orc compiler, to produce optimized code.
|
|
The Orc compiler, to produce optimized code.
|
|
|
|
|
|
|
|
+%package -n compat32-%{name}
|
|
|
|
+Summary: The Oil Run-time Compiler
|
|
|
|
+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
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: compat32-%{name} = %{version}-%{release}
|
|
|
|
+Requires: pkgconfig
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-devel
|
|
|
|
+This package contains the files needed to build packages that depend
|
|
|
|
+on orc.
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -85,6 +109,10 @@ make check || true
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING README
|
|
%doc COPYING README
|
|
@@ -101,13 +129,28 @@ make check || true
|
|
%{_includedir}/%{name}-0.4/
|
|
%{_includedir}/%{name}-0.4/
|
|
%{_libdir}/liborc-*.so
|
|
%{_libdir}/liborc-*.so
|
|
%{_libdir}/pkgconfig/orc-0.4.pc
|
|
%{_libdir}/pkgconfig/orc-0.4.pc
|
|
|
|
+%{_datadir}/aclocal/orc.m4
|
|
|
|
|
|
%files compiler
|
|
%files compiler
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/orcc
|
|
%{_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
|
|
|
|
+%{_libdir}/pkgconfig/orc-0.4.pc
|
|
|
|
+%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* 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
|
|
* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.14-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|