44 |
%setup -n ascend -q |
%setup -n ascend -q |
45 |
|
|
46 |
%build |
%build |
47 |
scons %{?_smp_mflags} DEFAULT_ASCENDLIBRARY=%{_datadir}/ascend/models |
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 |
48 |
|
|
49 |
%install |
%install |
50 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
51 |
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} 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 |
52 |
|
|
53 |
pushd pygtk/gnome |
pushd pygtk/gnome |
54 |
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
install -o root -g root -m 644 -D ascend.desktop %{buildroot}/%{_datadir}/applications/ascend.desktop |
72 |
%files |
%files |
73 |
%defattr(-, root, root) |
%defattr(-, root, root) |
74 |
%doc INSTALL tcltk98/release_notes/license.txt |
%doc INSTALL tcltk98/release_notes/license.txt |
|
%{_bindir}/ascend |
|
75 |
%{_datadir}/applications/ascend.desktop |
%{_datadir}/applications/ascend.desktop |
76 |
%{_datadir}/ascend/* |
%{_datadir}/models |
77 |
|
%{_libdir}/libascend.so |
78 |
|
|
79 |
|
%package python |
80 |
|
%{_bindir}/ascend |
81 |
%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang |
%{_datadir}/gtksourceview-1.0/language-specs/ascend.lang |
82 |
%{_datadir}/icons/ascend-app.png |
%{_datadir}/icons/ascend-app.png |
83 |
%{_datadir}/icons/hicolor/64x64/ascend.png |
%{_datadir}/icons/hicolor/64x64/ascend.png |
84 |
%{_datadir}/mime/packages/ascend.xml |
%{_datadir}/mime/packages/ascend.xml |
85 |
|
%{_datadir}/ascend/python |
86 |
|
|
87 |
|
%package tcltk |
88 |
|
%{_bindir}/ascend4 |
89 |
|
%{_datadir}/ascend/tcltk |
90 |
|
%{_libdir}/libascendtcl.so |
91 |
|
|
92 |
%changelog |
%changelog |
93 |
|
* Tue May 02 2006 John Pye <john.pye@student.unsw.edu.au> |
94 |
|
- Break out ascend-core, ascend-python and ascend-tcltk packages. |
95 |
|
|
96 |
* Mon Apr 24 2006 John Pye <john.pye@student.unsw.edu.au> |
* Mon Apr 24 2006 John Pye <john.pye@student.unsw.edu.au> |
97 |
- Modified for removed dir in pygtk source hierachy |
- Modified for removed dir in pygtk source hierachy |
98 |
|
|