1 |
Name: ascend |
2 |
Summary: ASCEND Modelling Environment |
3 |
Version: @VERSION@ |
4 |
|
5 |
# Use release "0" so that distro-released versions will override ours. |
6 |
Release: 0.jdpipe |
7 |
|
8 |
License: GPL |
9 |
Group: Applications/Graphics |
10 |
Source: %{name}-%{version}.tar.bz2 |
11 |
URL: http://inkscape.sourceforge.net/ |
12 |
|
13 |
Prefix: %{_prefix} |
14 |
Packager: Automatic |
15 |
Vendor: The Inkscape Project |
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
17 |
|
18 |
BuildRequires: python >= 2.4 |
19 |
BuildRequires: python-devel |
20 |
BuildRequires: scons >= 0.96 |
21 |
BuildRequires: desktop-file-utils |
22 |
Requires(post): desktop-file-utils |
23 |
Requires(postun): desktop-file-utils |
24 |
|
25 |
Requires: python >= 2.4 |
26 |
Requires: pygtk2 >= 2.6, pygtk2-libglade |
27 |
Requires: python-matplotlib, python-numeric |
28 |
|
29 |
%description |
30 |
ASCEND IV is both a large-scale object-oriented mathematical |
31 |
modeling environment and a strongly typed mathematical modeling |
32 |
language. Although ASCEND has primarily been developed by Chemical |
33 |
Engineers, great care has been exercised to assure that it is |
34 |
domain independent. ASCEND can support modeling activities in |
35 |
fields from Architecture to (computational) Zoology. |
36 |
|
37 |
%prep |
38 |
%setup |
39 |
|
40 |
%build |
41 |
scons %{?_smp_mflags} |
42 |
|
43 |
%install |
44 |
rm -rf %{buildroot} |
45 |
scons INSTALL_PREFIX=%{buildroot}%{_prefix} INSTALL_DATA=%{buildroot}%{_datadir} INSTALL_BIN=%{buildroot}%{_bindir} install |
46 |
|
47 |
%clean |
48 |
rm -rf %{buildroot} |
49 |
|
50 |
%files |
51 |
%defattr(-, root, root) |
52 |
%doc AUTHORS COPYING ChangeLog NEWS README doc/keys.html |
53 |
%{_bindir}/ascend |
54 |
%{_datadir}/applications/ascend.desktop |
55 |
%{_datadir}/ascend/* |
56 |
|
57 |
%changelog |
58 |
* Thu Apr 04 2006 John Pye <john.pye@student.unsw.edu.au> |
59 |
- First RPM package for new SCons build |