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

Diff of /trunk/ascend.spec.in

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

revision 548 by johnpye, Fri Apr 28 09:58:38 2006 UTC revision 564 by johnpye, Fri May 5 00:53:40 2006 UTC
# Line 1  Line 1 
   
1  Name:       ascend  Name:       ascend
2  Summary:    ASCEND Modelling Environment  Summary:    ASCEND modelling environment - shared library and model files.
3  Version:    @VERSION@  Version:    @VERSION@
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/Graphics  Group:      Applications/Engineering
10  Source:     %{name}-%{version}.tar.bz2  Source:     %{name}-%{version}.tar.bz2
11  URL:        http://inkscape.sourceforge.net/  URL:        http://inkscape.sourceforge.net/
12    
# Line 21  BuildRequires: scons >= 0.96.1 Line 20  BuildRequires: scons >= 0.96.1
20  BuildRequires: bison, flex  BuildRequires: bison, flex
21  BuildRequires: swig >= 1.3.24  BuildRequires: swig >= 1.3.24
22  BuildRequires: desktop-file-utils  BuildRequires: desktop-file-utils
23    BuildRequires: tk-devel < 8.5
24  Requires(post):   desktop-file-utils  BuildRequires: tcl-devel < 8.5
25  Requires(postun): desktop-file-utils  BuildRequires: tktable < 2.10, tktable >= 2.8
26    BuildRequires: ccache
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 40  Engineers, great care has been exercised Line 40  Engineers, great care has been exercised
40  domain independent. ASCEND can support modeling activities in  domain independent. ASCEND can support modeling activities in
41  fields from Architecture to (computational) Zoology.  fields from Architecture to (computational) Zoology.
42    
43    #%package -n ascend-python
44    #Version:    @VERSION@
45    #Summary:    PyGTK user interface for ASCEND
46    #Group:     Applications/Engineering
47    #
48    #%description -n ascend-python
49    #PyGTK user interface for ASCEND. This is a new interface that follows GNOME
50    #human interface guidelines as closely as possible. It does not as yet provide
51    #access to all of the ASCEND functionality provided by the Tcl/Tk interface.
52    #
53    #%package -n ascend-tcltk
54    #Version:    @VERSION@
55    #Summary:    Tcl/Tk user interface for ASCEND
56    #Group:     Applications/Engineering
57    #
58    #%description -n ascend-tcltk
59    #Tcl/Tk user interface for ASCEND. This is the original ASCEND IV interface
60    #and is a more complete and mature interface than the alternative PyGTK
61    #interface. Use this interface if you need to use ASCEND *.a4s files or other
62    #functionality not provided by the PyGTK interface.
63    
64  %prep  %prep
65  %setup -n ascend -q  %setup -q
66    
67  %build  %build
68  scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models  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 DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models INSTALL_ROOT=%{buildroot} INSTALL_PREFIX=%{_prefix} INSTALL_DATA=%{_datadir} INSTALL_BIN=%{_bindir} INSTALL_INCLUDE=%{_incdir} 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 71  update-mime-database /usr/share/mime Line 92  update-mime-database /usr/share/mime
92    
93  %files  %files
94  %defattr(-, root, root)  %defattr(-, root, root)
95  %doc INSTALL tcltk98/release_notes/license.txt  %doc INSTALL.txt LICENSE.txt
 %{_bindir}/ascend  
96  %{_datadir}/applications/ascend.desktop  %{_datadir}/applications/ascend.desktop
97  %{_datadir}/ascend/*  %{_datadir}/ascend/models
98    %{_libdir}/libascend.so
99    
100    # %package -n ascend-python
101    %{_bindir}/ascend
102  %{_datadir}/gtksourceview-1.0/language-specs/ascend.lang  %{_datadir}/gtksourceview-1.0/language-specs/ascend.lang
103  %{_datadir}/icons/ascend-app.png  %{_datadir}/icons/ascend-app.png
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
107    %{_datadir}/ascend/*.pyc
108    %{_datadir}/ascend/*.pyo
109    %{_datadir}/ascend/glade
110    %{_datadir}/ascend/_ascpy.so
111    
112    # %package -n ascend-tcltk
113    %{_bindir}/ascend4
114    %{_datadir}/ascend/tcltk
115    %{_libdir}/libascendtcl.so
116    
117  %changelog  %changelog
118    * Tue May 02 2006 John Pye <john.pye@student.unsw.edu.au>
119    - Break out ascend-core, ascend-python and ascend-tcltk packages.
120    
121  * Mon Apr 24 2006 John Pye <john.pye@student.unsw.edu.au>  * Mon Apr 24 2006 John Pye <john.pye@student.unsw.edu.au>
122  - Modified for removed dir in pygtk source hierachy  - Modified for removed dir in pygtk source hierachy
123    

Legend:
Removed from v.548  
changed lines
  Added in v.564

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