Singular is currently available for x86 architectures only.

This commit is contained in:
Jerry James 2014-02-15 11:16:39 -07:00
parent 8d6f9f081f
commit 69fa9c29ff

View File

@ -1,6 +1,6 @@
Name: qepcad-B
Version: 1.69
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Quantifier elimination tool
License: MIT
@ -33,7 +33,9 @@ BuildRequires: readline-devel
BuildRequires: saclib-devel
Requires: bash
%ifarch %{ix86} x86_64
Requires: Singular
%endif
%description
QEPCAD is an implementation of quantifier elimination by partial
@ -90,8 +92,12 @@ install -p -m 0755 cad2d/cad2d %{buildroot}%{_bindir}
# Install the default settings file
mkdir -p %{buildroot}%{_datadir}/qepcad
%ifarch %{ix86} x86_64
sed 's/^#S/S/' default.qepcadrc > \
%{buildroot}%{_datadir}/qepcad/default.qepcadrc
%else
cp -p default.qepcadrc %{buildroot}%{_datadir}/qepcad/default.qepcadrc
%endif
touch -r default.qepcadrc %{buildroot}%{_datadir}/qepcad/default.qepcadrc
# Install qepcad.help and the expected symbolic links
@ -109,6 +115,9 @@ ln -s %{_bindir}/qepcad %{buildroot}%{_datadir}/qepcad/bin
%{_datadir}/qepcad/
%changelog
* Sat Feb 15 2014 Jerry James <loganjerry@gmail.com> - 1.69-3
- Singular is currently available for x86 architectures only
* Thu Feb 13 2014 Jerry James <loganjerry@gmail.com> - 1.69-2
- Install qepcad.help