/[ascend]/trunk/ascend.spec.in
ViewVC logotype

Annotation of /trunk/ascend.spec.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 447 - (hide annotations) (download)
Wed Apr 5 00:31:15 2006 UTC (13 years, 3 months ago) by johnpye
File size: 2189 byte(s)
Renamed 'desktop' directory to 'gnome'
1 johnpye 438 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 johnpye 441 URL: http://inkscape.sourceforge.net/
12 johnpye 438
13     Prefix: %{_prefix}
14     Packager: Automatic
15     Vendor: The Inkscape Project
16     BuildRoot: %{_tmppath}/%{name}-%{version}-root
17    
18     BuildRequires: python >= 2.4, python-devel
19 johnpye 446 BuildRequires: scons >= 0.96
20     BuildRequires: bison, flex
21     BuildRequires: swig >= 1.3.24
22     BuildRequires: desktop-file-utils
23    
24     Requires(post): desktop-file-utils
25 johnpye 438 Requires(postun): desktop-file-utils
26    
27     Requires: python >= 2.4
28 johnpye 440 Requires: pygtk2 >= 2.6, pygtk2-libglade
29     Requires: python-matplotlib, python-numeric
30     Requires: gtksourceview
31 johnpye 446 Requires: make
32    
33 johnpye 440 %description
34 johnpye 438 ASCEND IV is both a large-scale object-oriented mathematical
35     modeling environment and a strongly typed mathematical modeling
36     language. Although ASCEND has primarily been developed by Chemical
37     Engineers, great care has been exercised to assure that it is
38     domain independent. ASCEND can support modeling activities in
39     fields from Architecture to (computational) Zoology.
40    
41     %prep
42     %setup
43    
44     %build
45     scons %{?_smp_mflags}
46    
47     %install
48     rm -rf %{buildroot}
49     scons INSTALL_PREFIX=%{buildroot}%{_prefix} INSTALL_DATA=%{buildroot}%{_datadir} INSTALL_BIN=%{buildroot}%{_bindir} install
50 johnpye 445
51 johnpye 438 pushd pygtk/interface/gnome
52 johnpye 447 install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop
53 johnpye 446 install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png
54     install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png
55     install -o root -g root -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml
56     install -o root -g root -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang
57     popd
58    
59     %clean
60 johnpye 438 rm -rf %{buildroot}
61    
62     %files
63     %defattr(-, root, root)
64     %doc INSTALL tcltk98/license.txt
65 johnpye 446 %{_bindir}/ascend
66 johnpye 438 %{_datadir}/applications/ascend.desktop
67     %{_datadir}/ascend/*
68    
69     %changelog
70     * Thu Apr 04 2006 John Pye <john.pye@student.unsw.edu.au>
71     - First RPM package for new SCons build
72    

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