|
@@ -1,5 +1,5 @@
|
|
Name: kdeedu
|
|
Name: kdeedu
|
|
-Version: 4.3.3
|
|
+Version: 4.4.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: Educational/Edutainment applications for KDE
|
|
Summary: Educational/Edutainment applications for KDE
|
|
Summary(ja): KDE 向け教育・教養アプリケーション集
|
|
Summary(ja): KDE 向け教育・教養アプリケーション集
|
|
@@ -9,32 +9,36 @@ Group: Applications/Edutainment
|
|
URL: http://www.kde.org/
|
|
URL: http://www.kde.org/
|
|
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
|
|
Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
-Patch1: kdeedu-4.2.0-indi_nodrivers.patch
|
|
+## upstreamable patches
|
|
|
|
+Patch51: kdeedu-4.3.90-cantor_part_desktop_fix.patch
|
|
## upstream patches
|
|
## upstream patches
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: attica-devel
|
|
# Kig can optionally use Boost.Python for Python scripting
|
|
# Kig can optionally use Boost.Python for Python scripting
|
|
BuildRequires: libboost-devel libboost-python
|
|
BuildRequires: libboost-devel libboost-python
|
|
# CFITSIO Library is needed by KStars for many INDI drivers & for KStars FITS Viewer.
|
|
# CFITSIO Library is needed by KStars for many INDI drivers & for KStars FITS Viewer.
|
|
BuildRequires: cfitsio-devel
|
|
BuildRequires: cfitsio-devel
|
|
-BuildRequires: desktop-file-utils
|
|
+BuildRequires: xplanet
|
|
|
|
+BuildRequires: libindi-devel
|
|
|
|
+BuildRequires: libnova-devel
|
|
|
|
+BuildRequires: libqalculate-devel
|
|
|
|
+BuildRequires: openbabel-devel >= 2.2.0-0.4.b5
|
|
BuildRequires: eigen2-devel >= 2.0.3
|
|
BuildRequires: eigen2-devel >= 2.0.3
|
|
BuildRequires: gpsd-devel
|
|
BuildRequires: gpsd-devel
|
|
|
|
+BuildRequires: desktop-file-utils
|
|
BuildRequires: gsl-devel
|
|
BuildRequires: gsl-devel
|
|
BuildRequires: kdelibs4-devel >= %{version}
|
|
BuildRequires: kdelibs4-devel >= %{version}
|
|
BuildRequires: plasma-devel >= %{version}
|
|
BuildRequires: plasma-devel >= %{version}
|
|
-BuildRequires: libindi-devel
|
|
+BuildRequires: libspectre-devel
|
|
-BuildRequires: libnova-devel
|
|
|
|
-BuildRequires: libqalculate-devel
|
|
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libusb-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: libxslt-devel
|
|
BuildRequires: ocaml
|
|
BuildRequires: ocaml
|
|
BuildRequires: facile
|
|
BuildRequires: facile
|
|
-BuildRequires: openbabel-devel >= 2.2.0-0.4.b5
|
|
|
|
BuildRequires: python-devel python
|
|
BuildRequires: python-devel python
|
|
BuildRequires: readline-devel
|
|
BuildRequires: readline-devel
|
|
-BuildRequires: xplanet
|
|
+#BuildRequires: R-devel
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
@@ -120,18 +124,37 @@ Group: Applications/Edutainment
|
|
Obsoletes: kalgebra < 0.7-7
|
|
Obsoletes: kalgebra < 0.7-7
|
|
Provides: kalgebra = 0.7-7
|
|
Provides: kalgebra = 0.7-7
|
|
Provides: kdeedu4-math = %{version}-%{release}
|
|
Provides: kdeedu4-math = %{version}-%{release}
|
|
|
|
+Requires: %{name}-math-libs = %{version}-%{release}
|
|
|
|
|
|
%description math
|
|
%description math
|
|
Educational/Edutainment Math applications:
|
|
Educational/Edutainment Math applications:
|
|
|
|
+* cantor: Frontend for math applications
|
|
* kalgebra: MathML-based graph calculator
|
|
* kalgebra: MathML-based graph calculator
|
|
* kbruch: Exercise Fractions and Percentages
|
|
* kbruch: Exercise Fractions and Percentages
|
|
* kig: Interactive Geometry
|
|
* kig: Interactive Geometry
|
|
* kmplot: Mathematical Function Plotter
|
|
* kmplot: Mathematical Function Plotter
|
|
|
|
+* rocs: Graph Theory IDE
|
|
|
|
+
|
|
|
|
+%package math-cantor-R
|
|
|
|
+Summary: R backend for Cantor
|
|
|
|
+Group: Applications/Edutainment
|
|
|
|
+Requires: %{name}-math%{?_isa} = %{version}-%{release}
|
|
|
|
+
|
|
|
|
+%description math-cantor-R
|
|
|
|
+%{summary}, which is part of kdeedu-math.
|
|
|
|
+
|
|
|
|
+%package math-libs
|
|
|
|
+Summary: Runtime libraries for %{name}-math
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+
|
|
|
|
+%description math-libs
|
|
|
|
+%{summary}.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-#patch0 -p1
|
|
+%patch51 -p1 -b .cantor_part_desktop_fix.patch
|
|
-%patch1 -p1 -b .indi_nodrivers
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
mkdir -p %{_target_platform}
|
|
mkdir -p %{_target_platform}
|
|
@@ -155,7 +178,7 @@ make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
|
|
|
|
|
|
# #unpackaged files
|
|
# #unpackaged files
|
|
# omit stuff for which there isn't a clear public API
|
|
# omit stuff for which there isn't a clear public API
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib{SatLib,analitza,avogadro-kalzium,compoundviewer,htmesh,sbigudrv}.{a,so}
|
|
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib{SatLib,analitza,analitzagui,avogadro-kalzium,cantorlibs,compoundviewer,htmesh,sbigudrv}.{a,so}
|
|
# oxygen-icon-theme conflict
|
|
# oxygen-icon-theme conflict
|
|
rm -fv $RPM_BUILD_ROOT%{_datadir}/icons/oxygen/22x22/actions/pointer.png
|
|
rm -fv $RPM_BUILD_ROOT%{_datadir}/icons/oxygen/22x22/actions/pointer.png
|
|
|
|
|
|
@@ -165,6 +188,8 @@ rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/khangman/fonts/Dustismo_Roman.ttf
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/khangman/fonts/Domestic_Manners.ttf
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/khangman/fonts/Domestic_Manners.ttf
|
|
# omit steve font
|
|
# omit steve font
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/blinken/fonts/steve.ttf
|
|
rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/blinken/fonts/steve.ttf
|
|
|
|
+# omit copies of python-(mwclient,simplejson)
|
|
|
|
+rm -rf $RPM_BUILD_ROOT%{_datadir}/kde4/apps/parley/plugins/mwclient
|
|
|
|
|
|
|
|
|
|
%clean
|
|
%clean
|
|
@@ -224,6 +249,10 @@ if [ $1 -eq 0 ] ; then
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%post marble-libs -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun marble-libs -p /sbin/ldconfig
|
|
|
|
+
|
|
%post math
|
|
%post math
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
|
|
|
|
@@ -238,6 +267,10 @@ if [ $1 -eq 0 ] ; then
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
+%post math-libs -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun math-libs -p /sbin/ldconfig
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_bindir}/blinken
|
|
%{_bindir}/blinken
|
|
@@ -255,6 +288,7 @@ fi
|
|
%{_bindir}/parley
|
|
%{_bindir}/parley
|
|
%{_bindir}/step
|
|
%{_bindir}/step
|
|
%{_bindir}/tilecreator
|
|
%{_bindir}/tilecreator
|
|
|
|
+%{_libdir}/kde4/*Calculator.so
|
|
%{_libdir}/kde4/plasma_applet_parley.so
|
|
%{_libdir}/kde4/plasma_applet_parley.so
|
|
%{_libdir}/kde4/plasma_engine_parley.so
|
|
%{_libdir}/kde4/plasma_engine_parley.so
|
|
%{_libdir}/kde4/plasma_applet_didyouknow.so
|
|
%{_libdir}/kde4/plasma_applet_didyouknow.so
|
|
@@ -276,6 +310,7 @@ fi
|
|
%{_datadir}/kde4/apps/kwordquiz
|
|
%{_datadir}/kde4/apps/kwordquiz
|
|
%{_datadir}/kde4/apps/parley
|
|
%{_datadir}/kde4/apps/parley
|
|
%{_datadir}/kde4/apps/step
|
|
%{_datadir}/kde4/apps/step
|
|
|
|
+%{_datadir}/kde4/services/*Calculator.desktop
|
|
%{_datadir}/kde4/services/plasma-dataengine-parley.desktop
|
|
%{_datadir}/kde4/services/plasma-dataengine-parley.desktop
|
|
%{_datadir}/kde4/services/plasma_parley.desktop
|
|
%{_datadir}/kde4/services/plasma_parley.desktop
|
|
%{_datadir}/kde4/services/plasma-dataengine-kalzium.desktop
|
|
%{_datadir}/kde4/services/plasma-dataengine-kalzium.desktop
|
|
@@ -402,43 +437,93 @@ fi
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING README
|
|
%doc COPYING README
|
|
%{_bindir}/calgebra
|
|
%{_bindir}/calgebra
|
|
|
|
+%{_bindir}/cantor
|
|
%{_bindir}/kalgebra
|
|
%{_bindir}/kalgebra
|
|
%{_bindir}/kbruch
|
|
%{_bindir}/kbruch
|
|
%{_bindir}/kig
|
|
%{_bindir}/kig
|
|
%{_bindir}/kmplot
|
|
%{_bindir}/kmplot
|
|
%{_bindir}/pykig.*
|
|
%{_bindir}/pykig.*
|
|
|
|
+%{_bindir}/rocs
|
|
|
|
+%{_libdir}/kde4/cantor_*.so
|
|
|
|
+%{_libdir}/kde4/libcantorpart.so
|
|
%{_libdir}/kde4/kigpart.*
|
|
%{_libdir}/kde4/kigpart.*
|
|
%{_libdir}/kde4/libkmplotpart.*
|
|
%{_libdir}/kde4/libkmplotpart.*
|
|
%{_libdir}/kde4/plasma_applet_kalgebra.so
|
|
%{_libdir}/kde4/plasma_applet_kalgebra.so
|
|
-%{_libdir}/libanalitza.so.*
|
|
+#{_libdir}/libanalitza.so.*
|
|
-%{_datadir}/kde4/apps/katepart/syntax/python-kig.xml
|
|
+%{_datadir}/applications/kde4/cantor.desktop
|
|
-%{_datadir}/kde4/apps/kbruch
|
|
|
|
-%{_datadir}/kde4/apps/kig
|
|
|
|
-%{_datadir}/kde4/apps/kmplot
|
|
|
|
%{_datadir}/applications/kde4/kalgebra.desktop
|
|
%{_datadir}/applications/kde4/kalgebra.desktop
|
|
%{_datadir}/applications/kde4/kbruch.desktop
|
|
%{_datadir}/applications/kde4/kbruch.desktop
|
|
%{_datadir}/applications/kde4/kig.desktop
|
|
%{_datadir}/applications/kde4/kig.desktop
|
|
%{_datadir}/applications/kde4/kmplot.desktop
|
|
%{_datadir}/applications/kde4/kmplot.desktop
|
|
|
|
+%{_datadir}/applications/kde4/rocs.desktop
|
|
|
|
+%{_datadir}/config.kcfg/cantor.kcfg
|
|
|
|
+%{_datadir}/config.kcfg/cantor_libs.kcfg
|
|
%{_datadir}/config.kcfg/kbruch.kcfg
|
|
%{_datadir}/config.kcfg/kbruch.kcfg
|
|
%{_datadir}/config.kcfg/kmplot.kcfg
|
|
%{_datadir}/config.kcfg/kmplot.kcfg
|
|
|
|
+%{_datadir}/config.kcfg/maximabackend.kcfg
|
|
|
|
+%{_datadir}/config.kcfg/rocs.kcfg
|
|
|
|
+%{_datadir}/config.kcfg/sagebackend.kcfg
|
|
|
|
+%{_datadir}/config/cantor.knsrc
|
|
|
|
+#{_datadir}/config/cantor_r.knsrc
|
|
|
|
+%{_datadir}/config/cantor_kalgebra.knsrc
|
|
|
|
+%{_datadir}/config/cantor_maxima.knsrc
|
|
|
|
+%{_datadir}/config/cantor_sage.knsrc
|
|
%{_datadir}/dbus-1/interfaces/org.kde.kmplot.*
|
|
%{_datadir}/dbus-1/interfaces/org.kde.kmplot.*
|
|
|
|
+%doc %{_docdir}/HTML/en/cantor/
|
|
%doc %{_docdir}/HTML/en/kalgebra/
|
|
%doc %{_docdir}/HTML/en/kalgebra/
|
|
%doc %{_docdir}/HTML/en/kbruch/
|
|
%doc %{_docdir}/HTML/en/kbruch/
|
|
%doc %{_docdir}/HTML/en/kig/
|
|
%doc %{_docdir}/HTML/en/kig/
|
|
%doc %{_docdir}/HTML/en/kmplot/
|
|
%doc %{_docdir}/HTML/en/kmplot/
|
|
|
|
+%doc %{_docdir}/HTML/en/rocs/
|
|
|
|
+%{_datadir}/icons/hicolor/*/*/cantor.*
|
|
%{_datadir}/icons/hicolor/*/*/kalgebra.*
|
|
%{_datadir}/icons/hicolor/*/*/kalgebra.*
|
|
%{_datadir}/icons/hicolor/*/*/kbruch.*
|
|
%{_datadir}/icons/hicolor/*/*/kbruch.*
|
|
%{_datadir}/icons/hicolor/*/*/kig.*
|
|
%{_datadir}/icons/hicolor/*/*/kig.*
|
|
%{_datadir}/icons/hicolor/*/*/kmplot.*
|
|
%{_datadir}/icons/hicolor/*/*/kmplot.*
|
|
|
|
+%{_datadir}/icons/hicolor/*/*/maximabackend.*
|
|
|
|
+%{_datadir}/icons/hicolor/*/*/rocs*.*
|
|
|
|
+%{_datadir}/icons/hicolor/*/*/sagebackend.*
|
|
%{_datadir}/icons/hicolor/*/*/application-x-kig.*
|
|
%{_datadir}/icons/hicolor/*/*/application-x-kig.*
|
|
|
|
+%{_datadir}/kde4/apps/cantor
|
|
|
|
+%{_datadir}/kde4/apps/cantorpart
|
|
|
|
+%{_datadir}/kde4/apps/katepart/syntax/python-kig.xml
|
|
|
|
+%{_datadir}/kde4/apps/kbruch
|
|
|
|
+%{_datadir}/kde4/apps/kig
|
|
|
|
+%{_datadir}/kde4/apps/kmplot
|
|
|
|
+%{_datadir}/kde4/apps/rocs
|
|
|
|
+%{_datadir}/kde4/services/cantor
|
|
|
|
+%{_datadir}/kde4/services/cantor_part.desktop
|
|
%{_datadir}/kde4/services/kalgebraplasmoid.desktop
|
|
%{_datadir}/kde4/services/kalgebraplasmoid.desktop
|
|
%{_datadir}/kde4/services/kig_part.desktop
|
|
%{_datadir}/kde4/services/kig_part.desktop
|
|
%{_datadir}/kde4/services/kmplot_part.desktop
|
|
%{_datadir}/kde4/services/kmplot_part.desktop
|
|
|
|
+%{_datadir}/kde4/servicetypes/cantor_*.desktop
|
|
%{_mandir}/man1/kbruch.*
|
|
%{_mandir}/man1/kbruch.*
|
|
%{_mandir}/man1/kig.*
|
|
%{_mandir}/man1/kig.*
|
|
%{_mandir}/man1/kmplot.*
|
|
%{_mandir}/man1/kmplot.*
|
|
|
|
|
|
|
|
+#%files math-cantor-R
|
|
|
|
+#%defattr(-,root,root,-)
|
|
|
|
+#%{_bindir}/cantor_rserver
|
|
|
|
+#%{_libdir}/kde4/cantor_rbackend.so
|
|
|
|
+#%{_datadir}/config.kcfg/rserver.kcfg
|
|
|
|
+%{_datadir}/config/cantor_r.knsrc
|
|
|
|
+%{_datadir}/icons/hicolor/*/*/rbackend.*
|
|
|
|
+#%{_datadir}/kde4/services/cantor/rbackend.desktop
|
|
|
|
+
|
|
|
|
+%files math-libs
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%doc COPYING README
|
|
|
|
+%{_libdir}/libanalitza.so.*
|
|
|
|
+%{_libdir}/libanalitzagui.so.*
|
|
|
|
+%{_libdir}/libcantorlibs.so.*
|
|
|
|
+%{_libdir}/libcantor_config.so
|
|
|
|
+
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Mar 13 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.1-1
|
|
|
|
+- new upstream release
|
|
|
|
+- built with new toolchain
|
|
|
|
+
|
|
* Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
|
|
* Wed Nov 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.3-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|