1 |
johnpye |
439 |
|
2 |
|
|
Name: ascend |
3 |
|
|
Summary: ASCEND Modelling Environment |
4 |
|
|
Version: 0.9.6rc0 |
5 |
|
|
|
6 |
|
|
# Use release "0" so that distro-released versions will override ours. |
7 |
|
|
Release: 0.jdpipe |
8 |
|
|
|
9 |
|
|
License: GPL |
10 |
|
|
Group: Applications/Graphics |
11 |
johnpye |
442 |
Source: %{name}-%{version}.tar.bz2 |
12 |
johnpye |
439 |
URL: http://inkscape.sourceforge.net/ |
13 |
|
|
|
14 |
|
|
Prefix: %{_prefix} |
15 |
|
|
Packager: Automatic |
16 |
|
|
Vendor: The Inkscape Project |
17 |
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
18 |
|
|
|
19 |
johnpye |
446 |
BuildRequires: python >= 2.4, python-devel |
20 |
|
|
BuildRequires: scons >= 0.96 |
21 |
|
|
BuildRequires: bison, flex |
22 |
|
|
BuildRequires: swig >= 1.3.24 |
23 |
|
|
BuildRequires: desktop-file-utils |
24 |
|
|
|
25 |
johnpye |
439 |
Requires(post): desktop-file-utils |
26 |
|
|
Requires(postun): desktop-file-utils |
27 |
|
|
|
28 |
johnpye |
440 |
Requires: python >= 2.4 |
29 |
|
|
Requires: pygtk2 >= 2.6, pygtk2-libglade |
30 |
|
|
Requires: python-matplotlib, python-numeric |
31 |
johnpye |
446 |
Requires: gtksourceview |
32 |
|
|
Requires: make |
33 |
johnpye |
440 |
|
34 |
johnpye |
439 |
%description |
35 |
|
|
ASCEND IV is both a large-scale object-oriented mathematical |
36 |
|
|
modeling environment and a strongly typed mathematical modeling |
37 |
|
|
language. Although ASCEND has primarily been developed by Chemical |
38 |
|
|
Engineers, great care has been exercised to assure that it is |
39 |
|
|
domain independent. ASCEND can support modeling activities in |
40 |
|
|
fields from Architecture to (computational) Zoology. |
41 |
|
|
|
42 |
|
|
%prep |
43 |
johnpye |
448 |
%setup -q |
44 |
johnpye |
439 |
|
45 |
|
|
%build |
46 |
|
|
scons %{?_smp_mflags} |
47 |
|
|
|
48 |
|
|
%install |
49 |
|
|
rm -rf %{buildroot} |
50 |
johnpye |
448 |
scons INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} install |
51 |
johnpye |
439 |
|
52 |
johnpye |
447 |
pushd pygtk/interface/gnome |
53 |
|
|
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
54 |
|
|
install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png |
55 |
|
|
install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png |
56 |
|
|
install -o root -g root -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml |
57 |
|
|
install -o root -g root -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang |
58 |
|
|
popd |
59 |
|
|
|
60 |
johnpye |
439 |
%clean |
61 |
|
|
rm -rf %{buildroot} |
62 |
|
|
|
63 |
johnpye |
448 |
%post |
64 |
|
|
update-desktop-database |
65 |
|
|
update-mime-database /usr/share/mime |
66 |
|
|
|
67 |
|
|
%postun |
68 |
|
|
update-desktop-database |
69 |
|
|
update-mime-database /usr/share/mime |
70 |
|
|
|
71 |
johnpye |
439 |
%files |
72 |
|
|
%defattr(-, root, root) |
73 |
johnpye |
448 |
%doc INSTALL tcltk98/release_notes/license.txt |
74 |
johnpye |
439 |
%{_bindir}/ascend |
75 |
|
|
%{_datadir}/applications/ascend.desktop |
76 |
|
|
%{_datadir}/ascend/* |
77 |
johnpye |
448 |
%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang |
78 |
|
|
%{_datadir}/icons/ascend-app.png |
79 |
|
|
%{_datadir}/icons/hicolor/64x64/ascend.png |
80 |
|
|
%{_datadir}/mime/packages/ascend.xml |
81 |
johnpye |
439 |
|
82 |
johnpye |
448 |
|
83 |
johnpye |
439 |
%changelog |
84 |
|
|
* Thu Apr 04 2006 John Pye <john.pye@student.unsw.edu.au> |
85 |
|
|
- First RPM package for new SCons build |