|
|
d6f10a3 |
|
|
|
9321e96 |
# Fedora review: http://bugzilla.redhat.com/204832
|
|
|
26992e0 |
|
|
|
d6f10a3 |
Summary: Graphical user interface for Maxima
|
|
|
d6f10a3 |
Name: wxMaxima
|
|
|
5eff3e9 |
Version: 0.7.6
|
|
|
d292b76 |
Release: 3%{?dist}
|
|
|
59aef8a |
|
|
|
59aef8a |
License: GPLv2+
|
|
|
d6f10a3 |
Group: Applications/Engineering
|
|
|
d6f10a3 |
URL: http://wxmaxima.sourceforge.net/
|
|
|
b93ee61 |
Source0: http://downloads.sourceforge.net/sourceforge/wxmaxima/wxMaxima-%{version}.tar.gz
|
|
|
d6f10a3 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
d6f10a3 |
|
|
|
9321e96 |
# Deployable only where maxima exsists.
|
|
|
8324479 |
%if 0%{?fedora} > 8
|
|
|
5017312 |
# reinclude ppc when fixed: http://bugzilla.redhat.com/448734
|
|
|
d292b76 |
ExclusiveArch: %{ix86} x86_64 sparcv9
|
|
|
8324479 |
%else
|
|
|
d292b76 |
ExclusiveArch: %{ix86} x86_64 ppc sparcv9
|
|
|
8324479 |
%endif
|
|
|
44fcc6e |
|
|
|
44fcc6e |
Provides: wxmaxima = %{version}-%{release}
|
|
|
44fcc6e |
|
|
|
b93ee61 |
Requires: maxima >= 5.13
|
|
|
9321e96 |
|
|
|
d6f10a3 |
BuildRequires: desktop-file-utils
|
|
|
d6f10a3 |
BuildRequires: wxGTK-devel
|
|
|
d6f10a3 |
BuildRequires: libxml2-devel
|
|
|
d6f10a3 |
BuildRequires: ImageMagick
|
|
|
d6f10a3 |
BuildRequires: sed
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%description
|
|
|
26992e0 |
A Graphical user interface for the computer algebra system
|
|
|
d6f10a3 |
Maxima using wxWidgets.
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%prep
|
|
|
d6f10a3 |
%setup -q
|
|
|
d6f10a3 |
|
|
|
235026c |
## wxmaxima.desktop fixups
|
|
|
235026c |
# do (some) Categories munging here, some versions of desktop-file-install
|
|
|
235026c |
# (*cough rhel4*) truncate Categories if --remove-category'd items is a
|
|
|
235026c |
# substr of another (ie, X-Red-Hat-Base X-Red-Hat-Base-Only)
|
|
|
235026c |
sed -i \
|
|
|
235026c |
-e "s|^Categories=.*|Categories=Utility;|" \
|
|
|
235026c |
-e "s|^Icon=.*|Icon=wxmaxima|" \
|
|
|
235026c |
-e "s|^Terminal=0|Terminal=false|" \
|
|
|
235026c |
wxmaxima.desktop
|
|
|
d6f10a3 |
|
|
|
a996a7f |
# app icon
|
|
|
a996a7f |
convert -resize 48x48 wxmaxima.png wxmaxima-48x48.png
|
|
|
a996a7f |
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%build
|
|
|
d6f10a3 |
%configure \
|
|
|
d6f10a3 |
--enable-dnd \
|
|
|
d6f10a3 |
--enable-printing
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
make %{?_smp_mflags}
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%install
|
|
|
a996a7f |
rm -rf %{buildroot}
|
|
|
d6f10a3 |
|
|
|
a996a7f |
make install DESTDIR=%{buildroot}
|
|
|
d6f10a3 |
|
|
|
ad6ee9e |
desktop-file-install --vendor="" \
|
|
|
a996a7f |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
ad6ee9e |
--add-category="Development" \
|
|
|
d6f10a3 |
--add-category="Math" \
|
|
|
235026c |
--remove-category="Utility" \
|
|
|
d6f10a3 |
wxmaxima.desktop
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
# app icon
|
|
|
a996a7f |
install -p -D -m644 wxmaxima.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/wxmaxima.png
|
|
|
a996a7f |
install -p -D -m644 wxmaxima-48x48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/wxmaxima.png
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
# Unpackaged files
|
|
|
a996a7f |
rm -f %{buildroot}%{_datadir}/wxMaxima/{COPYING,README}
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%find_lang wxMaxima
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%clean
|
|
|
a996a7f |
rm -rf %{buildroot}
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%post
|
|
|
59aef8a |
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
59aef8a |
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%postun
|
|
|
59aef8a |
touch --no-create %{_datadir}/icons/hicolor ||:
|
|
|
59aef8a |
gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%files -f wxMaxima.lang
|
|
|
d6f10a3 |
%defattr(-,root,root,-)
|
|
|
d6f10a3 |
%doc AUTHORS COPYING README
|
|
|
d6f10a3 |
# 0-length docs
|
|
|
d6f10a3 |
#doc ChangeLog NEWS
|
|
|
d6f10a3 |
%{_bindir}/wxmaxima
|
|
|
d6f10a3 |
%{_datadir}/wxMaxima/
|
|
|
a996a7f |
%{_datadir}/icons/hicolor/*/*/*
|
|
|
d6f10a3 |
%{_datadir}/applications/*.desktop
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
%changelog
|
|
|
d292b76 |
* Fri Feb 27 2009 Rex Dieter <rdieter@fedoraproject.org> - 0.7.6-3
|
|
|
d292b76 |
- ExclusiveArch: s/i386/%%ix86/
|
|
|
d292b76 |
|
|
|
fe90f6d |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.6-2
|
|
|
fe90f6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fe90f6d |
|
|
|
5eff3e9 |
* Wed Nov 05 2008 Rex Dieter <rdieter@fedoraproject.org> 0.7.6-1
|
|
|
5eff3e9 |
- wxMaxima-0.7.6
|
|
|
5eff3e9 |
|
|
|
a82e724 |
* Thu Oct 02 2008 Dennis Gilmore <dennis@ausil.us> 0.7.5-2
|
|
|
a82e724 |
- build sparcv9
|
|
|
a82e724 |
|
|
|
5017312 |
* Tue Jun 10 2008 Rex Dieter <rdieter@fedoraproject.org> 0.7.5-1
|
|
|
5017312 |
- wxMaxima-0.7.5
|
|
|
a82e724 |
- exclude ppc, f9+ (#448734)
|
|
|
5017312 |
|
|
|
6ca78db |
* Mon Feb 11 2008 Rex Dieter <rdieter@fedoraproject.org> 0.7.4-3
|
|
|
6ca78db |
- respin (gcc43)
|
|
|
6ca78db |
|
|
|
a996a7f |
* Tue Dec 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.4-2
|
|
|
a996a7f |
- fix app icon handling/packaging
|
|
|
a996a7f |
|
|
|
44fcc6e |
* Fri Dec 07 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.4-1
|
|
|
44fcc6e |
- wxMaxima-0.7.4
|
|
|
44fcc6e |
|
|
|
b93ee61 |
* Fri Nov 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.3a-1
|
|
|
b93ee61 |
- wxMaxima-0.7.3a
|
|
|
b93ee61 |
|
|
|
b93ee61 |
* Fri Oct 17 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.3-4.1
|
|
|
b93ee61 |
- inline plotting of wxMaxima doesn't work in f7 (#339161)
|
|
|
b93ee61 |
|
|
|
ad6ee9e |
* Fri Sep 14 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.3-4
|
|
|
ad6ee9e |
- wxmaxima.desktop: Categories=Development,Math
|
|
|
ad6ee9e |
|
|
|
59aef8a |
* Sat Aug 11 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.3-3
|
|
|
59aef8a |
- License: GPLv2+
|
|
|
59aef8a |
- revert to classic icon scriptlets
|
|
|
59aef8a |
- respin (BuildID)
|
|
|
59aef8a |
|
|
|
9321e96 |
* Mon Jun 04 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.2-2
|
|
|
9321e96 |
- +ExcludeArch, deployable only where maxima exists
|
|
|
9321e96 |
|
|
|
c025c64 |
* Mon Apr 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.2-1
|
|
|
c025c64 |
- wxMaxima-0.7.2
|
|
|
c025c64 |
|
|
|
93c5ea1 |
* Mon Apr 09 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.1-3
|
|
|
93c5ea1 |
- wxMaxima-0.7.1-old_gnuplot.patch (#235155)
|
|
|
93c5ea1 |
|
|
|
873b3db |
* Fri Feb 23 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.1-2
|
|
|
341c842 |
- wxMaxima-0.7.1
|
|
|
873b3db |
- drop upstreamed patches
|
|
|
341c842 |
|
|
|
4816acf |
* Mon Dec 18 2006 Rex Dieter <rdieter[AT]fedoraproject.org> 0.7.0a-5
|
|
|
4816acf |
- use xdg-utils in scriptlets
|
|
|
4816acf |
|
|
|
235026c |
* Wed Nov 22 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0a-4
|
|
|
235026c |
- --remove-category=Science;Utility (#215748)
|
|
|
235026c |
|
|
|
26992e0 |
* Mon Oct 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0a-3
|
|
|
26992e0 |
- (re)fix typo in %%description
|
|
|
26992e0 |
|
|
|
69d62c8 |
* Mon Oct 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0a-2
|
|
|
69d62c8 |
- patch for proper maxima= entry in ~/.wxMaxima (#209992)
|
|
|
7504929 |
|
|
|
63c2c3d |
* Mon Sep 25 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0a-1
|
|
|
63c2c3d |
- 0.7.0a
|
|
|
26992e0 |
- Requires: maxima >= 5.10
|
|
|
26992e0 |
|
|
|
26992e0 |
* Thu Sep 07 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0-3
|
|
|
26992e0 |
- fix %%description typo
|
|
|
6f89b0b |
|
|
|
d6f10a3 |
* Tue Sep 05 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0-2
|
|
|
d6f10a3 |
- update %%description, %%summary
|
|
|
d6f10a3 |
- rename icon -> wxmaxima.png
|
|
|
d6f10a3 |
- omit extraneous COPYING, README
|
|
|
d6f10a3 |
- .desktop: remove X-Red-Hat* categories
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
* Thu Aug 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.7.0-1
|
|
|
d6f10a3 |
- 0.7.0
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
* Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.6.5-1
|
|
|
d6f10a3 |
- use dfi --add-categories="Math;Science;Education"
|
|
|
d6f10a3 |
- follow fdo icon spec
|
|
|
d6f10a3 |
- ./configure --enable-dnd --enable-printing
|
|
|
d6f10a3 |
- Requires: maxima
|
|
|
d6f10a3 |
- 0.6.5
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
* Wed Dec 15 2004 Andrej Vodopivec <andrejv@users.sourceforge.net>
|
|
|
d6f10a3 |
- Added french translation files.
|
|
|
d6f10a3 |
|
|
|
d6f10a3 |
* Wed Aug 25 2004 Andrej Vodopivec <andrejv@users.sourceforge.net>
|
|
|
d6f10a3 |
- Initial spec file.
|