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

Diff of /trunk/ascend.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 561 by johnpye, Thu May 4 07:35:43 2006 UTC revision 602 by johnpye, Fri May 12 14:45:41 2006 UTC
# Line 1  Line 1 
1  Name:       ascend  Name:       ascend
2  Summary:    ASCEND modelling environment - shared library and model files.  Summary:    ASCEND modelling environment
3  Version:    0.9.5.90  Version:    0.9.5.91
4    
5  # Use release "0" so that distro-released versions will override ours.  # Use release "0" so that distro-released versions will override ours.
6  Release:    0.jdpipe  Release:    0.jdpipe
7    
8  License:    GPL  License:    GPL
9  Group:      Applications/Engineering  Group:      Applications/Engineering
10  Source:     %{name}-%{version}.tar.bz2  Source:     ascend.tar.bz2
11  URL:        http://inkscape.sourceforge.net/  URL:        http://ascend.cheme.cmu.edu/
12    
13  Prefix:     %{_prefix}  Prefix:     %{_prefix}
14  Packager:   John Pye  Packager:   John Pye
# Line 23  BuildRequires: desktop-file-utils Line 23  BuildRequires: desktop-file-utils
23  BuildRequires: tk-devel < 8.5  BuildRequires: tk-devel < 8.5
24  BuildRequires: tcl-devel < 8.5  BuildRequires: tcl-devel < 8.5
25  BuildRequires: tktable < 2.10, tktable >= 2.8  BuildRequires: tktable < 2.10, tktable >= 2.8
26    BuildRequires: ccache
 Requires(post):   desktop-file-utils  
 Requires(postun): desktop-file-utils  
27    
28  Requires: python >= 2.4  Requires: python >= 2.4
29  Requires: pygtk2 >= 2.6, pygtk2-libglade  Requires: pygtk2 >= 2.6
30  Requires: python-matplotlib, python-numeric  Requires: pygtk2-libglade
31    Requires: python-matplotlib
32    Requires: python-numeric
33  Requires: gtksourceview  Requires: gtksourceview
 Requires: make  
 Requires: gcc  
34    
35  %description  %description
36  ASCEND IV is both a large-scale object-oriented mathematical  ASCEND IV is both a large-scale object-oriented mathematical
# Line 43  domain independent. ASCEND can support m Line 41  domain independent. ASCEND can support m
41  fields from Architecture to (computational) Zoology.  fields from Architecture to (computational) Zoology.
42    
43  #%package -n ascend-python  #%package -n ascend-python
44  #Version:    0.9.5.90  #Version:    0.9.5.91
45  #Summary:    PyGTK user interface for ASCEND  #Summary:    PyGTK user interface for ASCEND
46  #Group:     Applications/Engineering  #Group:     Applications/Engineering
47  #  #
# Line 53  fields from Architecture to (computation Line 51  fields from Architecture to (computation
51  #access to all of the ASCEND functionality provided by the Tcl/Tk interface.  #access to all of the ASCEND functionality provided by the Tcl/Tk interface.
52  #  #
53  #%package -n ascend-tcltk  #%package -n ascend-tcltk
54  #Version:    0.9.5.90  #Version:    0.9.5.91
55  #Summary:    Tcl/Tk user interface for ASCEND  #Summary:    Tcl/Tk user interface for ASCEND
56  #Group:     Applications/Engineering  #Group:     Applications/Engineering
57  #  #
# Line 64  fields from Architecture to (computation Line 62  fields from Architecture to (computation
62  #functionality not provided by the PyGTK interface.  #functionality not provided by the PyGTK interface.
63    
64  %prep  %prep
65  %setup -q  %setup -q -n ascend
66    
67  %build  %build
68  scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 TCL=/usr TCL_LIB=tcl8.4 TK_LIB=tk8.4  scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 TCL=/usr TCL_LIB=tcl8.4 TK_LIB=tk8.4
69    
70  %install  %install
71  rm -rf %{buildroot}  rm -rf %{buildroot}
72  scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 install  scons %{?_smp_mflags} CC="ccache gcc" CXX="ccache g++" DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} WITH_PYTHON=1 WITH_TCLTK=1 install
73    
74  pushd pygtk/gnome  pushd pygtk/gnome
75  install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop  install -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop
76  install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png  install -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/ascend-app.png
77  install -o root -g root -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png  install -m 644 -D ascend.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend.png
78  install -o root -g root -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml  install -m 644 -D ascend.xml %{buildroot}/%{_datadir}/mime/packages/ascend.xml
79  install -o root -g root -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang  install -m 644 -D ascend.lang %{buildroot}/%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang
80  popd  popd
81    
82  %clean  %clean
# Line 106  update-mime-database /usr/share/mime Line 104  update-mime-database /usr/share/mime
104  %{_datadir}/icons/hicolor/64x64/ascend.png  %{_datadir}/icons/hicolor/64x64/ascend.png
105  %{_datadir}/mime/packages/ascend.xml  %{_datadir}/mime/packages/ascend.xml
106  %{_datadir}/ascend/*.py  %{_datadir}/ascend/*.py
107    %{_datadir}/ascend/*.pyc
108    %{_datadir}/ascend/*.pyo
109  %{_datadir}/ascend/glade  %{_datadir}/ascend/glade
110    %{_datadir}/ascend/_ascpy.so
111    
112  # %package -n ascend-tcltk  # %package -n ascend-tcltk
113  %{_bindir}/ascend4  %{_bindir}/ascend4

Legend:
Removed from v.561  
changed lines
  Added in v.602

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