|
@@ -1,24 +1,20 @@
|
|
Name: wxMaxima
|
|
Name: wxMaxima
|
|
-Version: 14.12.1
|
|
+Version: 18.02.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
License: GPL
|
|
License: GPL
|
|
Group: Applications/Engineering
|
|
Group: Applications/Engineering
|
|
URL: http://wxmaxima.sourceforge.net/
|
|
URL: http://wxmaxima.sourceforge.net/
|
|
|
|
|
|
-Source0: wxmaxima-%{version}.tar.gz
|
|
+Source0: wxmaxima-Version-%{version}.tar.gz
|
|
-Patch0: fix_desktop.patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
-BuildRequires: libxml2-devel, wxGTK-devel, desktop-file-utils
|
|
|
|
-%if %{?_dist_release} == "vl6"
|
|
|
|
-BuildRequires: wx-gtk2-devel >= 2.8.4
|
|
|
|
-%endif
|
|
|
|
-%if %{?_dist_release} >= "vl7"
|
|
|
|
-BuildRequires: wxGTK-devel >= 2.8.4
|
|
|
|
-%endif
|
|
|
|
|
|
|
|
-Requires: maxima >= 5.11
|
|
+BuildRequires: cmake
|
|
|
|
+BuildRequires: libxml2-devel, desktop-file-utils
|
|
|
|
+BuildRequires: wxGTK3-devel
|
|
|
|
+
|
|
|
|
+Requires: maxima
|
|
|
|
|
|
|
|
|
|
Summary: Graphical user interface for Maxima
|
|
Summary: Graphical user interface for Maxima
|
|
@@ -44,28 +40,24 @@ wxMaxima features include:
|
|
features. Documents can be saved and edited again later.
|
|
features. Documents can be saved and edited again later.
|
|
|
|
|
|
%prep
|
|
%prep
|
|
-%setup -q -n wxmaxima-%{version}
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
-%patch0 -p1
|
|
+%setup -q -n wxmaxima-Version-%{version}
|
|
|
|
|
|
%build
|
|
%build
|
|
-%{configure} --enable-printing
|
|
+%{__cmake} -DCMAKE_INSTALL_PREFIX=%{_prefix} .
|
|
%{__make} %{?_smp_mflags}
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
|
|
%install
|
|
%install
|
|
-%{__rm} -rf %{buildroot}
|
|
+%{make_install}
|
|
-%{makeinstall}
|
|
|
|
-
|
|
|
|
-desktop-file-install --vendor="" \
|
|
|
|
- --dir %{buildroot}%{_datadir}/applications \
|
|
|
|
- --add-category="Development" \
|
|
|
|
- --add-category="Math" \
|
|
|
|
- --remove-category="Utility" \
|
|
|
|
- wxmaxima.desktop
|
|
|
|
|
|
|
|
-%find_lang %{name}
|
|
+# move HTML document
|
|
|
|
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/html
|
|
|
|
+%{__mv} ${RPM_BUILD_ROOT}%{_docdir}/wxmaxima/* \
|
|
|
|
+ ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/html
|
|
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}%{_docdir}/wxmaxima
|
|
|
|
|
|
%clean
|
|
%clean
|
|
-%{__rm} -rf %{buildroot}
|
|
+%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%post
|
|
%post
|
|
update-desktop-database -q &> /dev/null
|
|
update-desktop-database -q &> /dev/null
|
|
@@ -74,14 +66,27 @@ update-desktop-database -q &> /dev/null
|
|
update-desktop-database -q &> /dev/null
|
|
update-desktop-database -q &> /dev/null
|
|
|
|
|
|
|
|
|
|
-%files -f %{name}.lang
|
|
+%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
-%doc AUTHORS COPYING ChangeLog README
|
|
+%doc AUTHORS ChangeLog COPYING README.md
|
|
%{_bindir}/*
|
|
%{_bindir}/*
|
|
-%{_datadir}/%{name}/*
|
|
+%{_datadir}/applications/wxMaxima.desktop
|
|
-%{_datadir}/applications/wxmaxima.desktop
|
|
+%{_datadir}/bash-completion/
|
|
|
|
+%{_datadir}/locale/
|
|
|
|
+%{_datadir}/metainfo/
|
|
|
|
+%{_datadir}/mime/
|
|
|
|
+%{_datadir}/pixmaps/
|
|
|
|
+%{_datadir}/wxMaxima/
|
|
|
|
+%{_mandir}/man1/wxmaxima.1.gz
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jun 09 2018 Toshiaki Ara <ara_t@384.jp> - 18.02.0-1
|
|
|
|
+- update to 18.02.0 for VineSeed
|
|
|
|
+- drop Patch0 (fix_desktop.patch)
|
|
|
|
+- add BuildRequires: cmake
|
|
|
|
+- change BuildRequires: wxGTK3-devel
|
|
|
|
+
|
|
* Sat Nov 05 2016 Toshiaki Ara <ara_t@384.jp> - 14.12.1-1
|
|
* Sat Nov 05 2016 Toshiaki Ara <ara_t@384.jp> - 14.12.1-1
|
|
- update to 14.12.1
|
|
- update to 14.12.1
|
|
- delete configure option "--enable-dnd"
|
|
- delete configure option "--enable-dnd"
|