/[ascend]/branches/fprops2/ascend.spec
ViewVC logotype

Annotation of /branches/fprops2/ascend.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 547 - (hide annotations) (download)
Fri Apr 28 09:27:15 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/ascend.spec
File size: 2752 byte(s)
Updated spec file from spec.in
1 johnpye 439
2     Name: ascend
3     Summary: ASCEND Modelling Environment
4 johnpye 532 Version: 0.9-svn.601
5 johnpye 439
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 johnpye 547 Packager: John Pye
16     Vendor: Carnegie Mellon University
17 johnpye 439 BuildRoot: %{_tmppath}/%{name}-%{version}-root
18    
19 johnpye 446 BuildRequires: python >= 2.4, python-devel
20 johnpye 547 BuildRequires: scons >= 0.96.1
21 johnpye 446 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 547 Requires: gcc
34 johnpye 440
35 johnpye 439 %description
36     ASCEND IV is both a large-scale object-oriented mathematical
37     modeling environment and a strongly typed mathematical modeling
38     language. Although ASCEND has primarily been developed by Chemical
39     Engineers, great care has been exercised to assure that it is
40     domain independent. ASCEND can support modeling activities in
41     fields from Architecture to (computational) Zoology.
42    
43     %prep
44 johnpye 448 %setup -q
45 johnpye 439
46     %build
47 johnpye 450 scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models
48 johnpye 439
49     %install
50     rm -rf %{buildroot}
51 johnpye 450 scons DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} install
52 johnpye 439
53 johnpye 532 pushd pygtk/gnome
54 johnpye 447 install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop
55     install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png
56     install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png
57     install -o root -g root -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml
58     install -o root -g root -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang
59     popd
60    
61 johnpye 439 %clean
62     rm -rf %{buildroot}
63    
64 johnpye 448 %post
65     update-desktop-database
66     update-mime-database /usr/share/mime
67    
68     %postun
69     update-desktop-database
70     update-mime-database /usr/share/mime
71    
72 johnpye 439 %files
73     %defattr(-, root, root)
74 johnpye 448 %doc INSTALL tcltk98/release_notes/license.txt
75 johnpye 439 %{_bindir}/ascend
76     %{_datadir}/applications/ascend.desktop
77     %{_datadir}/ascend/*
78 johnpye 448 %{_datadir}/gtksourceview-1.0/language-specs/ascend.lang
79     %{_datadir}/icons/ascend-app.png
80     %{_datadir}/icons/hicolor/64x64/ascend.png
81     %{_datadir}/mime/packages/ascend.xml
82 johnpye 439
83 johnpye 448
84 johnpye 439 %changelog
85 johnpye 532 * Mon Apr 24 2006 John Pye <john.pye@student.unsw.edu.au>
86     - Modified for removed dir in pygtk source hierachy
87    
88 johnpye 439 * Thu Apr 04 2006 John Pye <john.pye@student.unsw.edu.au>
89     - First RPM package for new SCons build

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22