Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test gcc10 fix #1

Open
wants to merge 4 commits into
base: test_actions
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ HELP=help/*.html
# Use Gnu compiler
#CC= gcc
# Use c99 to compile according to newer ISO C standards (IEEE Std 1003.1-2001)
CC= gcc -std=c99 -pedantic -D_XOPEN_SOURCE=600 -Wall
CC= gcc -std=c99 -pedantic -D_XOPEN_SOURCE=600 -Wall -fcommon
#AUTLIBS= -lsundials_cvode -lX11 -lm
#These are the 32bit compat libraries.
#AUTLIBS= -lf2c -lsundials_cvode -lX11 -lm
Expand Down
35 changes: 35 additions & 0 deletions xppaut.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Name: xppaut
Version: 8.0
Release: 1%{?dist}
Summary: X-windows Phase Plane Plus Auto

Group: Applications/Engineering
License: GPL
URL: http://www.math.pitt.edu/~bard/xpp/xpp.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
BuildRequires: gcc libX11-devel

%define debug_package %{nil}

%description
XPPAUT is a tool for solving differential equations, difference equations, delay equations,
functional equations, boundary value problems, and stochastic equations.

%prep
%setup -q
%build
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
rm -f ode/*.so
make BINDIR=%{_bindir} MANDIR=%{_mandir}/man1 DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
/usr/bin/xppaut
%doc %attr(0444,root,root) /usr/share/man/man1/xppaut.1.gz
%doc %attr(0444,root,root) /usr/share/doc/xppaut/*
%changelog