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

Diff of /branches/fprops2/ascend.spec

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

revision 1525 by jpye, Mon Jul 2 13:51:40 2007 UTC revision 1608 by jpye, Thu Aug 30 01:31:05 2007 UTC
# Line 1  Line 1 
1  Name:       ascend  Name:       ascend
2  Summary:    ASCEND modelling environment  Summary:    ASCEND modelling environment
3  Version:    0.9.5.112  Version:    0.9.5.114
4    
5  # Use release 0.* so that other users can do patch releases with a higher number  # Use release 0.* so that other users can do patch releases with a higher number
6  # and still have the update occur automatically.  # and still have the update occur automatically.
7  Release:    0%{?dist}  Release:    0%{?dist}
8    
9  %define disttar_name ascend-0.9.5.112  %define disttar_name ascend-0.9.5.114
10    
11  License:    GPL  License:    GPLv2+
12  Group:      Applications/Engineering  Group:      Applications/Engineering
13  Source:     %{disttar_name}.tar.bz2  Source:     %{disttar_name}.tar.bz2
14  URL:        http://ascend.cheme.cmu.edu/  URL:        http://ascend.cheme.cmu.edu/
# Line 23  Buildroot: /var/tmp/%{name}-buildroot Line 23  Buildroot: /var/tmp/%{name}-buildroot
23    
24  # ...general  # ...general
25  BuildRequires: scons >= 0.96.92  BuildRequires: scons >= 0.96.92
26  BuildRequires: bison >= 2.0  BuildRequires: bison
27  BuildRequires: flex >= 2.5.4  BuildRequires: flex >= 2.5.4
28  BuildRequires: swig >= 1.3.24  BuildRequires: swig >= 1.3.24
29    # removed version requirement for 2.0 on bison.
30    
31  %if %{defined fedora_version}  %if 0%{?fedora_version}
32  BuildRequires: gcc-gfortran gcc-c++ >= 4  BuildRequires: gcc-gfortran gcc-c++ >= 4
33  BuildRequires: blas-devel  BuildRequires: blas-devel
34  BuildRequires: sundials >= 2.2.0  BuildRequires: sundials-devel >= 2.2.0
35  BuildRequires: python-devel >= 2.4  BuildRequires: python-devel >= 2.4
36  BuildRequires: tk-devel >= 8.3, tcl-devel >= 8.3  BuildRequires: tk-devel, tk, tcl-devel, tcl, tktable
 BuildRequires: tktable < 2.10, tktable >= 2.8  
37  %else  %else
38  %if %{defined suse_version}  %if 0%{?suse_version}
39  BuildRequires: gcc-fortran gcc-c++  BuildRequires: gcc-fortran gcc-c++
40  BuildRequires: sundials >= 2.2.0  BuildRequires: sundials-devel >= 2.2.0
41  BuildRequires: blas  BuildRequires: blas
42  BuildRequires: python-devel >= 2.4  BuildRequires: python-devel >= 2.4
43  BuildRequires: tk-devel >= 8.3, tcl-devel >= 8.3  BuildRequires: tk, tk-devel, tcl, tcl-devel, tktable
44  BuildRequires: tktable < 2.10, tktable >= 2.8  %if 0%{suse_version} == 1000
45    BuildRequires: xorg-x11-devel
46  %else  %else
47  %if %{defined mandriva_version}  BuildRequires: xorg-x11-libX11-devel
48    %endif
49    %else
50    %if 0%{?mandriva_version}
51  BuildRequires: gcc-gfortran gcc-c++  BuildRequires: gcc-gfortran gcc-c++
52  BuildRequires: sundials >= 2.2.0  BuildRequires: sundials-devel >= 2.2.0
53  BuildRequires: blas-devel python-devel tk tcl  BuildRequires: blas-devel python-devel tk tcl
54  %else  %else
55  # xubuntu version is the fallback...  # xubuntu version is the fallback...
# Line 54  BuildRequires: g++-4.1 gfortran-4.1 libs Line 58  BuildRequires: g++-4.1 gfortran-4.1 libs
58  %endif  %endif
59  %endif  %endif
60    
 #BuildRequires: conopt >= 3.14  
   
 # ... GNOME  
 BuildRequires: desktop-file-utils  
   
61  %define pyver %(python -c 'import sys ; print sys.version[:3]')  %define pyver %(python -c 'import sys ; print sys.version[:3]')
62  %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}  %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
63  %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}  %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
# Line 84  fields from Architecture to (computation Line 83  fields from Architecture to (computation
83  # ...general  # ...general
84  Requires: gtksourceview  Requires: gtksourceview
85  Requires: blas  Requires: blas
86  # sundials will be statically linked  Requires: sundials
87  Requires: desktop-file-utils shared-mime-info  # ... is now packaged as a shared library
88    
89  # ...pygtk  # ...pygtk
90  Requires: python >= 2.4  Requires: python >= 2.4
# Line 101  Requires: tcl >= 8.3 Line 100  Requires: tcl >= 8.3
100  Requires: tk >= 8.3  Requires: tk >= 8.3
101  Requires: tktable < 2.10, tktable >= 2.8  Requires: tktable < 2.10, tktable >= 2.8
102    
103    # ... file association
104    Requires(post): desktop-file-utils shared-mime-info
105    Requires(postun): desktop-file-utils shared-mime-info
106    
107    
108  #------------------------------------------  #------------------------------------------
109    
110  Provides: ascend-gui  Provides: ascend-gui
# Line 160  scons %{_smp_mflags} DEFAULT_ASCENDLIBRA Line 164  scons %{_smp_mflags} DEFAULT_ASCENDLIBRA
164      WITH_SOLVERS=QRSLV,LSODE,CMSLV,IDA,LRSLV,CONOPT \      WITH_SOLVERS=QRSLV,LSODE,CMSLV,IDA,LRSLV,CONOPT \
165      ABSOLUTE_PATHS=1 \      ABSOLUTE_PATHS=1 \
166      %{?__cc:CC="%__cc"} %{?__cxx:CXX="%__cxx"} \      %{?__cc:CC="%__cc"} %{?__cxx:CXX="%__cxx"} \
167      pygtk tcltk models      pygtk tcltk models solvers
168    
169  %install  %install
170  rm -rf %{buildroot}  rm -rf %{buildroot}
# Line 176  popd Line 180  popd
180    
181  # file-type icon for ascend models (double click should open in ASCEND)  # file-type icon for ascend models (double click should open in ASCEND)
182  pushd pygtk/glade  pushd pygtk/glade
183  install -m 644 -D ascend.svg %{buildroot}/%{_datadir}/icons/text-x-ascend-model.svg  install -m 644 -D ascend-doc-48x48.svg %{buildroot}/%{_datadir}/icons/text-x-ascend-model.svg
184  popd  popd
185    
186  pushd tools/gedit  pushd tools/gedit
# Line 249  update-mime-database /usr/share/mime &> Line 253  update-mime-database /usr/share/mime &>
253  %doc doc/book.pdf  %doc doc/book.pdf
254    
255  %changelog  %changelog
256  * Mon Apr 23 2007 John Pye <john.pye@anu.edu.au> 0.9.5.112  * Sun Aug 19 2007 John Pye <john.pye@anu.edu.au> 0.9.5.113
257    - External libraries renamed to 'lib<name>_ascend.so' for clarity
258      and to solve a Windows-based naming problem.
259    - Links in Help menu fixed (problem with call to Python webbrowser component).
260    - License re-tagged according to Fedora requirements.
261    
262    * Sun Jul 25 2007 John Pye <john.pye@anu.edu.au> 0.9.5.112
263  - solvers are now all built as separate shared libraries  - solvers are now all built as separate shared libraries
264    - mime-type icon added
265    - RPM now builds on Fedora 5,6,7 and SUSE 10.0 and newer. Not Mandriva though.
266    
267  * Mon Apr 23 2007 John Pye <john.pye@student.unsw.edu.au> 0.9.5.108  * Mon Apr 23 2007 John Pye <john.pye@student.unsw.edu.au> 0.9.5.108
268  - File ascend.lang has moved.  - File ascend.lang has moved.

Legend:
Removed from v.1525  
changed lines
  Added in v.1608

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