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

Diff of /trunk/ascend.spec

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

revision 2651 by jpye, Thu Dec 13 07:12:04 2012 UTC revision 2652 by jpye, Thu Dec 13 09:03:18 2012 UTC
# Line 23  BuildRequires: swig >= 1.3.24 Line 23  BuildRequires: swig >= 1.3.24
23  BuildRequires: gcc-gfortran gcc-c++ >= 4  BuildRequires: gcc-gfortran gcc-c++ >= 4
24  BuildRequires: blas-devel  BuildRequires: blas-devel
25  BuildRequires: sundials-devel >= 2.4.0  BuildRequires: sundials-devel >= 2.4.0
26    BuildRequires: ipopt >= 3.10
27  BuildRequires: python-devel >= 2.4  BuildRequires: python-devel >= 2.4
28  BuildRequires: tk-devel, tk, tcl-devel, tcl, tktable  BuildRequires: tk-devel, tk, tcl-devel, tcl, tktable
29  BuildRequires: graphviz-devel  BuildRequires: graphviz-devel
# Line 53  Requires(postun): desktop-file-utils sha Line 54  Requires(postun): desktop-file-utils sha
54  # syntax highlighting for gedit  # syntax highlighting for gedit
55  Requires: gtksourceview3  Requires: gtksourceview3
56    
 #------------------------------------------  
   
 Provides: ascend-gui  
   
57  %define pyver %(python -c 'import sys ; print sys.version[:3]')  %define pyver %(python -c 'import sys ; print sys.version[:3]')
58  %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=0)")}  %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(plat_specific=0)")}
59  %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(pat_specific=1)")}  %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(pat_specific=1)")}
60  %define gtksourceview_lang_file %{_datadir}/gtksourceview-3.0/language-specs/ascend.lang  %define gtksourceview_lang_file %{_datadir}/gtksourceview-3.0/language-specs/ascend.lang
61    
62  %{?filter_setup:  %{?filter_setup:
63  %filter_provides_in %{_libdir}/purple-2/.*\.so$  %filter_provides_in %{_libdir}/ascend/models/.*\.so$
64    %filter_provides_in %{_libdir}/ascend/solvers/.*\.so$
65  %filter_setup  %filter_setup
66  }  }
67    
# Line 139  scons %{_smp_mflags} \ Line 137  scons %{_smp_mflags} \
137      DEBUG=1 \      DEBUG=1 \
138      WITH_DOC_BUILD=0 \      WITH_DOC_BUILD=0 \
139      WITH_DOC_INSTALL=0 \      WITH_DOC_INSTALL=0 \
140      WITH_SOLVERS=QRSLV,LSODE,CMSLV,IDA,LRSLV,CONOPT \      WITH_SOLVERS=QRSLV,LSODE,CMSLV,IDA,LRSLV,CONOPT,DOPRI5,IPOPT \
141      ABSOLUTE_PATHS=1 \      ABSOLUTE_PATHS=1 \
142      %{?__cc:CC="%__cc"} %{?__cxx:CXX="%__cxx"} \      %{?__cc:CC="%__cc"} %{?__cxx:CXX="%__cxx"} \
143      ascend ascxx pygtk tcltk models solvers      ascend ascxx pygtk tcltk models solvers
# Line 173  install -m 644 -D ascend4.png %{buildroo Line 171  install -m 644 -D ascend4.png %{buildroo
171  install -m 644 -D ascend4.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend4.png  install -m 644 -D ascend4.png %{buildroot}/%{_datadir}/icons/hicolor/64x64/ascend4.png
172  popd  popd
173    
174  /usr/lib/rpm/redhat/brp-strip-shared /usr/bin/strip  #/usr/lib/rpm/redhat/brp-strip-shared /usr/bin/strip
175    
176  %clean  %clean
177  rm -rf %{buildroot}  rm -rf %{buildroot}

Legend:
Removed from v.2651  
changed lines
  Added in v.2652

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