Browse Source

NEW: KDE Educational packages
update: kdeplasma-addons


git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4743 ec354946-7b23-47d6-9f5a-488ba84defc7

inagaki 12 years ago
parent
commit
6a015f4ad5

+ 94 - 0
b/blinken/blinken-vl.spec

@@ -0,0 +1,94 @@
+Name: blinken
+Summary: KDE version of the Simon electronic memory game
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/blinken/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Blinken is based on an electronic game released in 1978, which 
+challenges players to remember sequences of increasing length. 
+On the face of the device, there are 4 different color buttons, 
+each with its own distinctive sound. These buttons light up randomly, 
+creating the sequence that the player must then recall. If the 
+player is successful in remembering the sequence of lights in 
+the correct order, they advance to the next stage, where an identical 
+sequence with one extra step is presented.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/blinken
+%{_datadir}/applications/kde4/blinken.desktop
+%{_datadir}/config.kcfg/blinken.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/blinken
+%doc %{_docdir}/HTML/en/blinken/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 173 - 0
c/cantor/cantor-vl.spec

@@ -0,0 +1,173 @@
+Name: cantor
+Summary: Interface for mathematical applications
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/cantor/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: gcc-gfortran
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libspectre-devel
+BuildRequires: R libRmath-devel
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Cantor is an application to allow you to you use your favorite mathematical applications from within an elegant KDE-integrated worksheet interface. It provides dialogs to assist with common tasks and allows you to share your worksheets with others.
+
+Cantor supports various mathematical applications as backends (provided in external packages):
+
+ * KAlgebra
+ * Maxima Computer Algebra System
+ * R Project for Statistical Computing (cantor-backend-R)
+ * Sage Mathematics Software
+ * Octave
+
+This package is part of the KDE education module.
+
+%package backend-R
+Summary: R backend for Cantor
+Summary(ja): Cantor の R バックエンド
+Group: Applications/Edutainment
+Requires: %{name} = %{version}-%{release}
+
+%description backend-R
+%{summary}.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Summary(ja): %{name} のランタイムライブラリ
+Group:   System Environment/Libraries
+Conflicts: kdeedu4-math-libs < 4.6.50
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Conflicts: kdeedu4-devel < 4.6.50
+
+%description devel
+Header files for developing applications using %{name}.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%post backend-R
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans backend-R
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun backend-R
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/cantor
+%{_libdir}/libcantor_config.so
+%{_libdir}/kde4/*.so
+%exclude %{_libdir}/kde4/cantor_rbackend.so
+%{_datadir}/applications/kde4/cantor.desktop
+%{_datadir}/config/*.knsrc
+%exclude %{_datadir}/config/cantor_r.knsrc
+%{_datadir}/config.kcfg/*.kcfg
+%exclude %{_datadir}/config.kcfg/rserver.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%exclude %{_datadir}/icons/hicolor/*/*/rbackend.*
+%{_datadir}/kde4/apps/cantor
+%{_datadir}/kde4/services/cantor/*.desktop
+%exclude %{_datadir}/kde4/services/cantor/rbackend.desktop
+%{_datadir}/kde4/servicetypes/cantor_*.desktop
+%doc %{_docdir}/HTML/en/cantor/
+
+%files backend-R
+%defattr(-,root,root,-)
+%{_bindir}/cantor_rserver
+%{_libdir}/kde4/cantor_rbackend.so
+%{_datadir}/config/cantor_r.knsrc
+%{_datadir}/config.kcfg/rserver.kcfg
+%{_datadir}/icons/hicolor/*/*/rbackend.*
+%{_datadir}/kde4/services/cantor/rbackend.desktop
+
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/libcantorlibs.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/kde4/cantor
+%{_libdir}/libcantorlibs.so
+
+%changelog
+* Thu Sep  8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 129 - 0
k/kalgebra/kalgebra-vl.spec

@@ -0,0 +1,129 @@
+Name: kalgebra
+Summary: Algebraic graphing calculator for KDE
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kalgebra/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libkdeedu-devel
+BuildRequires: mesa-libGL-devel
+BuildRequires: readline-devel
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KAlgebra is a algebraic graphing calculator with support for 3D 
+graphing and MathML markup language.
+
+This package is part of the KDE education module.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Summary(ja): %{name} のランタイムライブラリ
+Group:   System Environment/Libraries
+Conflicts: kdeedu4-libs < 4.6.50
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Conflicts: kdeedu4-devel < 4.6.50
+
+%description devel
+Header files for developing applications using %{name}.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/calgebra
+%{_bindir}/kalgebra
+%{_bindir}/kalgebramobile
+%{_libdir}/kde4/*.so
+%{_datadir}/applications/kde4/kalgebra*.desktop
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kalgebra
+%{_datadir}/kde4/apps/katepart/*
+%{_datadir}/kde4/services/kalgebraplasmoid.desktop
+%{_datadir}/kde4/servicetypes/kalgebrascript.desktop
+%doc %{_docdir}/HTML/en/kalgebra/
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/libanalitza*.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/libanalitza*.so
+
+%changelog
+* Thu Sep  8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 136 - 0
k/kalzium/kalzium-vl.spec

@@ -0,0 +1,136 @@
+Name: kalzium
+Summary: Periodic table and chemistry tools for KDE
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kalzium/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: avogadro-devel
+BuildRequires: desktop-file-utils
+BuildRequires: eigen2-devel
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: ocaml
+BuildRequires: openbabel-devel >= 2.2.0
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Kalzium is a full-featured chemistry application for KDE, including 
+a Periodic Table of Elements, chemical reference, chemical equation 
+solver, and 3D molecule viewer.
+
+This package is part of the KDE education module.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Summary(ja): %{name} のランタイムライブラリ
+Group:   System Environment/Libraries
+Conflicts: kdeedu4-libs < 4.6.50
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Conflicts: kdeedu4-devel < 4.6.50
+
+%description devel
+Header files for developing applications using %{name}.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kalzium
+%{_libdir}/kde4/*.so
+%{_datadir}/applications/kde4/kalzium.desktop
+%{_datadir}/config/kalzium.knsrc
+%{_datadir}/config.kcfg/kalzium.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/desktoptheme/*
+%{_datadir}/kde4/apps/kalzium
+%{_datadir}/kde4/apps/libkdeedu/*
+%{_datadir}/kde4/services/*.desktop
+%{_mandir}/man1/kalzium*
+%doc %{_docdir}/HTML/en/kalzium/
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/libcompoundviewer.so.*
+%{_libdir}/libscience.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/kde4/libkdeedu/*.h
+%{_libdir}/libcompoundviewer.so
+%{_libdir}/libscience.so
+
+
+%changelog
+* Thu Sep  8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 88 - 0
k/kanagram/kanagram-vl.spec

@@ -0,0 +1,88 @@
+Name: kanagram
+Summary: jumble word puzzle for KDE
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kanagram/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libkdeedu-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KAnagram is a game where a random word is shown with its letters scrambled. To win, the player must rearrange the letters into the correct order.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kanagram
+%{_datadir}/applications/kde4/kanagram.desktop
+%{_datadir}/config/kanagram.knsrc
+%{_datadir}/config.kcfg/kanagram.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kanagram
+%doc %{_docdir}/HTML/en/kanagram/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 89 - 0
k/kbruch/kbruch-vl.spec

@@ -0,0 +1,89 @@
+Name: kbruch
+Summary: Fraction learning aid for KDE
+Summary(ja): KDE 向け分数学習支援ツール
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kbruch/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KBruch is an aid for learning how to calculate with fractions.
+
+This package is part of the KDE education module.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kbruch
+%{_datadir}/applications/kde4/kbruch.desktop
+%{_datadir}/config.kcfg/kbruch.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kbruch
+%{_mandir}/man1/kbruch*
+%doc %{_docdir}/HTML/en/kbruch/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 75 - 489
k/kdeedu/kdeedu-vl.spec

@@ -1,61 +1,47 @@
 Name: kdeedu
 Summary: Educational/Edutainment applications for KDE
 Summary(ja): KDE 向け教育・教養アプリケーション集
-Version: 4.6.4
+Version: 4.7.0
 Release: 1%{?_dist_release}
 
 License: GPLv2
 Group: Applications/Edutainment
 URL: http://www.kde.org/
 
-Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdeedu-%{version}.tar.bz2
-
 ## upstream patches
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-BuildRequires: attica-devel
-# Kig can optionally use Boost.Python for Python scripting
-BuildRequires: libboost-devel libboost-python
-# CFITSIO Library is needed by KStars for many INDI drivers & for KStars FITS Viewer.
-BuildRequires: cfitsio-devel
-BuildRequires: xplanet
-BuildRequires: libindi-devel >= 0.6.1
-BuildRequires: libnova-devel
-BuildRequires: libqalculate-devel
-BuildRequires: openbabel-devel >= 2.2.0-0.4.b5
-BuildRequires: eigen2-devel >= 2.0.3
-BuildRequires: gpsd-devel
-BuildRequires: desktop-file-utils
-BuildRequires: gsl-devel
-BuildRequires: kdelibs4-devel >= %{version}
-BuildRequires: plasma-devel >= %{version}
-BuildRequires: soprano-devel
-BuildRequires: libspectre-devel
-BuildRequires: libusb-devel
-BuildRequires: libXpm-devel
-BuildRequires: libxml2-devel
-BuildRequires: libxslt-devel
-BuildRequires: ocaml
-BuildRequires: facile
-BuildRequires: python-devel python
-BuildRequires: readline-devel
-BuildRequires: R libRmath-devel
-BuildRequires: avogadro-devel
-BuildRequires: gcc-gfortran
+BuildArch: noarch
 
 Requires: %{name}-libs = %{version}-%{release}
+Requires: blinken
+Requires: kalzium
+Requires: kanagram
+Requires: kgeography
+Requires: khangman
+Requires: kiten
+Requires: klettres
+Requires: kstars
+Requires: ktouch
+Requires: kturtle
+Requires: kwordquiz
+Requires: marble
+Requires: parley
+Requires: step
 
-# split pkgs, (temporary?) upgrade path -- Rex
-#Requires: %{name}-kstars = %{version}-%{release}
-#Requires: %{name}-marble = %{version}-%{release}
-#Requires: %{name}-math = %{version}-%{release}
-
+Conflicts: kdeedu3
 Obsoletes: kdeedu4 < %{version}-%{release}
 Provides:  kdeedu4 = %{version}-%{release}
-Conflicts: kdeedu3
+
+Obsoletes: kdeedu-kstars < %{version}-%{release}
+Obsoletes: kdeedu-marble < %{version}-%{release}
+
+Vendor: Project Vine
+Distribution: Vine Linux
+Packager: inagaki
 
 %description
-Educational/Edutainment applications for KDE.
+Kdeedu metapackage, to ease migration to split applications.
 
 * blinken: Simon Says Game
 * kalzium: A periodic table of the elements
@@ -64,86 +50,70 @@ Educational/Edutainment applications for KDE.
 * khangman: Hangman Game
 * kiten: Japanese Reference/Study Tool
 * klettres: French alphabet tutor
+* kstars: Desktop planetarium 
 * ktouch: Learn and practice touch typing
 * kturtle: Logo Programming Environment
 * kwordquiz: Flashcard and vocabulary learning
+* marble: World Atlas
 * parley: Vocabulary Trainer
 * step: Interactive physical simulator
 
+%description -l ja
+KDE 向けの教育・教養アプリケーションをインストールするためのメタパッケージです.
+
 %package libs
 Summary: Runtime libraries for %{name}
 Summary(ja): %{name} のランタイムライブラリ
 Group:   System Environment/Libraries
+Requires: kalzium-libs
+Requires: kiten-libs
+Requires: libkdeedu
+Requires: marble-libs
+Obsoletes: kdeedu-kstars-libs < %{version}-%{release}
+Obsoletes: kdeedu-marble-libs < %{version}-%{release}
 
 %description libs
 %{summary}.
 
+%description libs -l ja
+%{name} のランタイムライブラリをインストールするためのメタパッケージです.
+
 %package devel
 Summary: Development files for %{name}
 Summary(ja): %{name} の開発用ファイル
 Group: Development/Libraries
 Requires: %{name}-libs = %{version}-%{release}
-Requires: %{name}-kstars-libs = %{version}-%{release}
-Requires: %{name}-marble-libs = %{version}-%{release}
 Requires: %{name}-math-libs = %{version}-%{release}
-Requires:  kdelibs4-devel
+Requires: cantor-devel
+Requires: kalgebra-devel
+Requires: kalzium-devel
+Requires: kdelibs4-devel
+Requires: kiten-devel
+Requires: libkdeedu-devel
+Requires: marble-devel
+Requires: rocs-devel
 Obsoletes: kdeedu4-devel < %{version}-%{release}
 Provides:  kdeedu4-devel = %{version}-%{release}
 
 %description devel
 Header files for developing applications using kdeedu.
 
-%package kstars
-Summary: Desktop Planetarium
-Summary(ja): デスクトッププラネタリウム
-Group: Applications/Edutainment
-Requires: %{name}-libs = %{version}-%{release}
-Provides: kdeedu4-kstars = %{version}-%{release}
-
-%description kstars
-%{summary}.
-
-%package kstars-libs
-Summary: Runtime libraries for kstars 
-Summary(ja): kstars のランタイムライブラリ 
-Group:   System Environment/Libraries
-#Requires: %{name}-kstars = %{version}-%{release}
-
-%description kstars-libs
-%{summary}.
-
-
-%package marble
-Summary: A World Atlas
-Summary(ja): デスクトップ地球儀
-Group: Applications/Edutainment
-Requires: %{name}-marble-libs = %{version}-%{release}
-Conflicts: kdeedu < 4.2.0
-Obsoletes: marble < 0.5.1-1
-Provides:  kdeedu4-marble = %{version}-%{release}
-Provides:  marble = 0.7-%{release}
-
-%description marble
-%{summary}.
-
-%package marble-libs
-Summary: Runtime libraries for marble
-Summary(ja): marble のランタイムライブラリ 
-Group:   System Environment/Libraries
-#Requires: %{name}-marble = %{version}-%{release}
-
-%description marble-libs
-%{summary}.
+%description libs -l ja
+%{name} の開発用ファイルをインストールするためのメタパッケージです.
 
 %package math
 Summary: Math applications
 Summary(ja): KDE 数学アプリケーション集
 Group: Applications/Edutainment
-# http://bugzilla.redhat.com/371121
-Obsoletes: kalgebra < 0.7-7
-Provides:  kalgebra = 0.7-7
-Provides:  kdeedu4-math = %{version}-%{release}
 Requires: %{name}-math-libs = %{version}-%{release}
+Requires: cantor
+Requires: kalgebra
+Requires: kbruch
+Requires: kig
+Requires: kmplot
+Requires: rocs
+
+Provides:  kdeedu4-math = %{version}-%{release}
 
 %description math
 Educational/Edutainment Math applications:
@@ -154,440 +124,56 @@ Educational/Edutainment Math applications:
 * kmplot: Mathematical Function Plotter
 * rocs: Graph Theory IDE
 
-%package math-cantor-R
-Summary: R backend for Cantor
-Summary(ja): Cantor の R バックエンド
-Group: Applications/Edutainment
-Requires: %{name}-math = %{version}-%{release}
-
-%description math-cantor-R
-%{summary}, which is part of kdeedu-math.
+%description math -l ja
+KDE 向けの数学アプリケーションをインストールするためのメタパッケージです.
 
 %package math-libs
 Summary: Runtime libraries for %{name}-math
 Summary(ja): %{name}-math のランタイムライブラリ
 Group:   System Environment/Libraries
+Requires: cantor-libs
+Requires: kalgebra-libs
+Requires: rocs-libs
 
 %description math-libs
 %{summary}.
 
+%description math-libs -l ja
+kdeedu-math のランタイムライブラリをインストールするためのメタパッケージです.
 
 
 %prep
-%setup -q -n kdeedu-%{version}
-#patch51 -p1 -b .cantor_part_desktop_fix.patch
+# blank
 
 %build
-mkdir -p %{_target_platform}
-pushd %{_target_platform}
-unset QTDIR || : ; . /etc/profile.d/qt4.sh
-%cmake \
-    -DCMAKE_BUILD_TYPE=release \
-    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
-    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
-    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
-    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
-    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
-    ..
-popd
-
-make %{?_smp_mflags} -C %{_target_platform}
+# blank
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
-
-# #unpackaged files
-# omit stuff for which there isn't a clear public API
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib{SatLib,analitza,analitzagui,avogadro-kalzium,cantorlibs,compoundviewer,htmesh,sbigudrv}.{a,so}
-# oxygen-icon-theme conflict
-rm -fv $RPM_BUILD_ROOT%{_datadir}/icons/oxygen/22x22/actions/pointer.png
-
-# omit dustismo roman font
-rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/khangman/fonts/Dustismo_Roman.ttf
-# omit domestic manners font
-rm -f $RPM_BUILD_ROOT%{_datadir}/kde4/apps/khangman/fonts/Domestic_Manners.ttf
-# omit steve font
-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
-
+# blank
 
 %clean
 rm -rf $RPM_BUILD_ROOT 
 
-%check
-for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
-  desktop-file-validate $f
-done
-
-
-%post
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%posttrans
-update-desktop-database -q &> /dev/null ||:
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%postun
-if [ $1 -eq 0 ] ; then
-  update-desktop-database -q &> /dev/null ||:
-  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-fi
-
-%post libs
-/sbin/ldconfig
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%posttrans libs
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%postun libs
-/sbin/ldconfig
-if [ $1 -eq 0 ] ; then
-    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-fi
-
-%post kstars
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%posttrans kstars
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%postun kstars
-if [ $1 -eq 0 ] ; then
-  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-fi
-
-%post kstars-libs -p /sbin/ldconfig
-
-%postun kstars-libs -p /sbin/ldconfig
-
-
-%post marble
-/sbin/ldconfig
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%posttrans marble
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%postun marble
-/sbin/ldconfig
-if [ $1 -eq 0 ] ; then
-  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-fi
-
-%post marble-libs -p /sbin/ldconfig
-
-%postun marble-libs -p /sbin/ldconfig
-
-%post math
-touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%posttrans math
-update-desktop-database -q &> /dev/null
-gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-
-%postun math
-if [ $1 -eq 0 ] ; then
-  update-desktop-database -q &> /dev/null ||:
-  touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
-  gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
-fi
-
-%post math-libs -p /sbin/ldconfig
-
-%postun math-libs -p /sbin/ldconfig
-
 %files
-%defattr(-,root,root)
-%{_bindir}/blinken
-%{_bindir}/kalzium
-%{_bindir}/kanagram
-%{_bindir}/kgeography
-%{_bindir}/khangman
-%{_bindir}/kiten
-%{_bindir}/kitengen
-%{_bindir}/kitenradselect
-%{_bindir}/klettres
-%{_bindir}/ktouch
-%{_bindir}/kturtle
-%{_bindir}/kwordquiz
-%{_bindir}/parley
-%{_bindir}/step
-%{_bindir}/tilecreator
-%{_libdir}/kde4/*Calculator.so
-%{_libdir}/kde4/plasma_applet_parley.so
-%{_libdir}/kde4/plasma_engine_parley.so
-%{_libdir}/kde4/plasma_applet_didyouknow.so
-%{_libdir}/kde4/plasma_engine_kalzium.so
-# kalzium
-#{_libdir}/avogadro-kalzium
-%{_datadir}/kde4/apps/desktoptheme
-%{_datadir}/kde4/apps/blinken
-%{_datadir}/kde4/apps/kalzium
-%{_datadir}/kde4/apps/kanagram
-%{_datadir}/kde4/apps/kgeography
-%{_datadir}/kde4/apps/khangman
-%{_datadir}/kde4/apps/kiten
-%{_datadir}/kde4/apps/kitenradselect
-%{_datadir}/kde4/apps/klettres
-%{_datadir}/kde4/apps/ktouch
-%{_datadir}/kde4/apps/kturtle
-%{_datadir}/kde4/apps/kvtml
-%{_datadir}/kde4/apps/kwordquiz
-%{_datadir}/kde4/apps/parley
-%{_datadir}/kde4/apps/step
-%{_datadir}/kde4/services/*Calculator.desktop
-%{_datadir}/kde4/services/plasma-applet-Molmasscalculator.desktop
-%{_datadir}/kde4/services/plasma-dataengine-parley.desktop
-%{_datadir}/kde4/services/plasma_parley.desktop
-%{_datadir}/kde4/services/plasma-dataengine-kalzium.desktop
-%{_datadir}/kde4/services/plasma_didyouknow.desktop
-%{_datadir}/applications/kde4/blinken.desktop
-%{_datadir}/applications/kde4/kalzium.desktop
-%{_datadir}/applications/kde4/kanagram.desktop
-%{_datadir}/applications/kde4/kgeography.desktop
-%{_datadir}/applications/kde4/khangman.desktop
-%{_datadir}/applications/kde4/kiten.desktop
-%{_datadir}/applications/kde4/klettres.desktop
-%{_datadir}/applications/kde4/ktouch.desktop
-%{_datadir}/applications/kde4/kturtle.desktop
-%{_datadir}/applications/kde4/kwordquiz.desktop
-%{_datadir}/applications/kde4/parley.desktop
-%{_datadir}/applications/kde4/step.desktop
-%{_datadir}/config.kcfg/blinken.kcfg
-%{_datadir}/config.kcfg/documentsettings.kcfg
-%{_datadir}/config.kcfg/kalzium.kcfg
-%{_datadir}/config.kcfg/kanagram.kcfg
-%{_datadir}/config.kcfg/kgeography.kcfg
-%{_datadir}/config.kcfg/khangman.kcfg
-%{_datadir}/config.kcfg/kiten.kcfg
-%{_datadir}/config.kcfg/klettres.kcfg
-%{_datadir}/config.kcfg/ktouch.kcfg
-%{_datadir}/config.kcfg/kwordquiz.kcfg
-%{_datadir}/config.kcfg/languagesettings.kcfg
-%{_datadir}/config.kcfg/parley.kcfg
-%{_datadir}/config.kcfg/step.kcfg
-%{_datadir}/config/kalzium.knsrc
-%{_datadir}/config/kanagram.knsrc
-%{_datadir}/config/khangman.knsrc
-%{_datadir}/config/klettres.knsrc
-%{_datadir}/config/kturtle.knsrc
-%{_datadir}/config/kwordquiz.knsrc
-%{_datadir}/config/parley.knsrc
-%{_datadir}/config/parley-themes.knsrc
-%{_datadir}/config/step.knsrc
-%doc %{_docdir}/HTML/en/blinken
-%doc %{_docdir}/HTML/en/kalzium
-%doc %{_docdir}/HTML/en/kanagram
-%doc %{_docdir}/HTML/en/kgeography
-%doc %{_docdir}/HTML/en/khangman
-%doc %{_docdir}/HTML/en/kiten
-%doc %{_docdir}/HTML/en/klettres
-%doc %{_docdir}/HTML/en/ktouch
-%doc %{_docdir}/HTML/en/kturtle
-%doc %{_docdir}/HTML/en/kwordquiz
-%doc %{_docdir}/HTML/en/parley
-%exclude %doc %{_docdir}/HTML/en/step
-%{_datadir}/icons/hicolor/*/*/blinken.*
-%{_datadir}/icons/hicolor/*/*/kalzium.*
-%{_datadir}/icons/hicolor/*/*/kanagram.*
-%{_datadir}/icons/hicolor/*/*/kgeography.*
-%{_datadir}/icons/hicolor/*/*/khangman.*
-%{_datadir}/icons/hicolor/*/*/kiten.*
-%{_datadir}/icons/hicolor/*/*/klettres.*
-%{_datadir}/icons/hicolor/*/*/ktouch.*
-%{_datadir}/icons/hicolor/*/*/kturtle.*
-%{_datadir}/icons/hicolor/*/*/kwordquiz.*
-%{_datadir}/icons/hicolor/*/*/parley*.*
-%{_datadir}/icons/hicolor/*/*/step.*
-#{_datadir}/icons/oxygen/*/*/*
-%{_mandir}/man1/kalzium.*
-%{_mandir}/man1/ktouch.*
-%{_mandir}/man6/khangman.*
+# blank
 
 %files libs
-%defattr(-,root,root)
-%doc COPYING README
-%{_datadir}/kde4/apps/libkdeedu
-#{_libdir}/libavogadro-kalzium.so.*
-%{_libdir}/libcompoundviewer.so.*
-%{_libdir}/libkdeeduui.so.*
-%{_libdir}/libkeduvocdocument.so.*
-%{_libdir}/libkiten.so.*
-%{_libdir}/libscience.so.*
-# needed here for multilib'd runtime
-#{_libdir}/kde4/plugins/designer/kalziumuiwidgets.so
-%{_datadir}/icons/hicolor/*/*/coords.*
-%{_datadir}/icons/hicolor/*/*/deriv_func.*
-%{_datadir}/icons/hicolor/*/*/editconstants.*
-%{_datadir}/icons/hicolor/*/*/editplots.*
-%{_datadir}/icons/hicolor/*/*/func.*
-%{_datadir}/icons/hicolor/*/*/functionhelp.*
-%{_datadir}/icons/hicolor/*/*/integral_func.*
-%{_datadir}/icons/hicolor/*/*/lessen.*
-%{_datadir}/icons/hicolor/*/*/magnify.*
-%{_datadir}/icons/hicolor/*/*/maximum.*
-%{_datadir}/icons/hicolor/*/*/minimum.*
-%{_datadir}/icons/hicolor/*/*/newdifferential.*
-%{_datadir}/icons/hicolor/*/*/newfunction.*
-%{_datadir}/icons/hicolor/*/*/newimplicit.*
-%{_datadir}/icons/hicolor/*/*/newparametric.*
-%{_datadir}/icons/hicolor/*/*/newpolar.*
-%{_datadir}/icons/hicolor/*/*/resetview.*
+# blank
 
 %files devel
-%defattr(-,root,root)
-%{_includedir}/kde4/libkdeedu
-%{_includedir}/kde4/libkiten
-%{_includedir}/kde4/rocs
-%{_includedir}/marble
-%{_libdir}/libkdeedu*.so
-%{_libdir}/libkeduvocdocument.so
-%{_libdir}/libkiten.so
-%{_libdir}/libmarble*.so
-%{_libdir}/librocslib.so
-%{_libdir}/libscience.so
-%{_libdir}/cmake/libkdeedu/*.cmake
-%{_datadir}/kde4/apps/cmake/modules
-
-%files kstars
-%defattr(-,root,root,-)
-%{_bindir}/kstars
-%{_datadir}/applications/kde4/kstars.desktop
-%{_datadir}/config.kcfg/kstars.kcfg
-%{_datadir}/config/kstars.knsrc
-%doc %{_docdir}/HTML/en/kstars
-%{_datadir}/kde4/apps/kstars
-%{_datadir}/icons/hicolor/*/*/kstars.*
-
-%files kstars-libs
-%defattr(-,root,root,-)
-%{_libdir}/libSatLib.so.*
-
-%files marble
-%defattr(-,root,root,-)
-%{_bindir}/geodatatest
-%{_bindir}/marble
-%{_bindir}/routing-instructions
-%{_datadir}/kde4/apps/marble
-%{_datadir}/kde4/apps/marble_part
-%{_datadir}/applications/kde4/marble.desktop
-%{_datadir}/config.kcfg/marble.kcfg
-%{_datadir}/kde4/services/marble_part.desktop
-%doc %{_docdir}/HTML/en/marble/
-%{_datadir}/icons/hicolor/*/*/marble.*
-# worldclock links against libmarblewidget, include here
-%{_libdir}/kde4/plasma_applet_worldclock.so
-%{_datadir}/kde4/services/plasma-applet-kworldclock.desktop
-
-%files marble-libs
-%defattr(-,root,root,-)
-%{_libdir}/libmarble*.so.*
-%{_libdir}/kde4/libmarble_part.so
-%{_libdir}/kde4/plugins/marble/
+# blank
 
 %files math
-%defattr(-,root,root,-)
-%doc COPYING README
-%{_bindir}/calgebra
-%{_bindir}/cantor
-%{_bindir}/kalgebra
-%{_bindir}/kalgebramobile
-%{_bindir}/kbruch
-%{_bindir}/kig
-%{_bindir}/kmplot
-%{_bindir}/pykig.*
-%{_bindir}/rocs
-%{_libdir}/kde4/cantor_*.so
-%exclude %{_libdir}/kde4/cantor_rbackend.so
-%{_libdir}/kde4/libcantorpart.so
-%{_libdir}/kde4/kigpart.*
-%{_libdir}/kde4/libkmplotpart.*
-%{_libdir}/kde4/plasma_applet_kalgebra.so
-%{_libdir}/kde4/rocs_*.so
-%{_datadir}/applications/kde4/cantor.desktop
-%{_datadir}/applications/kde4/kalgebra.desktop
-%{_datadir}/applications/kde4/kalgebramobile.desktop
-%{_datadir}/applications/kde4/kbruch.desktop
-%{_datadir}/applications/kde4/kig.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/kmplot.kcfg
-%{_datadir}/config.kcfg/maximabackend.kcfg
-%{_datadir}/config.kcfg/octavebackend.kcfg
-%{_datadir}/config.kcfg/rocs.kcfg
-%{_datadir}/config.kcfg/sagebackend.kcfg
-%{_datadir}/config/cantor.knsrc
-%{_datadir}/config/cantor_kalgebra.knsrc
-%{_datadir}/config/cantor_maxima.knsrc
-%{_datadir}/config/cantor_sage.knsrc
-%{_datadir}/config/rocs.knsrc
-%{_datadir}/dbus-1/interfaces/org.kde.kmplot.*
-%doc %{_docdir}/HTML/en/cantor/
-%doc %{_docdir}/HTML/en/kalgebra/
-%doc %{_docdir}/HTML/en/kbruch/
-%doc %{_docdir}/HTML/en/kig/
-%doc %{_docdir}/HTML/en/kmplot/
-%doc %{_docdir}/HTML/en/rocs/
-%{_datadir}/icons/hicolor/*/*/cantor.*
-%{_datadir}/icons/hicolor/*/*/kalgebra.*
-%{_datadir}/icons/hicolor/*/*/kbruch.*
-%{_datadir}/icons/hicolor/*/*/kig.*
-%{_datadir}/icons/hicolor/*/*/kmplot.*
-%{_datadir}/icons/hicolor/*/*/maximabackend.*
-%{_datadir}/icons/hicolor/*/*/octavebackend.*
-%{_datadir}/icons/hicolor/*/*/sagebackend.*
-%{_datadir}/icons/hicolor/*/*/application-x-kig.*
-%{_datadir}/kde4/apps/cantor
-%{_datadir}/kde4/apps/cantorpart
-%{_datadir}/kde4/apps/kalgebra/
-%{_datadir}/kde4/apps/katepart/syntax/*.xml
-%{_datadir}/kde4/apps/kbruch
-%{_datadir}/kde4/apps/kig
-%{_datadir}/kde4/apps/kmplot
-%{_datadir}/kde4/apps/rocs
-%{_datadir}/kde4/services/cantor
-%exclude %{_datadir}/kde4/services/cantor/rbackend.desktop
-%{_datadir}/kde4/services/kalgebra*.desktop
-%{_datadir}/kde4/services/kig_part.desktop
-%{_datadir}/kde4/services/kmplot_part.desktop
-%{_datadir}/kde4/services/rocs_*.desktop
-%{_datadir}/kde4/servicetypes/cantor_*.desktop
-%{_datadir}/kde4/servicetypes/kalgebrascript.desktop
-%{_datadir}/kde4/servicetypes/Rocs*.desktop
-%{_mandir}/man1/kbruch.*
-%{_mandir}/man1/kig.*
-%{_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
+# blank
 
 %files math-libs
-%defattr(-,root,root,-)
-%doc COPYING README
-%{_libdir}/libanalitza.so.*
-%{_libdir}/libanalitzagui.so.*
-%{_libdir}/libcantorlibs.so.*
-%{_libdir}/libcantor_config.so
-%{_libdir}/librocslib.so.*
+# blank
 
 
 %changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- placeholder metapackage
+
 * Sun Jun 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
 - new upstream release
 

+ 21 - 15
k/kdeplasma-addons/kdeplasma-addons-vl.spec

@@ -1,6 +1,6 @@
 Name:           kdeplasma-addons
 Summary:        Additional plasmoids for KDE
-Version:        4.6.4
+Version:        4.7.0
 Release:        1%{?_dist_release}
 
 Group:          User Interface/Desktops
@@ -15,30 +15,31 @@ Source0:        ftp://ftp.kde.org/pub/kde/stable/%{version}/src/kdeplasma-addons
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
 BuildRequires:  attica-devel
-BuildRequires:  libboost-devel
 BuildRequires:  eigen2-devel
 BuildRequires:  gettext
-BuildRequires:  kdepimlibs-devel >= %{version}
-BuildRequires:  libXpm-devel
-BuildRequires:  libXtst-devel
-BuildRequires:  libqalculate-devel
-# for libplasmaclock, nepomuk
-BuildRequires:  kdebase-workspace-devel >= %{version}
 # Lancelot build-deps kdebase-workspace, which contains
 # /usr/share/dbus-1/interfaces/org.freedesktop.ScreenSaver.xml
 BuildRequires:  kdebase-workspace >= %{version}
-# RECOMMENDED: Marble is used to provide a desktop globe wallpaper for Plasma.
-BuildRequires:  kdeedu4-devel >= %{version}
+# for libplasmaclock, nepomuk
+BuildRequires:  kdebase-workspace-devel >= %{version}
+BuildRequires:  kdepimlibs-devel >= %{version}
+BuildRequires:  libboost-devel
 # Optional (but recommended), enables automatic rotation for frame applet
-#BuildRequires:  libkexiv2-devel >= 0.4.0
-BuildRequires:  kdegraphics4-devel >= %{version}
+BuildRequires:  libkexiv2-devel >= %{version}
+BuildRequires:  libqalculate-devel
 # lancelot eye-candy
 BuildRequires:  libXcomposite-devel libXrender-devel libXdamage-devel
+BuildRequires:  libXpm-devel
+BuildRequires:  libXtst-devel
+# RECOMMENDED: Marble is used to provide a desktop globe wallpaper for Plasma.
+BuildRequires:  marble-devel >= %{version}
+BuildRequires:  qca2-devel
 BuildRequires:  qimageblitz-devel
-BuildRequires:  soprano-devel
 # kimpanel
 BuildRequires:  scim-devel
-BuildRequires:  qca2-devel
+BuildRequires:  shared-desktop-ontologies-devel
+BuildRequires:  shared-mime-info
+BuildRequires:  soprano-devel
 
 Requires: %{name}-libs = %{version}-%{release}
 
@@ -55,7 +56,7 @@ Additional plasmoids for KDE.
 Summary: Runtime libraries for %{name}
 Summary(ja): %{name} のランタイムライブラリ
 Group:   System Environment/Libraries
-Requires: %{name} = %{version}-%{release}
+#Requires: %{name} = %{version}-%{release}
 Requires: kdelibs4 >= %{version}
 
 %description libs
@@ -167,6 +168,11 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Aug 28 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- new upstream release
+- BR: marble-devel instead of kdeedu4-devel
+- BR: libkexiv2-devel instead of kdegraphics-devel
+
 * Sun Jun 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
 - new upstream release
 

+ 89 - 0
k/kgeography/kgeography-vl.spec

@@ -0,0 +1,89 @@
+Name: kgeography
+Summary: Geography learning aid for KDE
+Summary(ja): KDE 向け地理学習支援ツール
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kgeography/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KGeography is an aid for learning about world geography. You can 
+use it to explore a map, show information about regions and features, 
+and play quiz games to test your geography knowledge.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kgeography
+%{_datadir}/applications/kde4/kgeography.desktop
+%{_datadir}/config.kcfg/kgeography.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kgeography
+%doc %{_docdir}/HTML/en/kgeography/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 96 - 0
k/khangman/khangman-vl.spec

@@ -0,0 +1,96 @@
+Name: khangman
+Summary: Hangman word puzzle for KDE
+Summary(ja): Hangman 単語パズル
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/khangman/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libkdeedu-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KHangMan is the well-known Hangman game, aimed towards children 
+aged 6 and above.
+
+It picks a random word which the player must reveal by guessing 
+if it contains certain letters. As the player guesses letters, 
+the word is gradually revealed, but 10 wrong guesses will end the 
+game.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/khangman
+%{_datadir}/applications/kde4/khangman.desktop
+%{_datadir}/config/khangman.knsrc
+%{_datadir}/config.kcfg/khangman.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/khangman
+%{_mandir}/man6/khangman*
+%doc %{_docdir}/HTML/en/khangman/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 99 - 0
k/kig/kig-vl.spec

@@ -0,0 +1,99 @@
+Name: kig
+Summary: Interactive geometry tool for KDE
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kig/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libboost-devel libboost-python
+BuildRequires: python-devel
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Kig is an application for interactive geometric construction, allowing 
+students to draw and explore mathematical figures and concepts using 
+the computer.
+
+Kig supports macros and is scriptable using Python. It can import and 
+export files in various formats, including SVG, Cabri, Dr. Geo, KGeo, 
+KSeg, and XFig.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kig
+%{_bindir}/pykig.py
+%{_libdir}/kde4/kigpart.so
+%{_datadir}/applications/kde4/kig.desktop
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/katepart/*
+%{_datadir}/kde4/apps/kig
+%{_datadir}/kde4/services/kig_part.desktop
+%{_mandir}/man1/kig*
+%doc %{_docdir}/HTML/en/kig/
+
+%changelog
+* Thu Sep  8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 127 - 0
k/kiten/kiten-vl.spec

@@ -0,0 +1,127 @@
+Name: kiten
+Summary: Japanese reference and study aid for KDE
+Summary(ja): KDE 向け日本語参照・学習支援ツール
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kiten/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Kiten is a collection of Japanese reference tools and study aids 
+for KDE, including a Japanese/English dictionary, Kanji dictionary, 
+and Kanji quiz.
+
+This package is part of the KDE education module.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Summary(ja): %{name} のランタイムライブラリ
+Group:   System Environment/Libraries
+Conflicts: kdeedu4-libs < 4.6.50
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Conflicts: kdeedu4-devel < 4.6.50
+
+%description devel
+Header files for developing applications using %{name}.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kiten
+%{_bindir}/kitengen
+%{_bindir}/kitenradselect
+%{_datadir}/applications/kde4/kiten.desktop
+%{_datadir}/config.kcfg/kiten.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kiten
+%{_datadir}/kde4/apps/kitenradselect
+%doc %{_docdir}/HTML/en/kiten/
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/libkiten.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/kde4/libkiten
+%{_libdir}/libkiten.so
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 93 - 0
k/klettres/klettres-vl.spec

@@ -0,0 +1,93 @@
+Name: klettres
+Summary: Foreign alphabet tutor for KDE
+Summary(ja): KDE 向け外国語アルファベット学習ツール
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/klettres/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KLettres is an aid for learning how to read and pronounce the 
+alphabet of a foreign language.
+
+Seven languages are currently available: Czech, Danish, Dutch, 
+English, French, Italian and Slovak.
+
+This package is part of the KDE education module.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/klettres
+%{_datadir}/applications/kde4/klettres.desktop
+%{_datadir}/config/klettres.knsrc
+%{_datadir}/config.kcfg/klettres.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/klettres
+%doc %{_docdir}/HTML/en/klettres/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 102 - 0
k/kmplot/kmplot-vl.spec

@@ -0,0 +1,102 @@
+Name: kmplot
+Summary: mathematical function plotter for KDE
+Summary(ja): KDE 数学関数プロッタ
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kmplot/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KmPlot is a powerful mathematical plotter KDE, capable of plotting 
+multiple functions simultaneously and combining them into new functions.
+
+Cartesian, parametric, and differential functions are supported, as 
+well as functions using polar coordinates. Plots are printed with high 
+precision at the correct aspect ratio.
+
+KmPlot also provides numerical and visual features such as filling 
+and calculating the area between the plot and the first axis, finding 
+maxima and minima, changing function parameters dynamically, and 
+plotting derivatives and integral functions.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kmplot
+%{_libdir}/kde4/libkmplotpart.so
+%{_datadir}/applications/kde4/kmplot.desktop
+%{_datadir}/config.kcfg/kmplot.kcfg
+%{_datadir}/dbus-1/interfaces/org.kde.kmplot.*.xml
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kmplot
+%{_datadir}/kde4/services/kmplot_part.desktop
+%{_mandir}/man1/kmplot*
+%doc %{_docdir}/HTML/en/kmplot/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 103 - 0
k/kstars/kstars-vl.spec

@@ -0,0 +1,103 @@
+Name: kstars
+Summary: Desktop Planetarium for KDE
+Summary(ja): KDE 向けデスクトッププラネタリウム
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kstars/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: cfitsio-devel >= 3.09
+BuildRequires: desktop-file-utils
+BuildRequires: eigen2-devel
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libindi-devel >= 0.8
+BuildRequires: mesa-libGL-devel
+BuildRequires: xplanet >= 1.0
+BuildRequires: zlib-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KStars is a desktop planetarium for KDE, depicting an accurate 
+graphical simulation of the night sky, from any location on Earth, 
+at any date and time. The display includes 130,000 stars, 13,000 
+deep-sky objects, all 8 planets, the Sun and Moon, and thousands 
+of comets and asteroids. It includes tools for astronomical calculations 
+and can control telescopes and cameras.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+# unpackaged files
+# omit stuff for which there isn't a clear public API
+rm -f $RPM_BUILD_ROOT%{_libdir}/libhtmesh.a
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kstars
+%{_datadir}/applications/kde4/kstars.desktop
+%{_datadir}/config/kstars.knsrc
+%{_datadir}/config.kcfg/kstars.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kstars
+%doc %{_docdir}/HTML/en/kstars/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 94 - 0
k/ktouch/ktouch-vl.spec

@@ -0,0 +1,94 @@
+Name: ktouch
+Summary: Touch typing tutor for KDE
+Summary(ja): KDE 向けタッチタイピング訓練機
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/ktouch/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KTouch is an aid for learning how to type with speed and accuracy. It
+provides a sample text to type and indicates which fingers should be 
+used for each key.
+
+A collection of lessons are included for a wide range of different 
+languages and keyboard layouts, and typing statistics are used to 
+dynamically adjust the level of difficulty.
+
+This package is part of the KDE education module.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/ktouch
+%{_datadir}/applications/kde4/ktouch.desktop
+%{_datadir}/config.kcfg/ktouch.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/ktouch
+%{_mandir}/man1/ktouch*
+%doc %{_docdir}/HTML/en/ktouch/
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 94 - 0
k/kturtle/kturtle-vl.spec

@@ -0,0 +1,94 @@
+Name: kturtle
+Summary: Logo educational programming environment for KDE
+Summary(ja): Logo の教育用プログラミング環境
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/parley/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KTurtle is an educational programming environment which uses the 
+TurtleScript programming language (inspired by Logo) to make programming 
+as easy and accessible as possible.
+
+The user issues TurtleScript language commands to control the "turtle", 
+which draws on the canvas, making KTurtle suitable for teaching elementary 
+mathematics, geometry and programming.
+
+This package is part of the KDE education module.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/kturtle
+%{_datadir}/applications/kde4/kturtle.desktop
+%{_datadir}/config/*.knsrc
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kturtle
+%doc %{_docdir}/HTML/en/kturtle/
+
+%changelog
+* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 97 - 0
k/kwordquiz/kwordquiz-vl.spec

@@ -0,0 +1,97 @@
+Name: kwordquiz
+Summary: Flashcard learning program for KDE
+Summary(ja): KDE 向けのフラッシュカード学習プログラム
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/kwordquiz/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libkdeedu-devel >= %{version}
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+KWordQuiz is a general purpose flashcard program, typically used for 
+vocabulary training.
+
+KWordQuiz can open vocabulary data in various formats, including the 
+kvtml format used by KDE programs such as Parley, the WQL format used 
+by WordQuiz for Windows, the xml.gz format used by Pauker, and CSV text.
+
+This package is part of the KDE education module.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC COPYING.LIB README
+%{_bindir}/kwordquiz
+%{_datadir}/applications/kde4/kwordquiz.desktop
+%{_datadir}/config/kwordquiz.knsrc
+%{_datadir}/config.kcfg/kwordquiz.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/kwordquiz
+%doc %{_docdir}/HTML/en/kwordquiz/
+
+
+%changelog
+* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 92 - 0
lib/libk/libkdeedu/libkdeedu-vl.spec

@@ -0,0 +1,92 @@
+Name:    libkdeedu
+Summary: Library for using with KDE 4 educational applications
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+ and LGPLv2+
+Group:   System Environment/Libraries
+URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2 
+
+Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: kdelibs4-devel >= %{version}
+
+Requires: kdelibs4 >= 4.7.0
+
+# when split occurred
+Conflicts: kdeedu-libs < 4.6.95-10
+
+%description
+This package contains shared libraries used by KDE 4 educational 
+applications. It provides support for data plotting and vocabulary 
+data in the kvtml format.
+
+%package devel
+Summary:  Development files for %{name} 
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: kdelibs4-devel 
+
+%description devel
+%{summary}.
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+
+%post
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+
+%postun
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
+fi
+
+
+%files
+%doc AUTHORS COPYING COPYING.LIB README
+%{_libdir}/libkeduvocdocument.so.*
+%{_datadir}/kde4/apps/kvtml/
+%{_datadir}/icons/hicolor/*/*/*
+
+%files devel
+%{_libdir}/libkeduvocdocument.so
+%{_libdir}/libqtmmlwidget.a
+%{_libdir}/cmake/libkdeedu/*.cmake
+%{_includedir}/kde4/libkdeedu/
+
+%changelog
+* Sat Aug  6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- Initial build for Vine Linux

+ 411 - 0
m/marble/marble-vl.spec

@@ -0,0 +1,411 @@
+Name: marble
+Summary: A World Atlas
+Summary(ja): デスクトップ地球儀
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: LGPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/marble/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: gpsd-devel
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: soprano-devel
+BuildRequires: libXpm-devel
+
+# split pkgs, (temporary?) upgrade path -- Rex
+#Requires: %{name}-kstars = %{version}-%{release}
+#Requires: %{name}-marble = %{version}-%{release}
+#Requires: %{name}-math = %{version}-%{release}
+Requires: %{name}-libs = %{version}-%{release}
+
+Obsoletes: kdeedu4-marble < %{version}-%{release}
+Provides:  kdeedu4-marble = %{version}-%{release}
+
+%description
+Marble is a generic geographical map widget and framework for 
+KDE applications. The Marble widget shows the earth as a sphere 
+but does not require hardware acceleration. A minimal set of 
+geographical data is included, so it can be used without an 
+internet connection.
+
+This package is part of the KDE education module.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Summary(ja): %{name} のランタイムライブラリ
+Group: System Environment/Libraries
+Obsoletes: kdeedu4-marble-libs < %{version}-%{release}
+Provides:  kdeedu4-marble-libs = %{version}-%{release}
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires:  kdelibs4-devel
+
+Conflicts: kdeedu4-devel < 4.6.50
+
+%description devel
+Header files for developing applications using %{name}.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%post libs
+/sbin/ldconfig
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans libs
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun libs
+/sbin/ldconfig
+if [ $1 -eq 0 ] ; then
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/geodatatest
+%{_bindir}/marble
+%{_bindir}/routing-instructions
+%{_bindir}/tilecreator
+%{_libdir}/kde4/plasma_applet_worldclock.so
+%{_datadir}/applications/kde4/marble.desktop
+%{_datadir}/config.kcfg/marble.kcfg
+%{_datadir}/icons/hicolor/*/*/marble.*
+%{_datadir}/kde4/apps/marble
+%{_datadir}/kde4/services/marble_part.desktop
+%{_datadir}/kde4/services/plasma-applet-kworldclock.desktop
+%doc %{_docdir}/HTML/en/marble/
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/libmarblewidget.so.*
+%{_libdir}/kde4/libmarble_part.so
+%{_libdir}/kde4/plugins/marble/
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/marble/*
+%{_libdir}/libmarblewidget.so
+%{_datadir}/kde4/apps/cmake/modules/
+
+%changelog
+* Sun Aug  7 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+
+* Sun Jun 19 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.4-1
+- new upstream release
+
+* Mon Mar 14 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.1-1
+- new upstream release
+
+* Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-2
+- added BR: gcc-gfortran, libXpm-devel, soprano-devel
+
+* Fri Feb 25 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.6.0-1
+- new upstream release
+- added kstars-libs, math-cantor-r subpackages
+
+* Tue Jan 18 2011 Shu KONNO <owa@bg.wakwak.com> 4.5.1-2
+- rebuilt with libboost-1.45.0
+
+* Sat Sep 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.1-1
+- rebuilt with libqalcurate-0.9.7
+
+* Sat Aug 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.5.0-1
+- new upstream release
+- added BR: avogadro-devel
+
+* Wed Jul  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.5-1
+- new upstream release
+- added Conflicts: kdeedu3
+
+* Fri May  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.3-1
+- new upstream release
+
+* 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
+- new upstream release
+
+* Tue Oct 27 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-2
+- just +1 release number (4.3.2-1vl5 was broken in putting)
+
+* Sun Oct 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.2-1
+- new upstream release
+
+* Sat Sep  5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.1-1
+- new upstream release
+- used %cmake macro
+- added BR: eigen2-devel
+
+* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.0-1
+- new upstream release
+- split libs, kstars, marble, marble-libs and math sub-packages
+
+* Sun May 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.8-1
+- applied new versioning policy
+
+* Sat Nov 24 2007 NAKAMURA Kenta <kenta@vinelinux.org> 3.5.8-0vl3
+- added --with-qt-libraries configure option
+
+* Thu Oct 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl2
+- rebuild for VineSeed
+
+* Thu Oct 18 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.8-0vl1
+- new upstream release
+
+* Wed Jun 20 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl2
+- rebuild for VineSeed
+
+* Sat May 26 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.7-0vl1
+- new upstream release
+
+* Mon Jan 22 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.6-0vl1
+- new upstream release
+
+* Tue Oct  3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl2
+- rebuild for VineSeed
+
+* Tue Oct  3 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.5-0vl1
+- new upstream release
+
+* Sat Sep 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.5.4-0vl3
+- changed Group to Applications/Edutainment
+
+* Tue Aug  1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl2
+- rebuild for VineSeed
+
+* Tue Aug  1 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.4-0vl1
+- new upstream release
+
+* Tue May 30 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl2
+- rebuild for VineSeed
+
+* Tue May 30 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.3-0vl1
+- new upstream release
+
+* Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl2
+- rebuild for VineSeed
+
+* Thu Mar 23 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.2-0vl1
+- new upstream release
+- update description
+
+* Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl2
+- rebuild for VineSeed
+
+* Tue Jan 31 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.1-0vl1
+- new upstream release
+- add BuildPrereq: ocaml facile
+
+* Thu Dec  8 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl2
+- rebuild for VineSeed
+
+* Tue Nov 22 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl1
+- new upstream release
+
+* Mon Nov 14 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.5.0-0vl0.rc1
+- new upstream release
+- delete Patch10
+
+* Fri Nov 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl3
+- add Patch0
+
+* Wed Oct 19 2005 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.4.92-0vl2
+- added Patch10 (some kstars/apogee files includes sys/io.h,
+  but sys/io.h is NOT available on many archtectures but ix86)
+
+* Mon Oct 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.92-0vl1
+- new upstream release
+- delete all patches
+
+* Tue Sep 20 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.91-0vl1
+- new upstream release
+- delete Patch0
+- add Patch0 - Patch2
+
+* Thu Aug 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl2
+- rebuild for VineSeed
+
+* Thu Aug 11 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.2-0vl1
+- new upstream release
+- add Patch0 (http://www.kde.org/info/security/advisory-20050815-1.txt)
+
+* Thu Jun 30 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl2
+- build for VineSeed
+- add --disable-rpath to configure option
+
+* Mon Jun  6 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.1-0vl1
+- new upstream release
+- use %%{?_smp_mflags} for make option
+
+* Sat Mar 19 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl2
+- rebuild for VineSeed
+
+* Sat Mar 12 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl1
+- new upstream release
+
+* Fri Mar  4 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.4.0-0vl0.rc1
+- new upstream release (3.4.0-rc1)
+- remove patch0
+
+* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl4
+- rebuild for VineSeed
+
+* Thu Feb 17 2005 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl3
+- add Patch0 (CAN-2005-0011)
+
+* Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl2
+- rebuild for VineSeed
+
+* Sat Dec 18 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.2-0vl1
+- source upgrade
+- build for Vine Linux 3.1
+
+* Thu Oct 14 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.3.1-0vl1
+- source upgrade
+- update %%files
+
+* Wed Aug 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl2
+- rebuild with qt32
+
+* Tue Jun 15 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.3-0vl1
+- source upgrade
+- remove lines about vine26
+
+* Sat Apr  1 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.2-0vl1
+- source upgrade
+
+* Tue Mar  9 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.2.1-0vl1
+- source upgrade
+
+* Sat Jan 17 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.5-0vl2
+- rebuild for VineSeedPlus
+
+* Sun Jan 11 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.5-0vl1
+- source upgrade
+- build for VinePlus/2.6
+- (VinePlus/2.6) BuildPrereq: autoconf258
+
+* Sun Dec 28 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl3
+- build for VineSeed with new toolchain and qt-3.2.3
+
+* Sun Nov  2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0.26vl2
+- rebuild with qt-3.2.1-0.26vl3
+
+* Sun Oct 19 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl2
+- rebuild with qt-3.2.1-0vl3
+
+* Thu Sep 18 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0vl1
+- build with gcc-3.2.3
+
+* Mon Sep 15 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.4-0.26vl1
+- source upgrade
+- BuildPrereq: qt-devel >= 3.2.1 arts-devel >= 1:1.1.4
+
+* Sat Aug  2 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.3-0.26vl1
+- rebuild for Vine2.6
+
+* Mon Jul 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.3-0vl1
+- source upgrade
+- change spec to build with gcc295
+- change make option for SMP and add script
+
+* Sat May 10 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.2-0vl1
+- source upgrade
+- add BuildPrereq: zlib-devel libjpeg-devel libpng-devel
+- built with libpng >= 1.2.5 when %{vine26} is set to 0 (ie VineSeedPlus)
+- add BuildPrereq: arts-devel >= 1:1.1.2 kdelibs-devel >= %{version}
+- delete BuildPrereq: kdebase-devel >= %{version}
+
+* Sun Apr 13 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.1.1-0vl1
+- source upgrade
+- remove patch
+- change spec to make monolithic package only
+- change spec to build both VineSeed and Vine2.5/2.6
+- revised description and files section
+
+* Sat Oct 19 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl2
+- objprelink2 support only ix86 (add %ifarch %{ix86} ... )
+
+* Mon Oct 14 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.4-0vl1
+- source upgrade
+- BuildPrereq: autoconf253 objprelink2
+- fix %files for .desktop files
+
+* Tue Jul 23 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 3.0.2-1vl1
+- add BuildPrereq: autoconf252 automake15
+- add %define monolithic 1
+- add objprelink option (i386 only)
+- delete BuildPrereq: desktop-file-utils
+
+* Wed Jul 10 2002 Than Ngo <than@redhat.com> 3.0.2-1
+- 3.0.2
+- use desktop-file-install
+
+* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Sat May 25 2002 Bernhard Rosenkraenzer <bero@redhat.com>
+- initial RPM

+ 101 - 0
p/parley/parley-vl.spec

@@ -0,0 +1,101 @@
+Name: parley
+Summary: Vocabulary trainer for KDE
+Summary(ja): KDE 向けの語彙トレーナ
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/parley/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: attica-devel >= 0.1.0
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libkdeedu-devel >= %{version}
+BuildRequires: libxml2-devel
+BuildRequires: libxslt-devel
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Parley is a utility to help train vocabulary when learning a foreign 
+language. It is intended as a replacement for flash cards.
+
+This package is part of the KDE education module.
+
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
+    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
+fi
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/parley
+%{_libdir}/kde4/plasma_applet_parley.so
+%{_libdir}/kde4/plasma_engine_parley.so
+%{_datadir}/applications/kde4/parley.desktop
+%{_datadir}/config/*.knsrc
+%{_datadir}/config.kcfg/*.kcfg
+%{_datadir}/icons/hicolor/*/*/*
+%{_datadir}/kde4/apps/desktoptheme/default/widgets/*
+%{_datadir}/kde4/apps/parley
+%{_datadir}/kde4/services/plasma-dataengine-parley.desktop
+%{_datadir}/kde4/services/plasma_parley.desktop
+%doc %{_docdir}/HTML/en/parley/
+
+
+%changelog
+* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+

+ 127 - 0
r/rocs/rocs-vl.spec

@@ -0,0 +1,127 @@
+Name: rocs
+Summary: Graph theory IDE
+Summary(ja): グラフ理論向け IDE
+Version: 4.7.0
+Release: 1%{?_dist_release}
+
+License: GPLv2+
+Group: Applications/Edutainment
+URL: http://edu.kde.org/rocs/
+
+Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
+
+## upstream patches
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+BuildRequires: desktop-file-utils
+BuildRequires: kdelibs4-devel >= %{version}
+BuildRequires: libboost-devel
+BuildRequires: soprano-devel
+
+Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
+Requires: kwrite
+
+Conflicts: kdeedu4 < 4.6.50
+
+%description
+Rocs aims to be a Graph Theory IDE for helping professors to show 
+the results of a graph algorithm and also helping students to do 
+the algorithms.
+
+Rocs has a scripting module, done in Qt Script, that interacts with 
+the drawn graph and every change in the graph with the script is 
+reflected on the drawn one.
+
+This package is part of the KDE education module.
+
+%package libs
+Summary: Runtime libraries for %{name}
+Summary(ja): %{name} のランタイムライブラリ
+Group:   System Environment/Libraries
+Conflicts: kdeedu4-math-libs < 4.6.50
+
+%description libs
+%{summary}.
+
+%package devel
+Summary: Development files for %{name}
+Summary(ja): %{name} の開発用ファイル
+Group: Development/Libraries
+Requires: %{name}-libs = %{version}-%{release}
+Conflicts: kdeedu4-devel < 4.6.50
+
+%description devel
+Header files for developing applications using %{name}.
+
+%prep
+%setup -q 
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+unset QTDIR || : ; . /etc/profile.d/qt4.sh
+%cmake \
+    -DCMAKE_BUILD_TYPE=release \
+    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
+    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
+    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
+    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
+    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
+    ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+%clean
+rm -rf $RPM_BUILD_ROOT 
+
+%check
+for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
+    desktop-file-validate $f
+done
+
+
+%posttrans
+update-desktop-database -q &> /dev/null ||:
+
+%postun
+if [ $1 -eq 0 ] ; then
+    update-desktop-database -q &> /dev/null ||:
+fi
+
+%post libs -p /sbin/ldconfig
+
+%postun libs -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root)
+%doc COPYING COPYING.DOC
+%{_bindir}/rocs
+%{_libdir}/kde4/rocs_*.so
+%{_datadir}/applications/kde4/rocs.desktop
+%{_datadir}/config/rocs.knsrc
+%{_datadir}/config.kcfg/rocs.kcfg
+%{_datadir}/kde4/apps/rocs
+%{_datadir}/kde4/services/rocs_*.desktop
+%{_datadir}/kde4/servicetypes/Rocs*.desktop
+%doc %{_docdir}/HTML/en/rocs/
+
+%files libs
+%defattr(-,root,root)
+%{_libdir}/librocslib.so.*
+
+%files devel
+%defattr(-,root,root)
+%{_includedir}/kde4/rocs
+%{_libdir}/librocslib.so
+
+
+%changelog
+* Sat Sep  3 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
+- split from kdeedu
+