source: projects/specs/trunk/w/wxMaxima/wxMaxima-vl.spec @ 6533

Revision 6533, 2.5 KB checked in by kudoh, 12 years ago (diff)

wxMaxima-vl.spec

Line 
1Name: wxMaxima
2Version: 12.04.0
3Release: 1%{?_dist_release}
4License: GPL
5Group: Applications/Engineering
6URL: http://wxmaxima.sourceforge.net/
7Source0: %{name}-%{version}.tar.gz
8Patch0: fix_desktop.patch
9
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11Requires: maxima >= 5.11
12BuildRequires: libxml2-devel, wxGTK-devel, desktop-file-utils
13
14Summary: Graphical user interface for Maxima
15Summary(ja): Maxima のグラフィカルユーザインタフェース
16
17%description
18wxMaxima is a cross platform GUI for the computer algebra system
19maxima based on wxWidgets.
20
21wxMaxima features include:
22 * 2D formatted math display: wxMaxima implements its own math display
23   engine to nicely display maxima output.
24 * Menu system: most maxima commands are available through menus. Most
25   used functions are also available through a button panel at below
26   the input line.
27 * Dialogs: commands which require more that one argument can be
28   entered through dialogs so that there is no need to remember the
29   exact syntax.
30 * Command line history: the input line has command history and
31   command completion based on previous input.
32 * Create documents: text can be mixed with math calculations to
33   create documents. See the howto for tips on how to use these
34   features. Documents can be saved and edited again later.
35
36%prep
37%setup -q
38%patch0 -p1
39
40%build
41%configure --enable-dnd --enable-printing
42make
43
44%install
45rm -rf %{buildroot}
46make install DESTDIR=%{buildroot}
47
48desktop-file-install --vendor="" \
49        --dir %{buildroot}%{_datadir}/applications \
50        --add-category="Development" \
51        --add-category="Math" \
52        --remove-category="Utility" \
53        wxmaxima.desktop
54
55%find_lang %{name}
56
57%clean
58rm -rf %{buildroot}
59
60%post
61update-desktop-database -q &> /dev/null
62
63%postun
64update-desktop-database -q &> /dev/null
65
66%files -f %{name}.lang
67%defattr(-,root,root,-)
68%doc AUTHORS COPYING ChangeLog README
69%{_bindir}/*
70%{_datadir}/%{name}/*
71%{_datadir}/applications/wxmaxima.desktop
72
73%changelog
74* Sun Jul 08 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 12.04.0-1
75- new usptream release
76- added Summary(ja)
77- added BuildRequires: desktop-file-utils
78- changed BuildRequires: wx-gtk2-devel to wxGTK-devel
79- run desktop-file-utils
80- run update-desktop-database
81
82* Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.2-1vl5
83- applied new versioning policy, spec in utf-8
84
85* Sun Dec 30 2007 Shu KONNO <owa@bg.wakwak.com> 1.2-0vl4
86- rebuilt with wx-gtk2-2.8.7
87
88* Thu May  3 2007 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> - 0.7.2-0vl1
89- Initial build.
90
Note: See TracBrowser for help on using the repository browser.