Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
kdeedu4-noarch
kdeedu4.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdeedu4.spec of Package kdeedu4-noarch
# # spec file for package kdeedu4 # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: kdeedu4 BuildRequires: boost-devel freeglut-devel kdebase4-workspace-devel BuildRequires: gsl-devel libeigen2-devel libspectre-devel python-qt4-devel BuildRequires: libgmm++-devel readline-devel BuildRequires: libcfitsio-devel libindi-devel libqalculate-devel BuildRequires: libopenbabel-devel %if 0%{?sles_version} == 0 BuildRequires: glew-devel python python-devel %if 0%{?suse_version} > 1120 BuildRequires: avogadro-devel %endif %py_requires %endif %if 0%{?suse_version} > 1130 BuildRequires: R-base-devel #Fortran is also required to build the R-backend for Cantor BuildRequires: gcc-fortran %endif # currently in DOESNOTBUILD (2008-07-03) %ifnarch ppc ppc64 s390 s390x BuildRequires: ocaml ocaml-facile %endif %if 0 #arch %ix86 #BuildRequires: sbig %endif BuildRequires: fdupes License: GPLv2+ Group: System/GUI/KDE Summary: General Data for KDE Education Applications Url: http://edu.kde.org Version: 4.6.0 Release: 1 Source0: kdeedu-%version.tar.bz2 Patch0: 4_6_BRANCH.diff Patch1: marble-designer-plugin.diff Patch2: desktop-files.diff Patch3: kstars-skip-data.diff %if %suse_version < 1130 Patch4: no-build_for_rocs.diff %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %kde4_runtime_requires Requires: libkdeedu4 Suggests: libkdeedu4 Suggests: blinken Suggests: kalzium Suggests: kanagram Suggests: kbruch Suggests: kgeography Suggests: khangman Suggests: kig Suggests: kiten Suggests: klatin Suggests: klettres Suggests: kmplot Suggests: kstars Suggests: ktouch Suggests: kturtle Suggests: parley Suggests: kwordquiz Suggests: marble Suggests: kalgebra Suggests: step %if %suse_version > 1120 Suggests: rocs %endif Suggests: cantor %description This package contains data which is required by the KDE education library. Authors: -------- The KDE Team <kde@kde.org> %prep %setup -q -n kdeedu-%version %patch0 -p0 %patch1 %patch2 %patch3 %if %suse_version < 1130 %patch4 -p0 %endif %build %ifarch ppc ppc64 export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -mminimal-toc" %endif %cmake_kde4 -d build %make_jobs %install cd build %makeinstall %if 0 mv $RPM_BUILD_ROOT/usr/share/icons/oxygen/scalable/apps/parley.svgz $RPM_BUILD_ROOT/usr/share/icons/hicolor/scalable/apps/ mv $RPM_BUILD_ROOT/usr/share/icons/oxygen/128x128/apps/parley.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/128x128/apps/ mv $RPM_BUILD_ROOT/usr/share/icons/oxygen/16x16/apps/parley.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/16x16/apps/ mv $RPM_BUILD_ROOT/usr/share/icons/oxygen/32x32/apps/parley.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/ mv $RPM_BUILD_ROOT/usr/share/icons/oxygen/48x48/apps/parley.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/48x48/apps/ mv $RPM_BUILD_ROOT/usr/share/icons/oxygen/64x64/apps/parley.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/64x64/apps/ %endif %create_subdir_filelist -d libkdeedu -v libkdeedu.devel %create_subdir_filelist -d marble -v marble.devel %create_subdir_filelist -d blinken %create_subdir_filelist -d kalzium -v kalzium.devel %create_subdir_filelist -d kanagram %create_subdir_filelist -d kbruch %create_subdir_filelist -d kalgebra %create_subdir_filelist -d kgeography %create_subdir_filelist -d khangman %create_subdir_filelist -d kig %create_subdir_filelist -d kiten %create_subdir_filelist -d klettres %create_subdir_filelist -d kmplot %create_subdir_filelist -d kstars %create_subdir_filelist -d ktouch %create_subdir_filelist -d kturtle %create_subdir_filelist -d parley %create_subdir_filelist -d kwordquiz %create_subdir_filelist -d step %create_subdir_filelist -d cantor %if %suse_version > 1120 %create_subdir_filelist -d rocs -v rocs.devel %endif cd .. sed -ri s,.*libsbigudrv.so.*,, filelists/kstars sed -ri s,.*/usr/share/kde4/apps/marble/data.*,, filelists/marble %if 0 sed -ri s,.*/usr/share/icons/oxygen/.*/apps/parley.*,, filelists/parley %endif %create_exclude_filelist %suse_update_desktop_file khangman Education Languages %suse_update_desktop_file kiten Education Languages %suse_update_desktop_file klettres Education Languages %suse_update_desktop_file parley Education Languages %suse_update_desktop_file kwordquiz Education Languages %suse_update_desktop_file kbruch Education Math %suse_update_desktop_file kalgebra Education Math %suse_update_desktop_file kig Education Math %suse_update_desktop_file kmplot Education Math %suse_update_desktop_file kturtle Education Math %suse_update_desktop_file kalzium Education Chemistry %suse_update_desktop_file step Education Physics X-KDE-Edu-Teaching %suse_update_desktop_file kstars Education Astronomy %if %suse_version > 1100 %suse_update_desktop_file marble Education Geography %else %suse_update_desktop_file marble Education Astronomy %endif %suse_update_desktop_file ktouch Education X-KDE-Edu-Teaching %suse_update_desktop_file blinken Education X-KDE-Edu-Teaching %if %suse_version > 1100 %suse_update_desktop_file kgeography Education Geography %else %suse_update_desktop_file kgeography Education X-KDE-Edu-Teaching %endif %suse_update_desktop_file kanagram Education Languages %suse_update_desktop_file cantor Education Math %if %suse_version > 1120 %suse_update_desktop_file rocs Education Math %endif %kde_post_install # no conflict with sbig package # rm $RPM_BUILD_ROOT/usr/%_lib/libsbigudrv.* rm -rf $RPM_BUILD_ROOT/usr/share/kde4/apps/marble/data %if %suse_version > 1020 %fdupes -s $RPM_BUILD_ROOT %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT rm -rf filelists %package -n libkdeedu4 License: GPLv2+ Group: System/GUI/KDE Summary: Library for KDE Education Applications %kde4_runtime_requires %description -n libkdeedu4 This package contains the KDE education library. Authors: -------- The KDE Team <kde@kde.org> %post -n libkdeedu4 -p /sbin/ldconfig %postun -n libkdeedu4 -p /sbin/ldconfig %files -n libkdeedu4 -f filelists/libkdeedu %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n libkdeedu4-devel License: GPLv2+ Group: System/GUI/KDE Summary: Library for KDE Education Applications: Build Environment Requires: libkdeedu4 = %version kdeedu4 = %version Requires: libkde4-devel %description -n libkdeedu4-devel This package contains all necessary files and libraries needed to develop KDE education applications. Authors: -------- The KDE Team <kde@kde.org> %files -n libkdeedu4-devel -f filelists/libkdeedu.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/libkdeedu %_kde4_appsdir/cmake/modules/FindKDEEdu.cmake %package -n blinken License: GPLv2+ Group: Amusements/Games/Other Summary: Simon Says Game Provides: kde4-blinken = 4.3.0 Obsoletes: kde4-blinken < 4.3.0 %kde4_runtime_requires %description -n blinken A memory enhancement game Authors: -------- The KDE Team <kde@kde.org> %post -n blinken -p /sbin/ldconfig %postun -n blinken -p /sbin/ldconfig %files -n blinken -f filelists/blinken %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n marble License: LGPLv2.1+ Group: Amusements/Teaching/Other Summary: A generic map viewer %kde4_runtime_requires Requires: marble-data = %version Provides: kde4-marble = 4.3.0 Obsoletes: kde4-marble < 4.3.0 %description -n marble Marble is a viewer of map data Authors: -------- The KDE Team <kde@kde.org> %post -n marble -p /sbin/ldconfig %postun -n marble -p /sbin/ldconfig %files -n marble -f filelists/marble %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/marble_part %dir %_kde4_modulesdir/plugins/marble %dir %_kde4_modulesdir/plugins/marble/org %dir %_kde4_modulesdir/plugins/marble/org/kde %dir %_kde4_modulesdir/plugins/marble/org/kde/edu %dir %_kde4_modulesdir/plugins/marble/org/kde/edu/marble %package -n marble-devel License: LGPLv2.1+ Group: Amusements/Teaching/Other Summary: A generic map viewer: Build Environment Requires: marble Provides: kde4-marble-devel = 4.3.0 Obsoletes: kde4-marble-devel < 4.3.0 %description -n marble-devel Marble is a viewer of map data Authors: -------- The KDE Team <kde@kde.org> %files -n marble-devel -f filelists/marble.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/marble %_kde4_appsdir/cmake/modules/FindMarbleWidget.cmake %package -n kalzium License: GPLv2+ Group: Productivity/Scientific/Chemistry Summary: Periodic Table of Elements # currently in DOESNOTBUILD (2008-07-03) %ifnarch ppc ppc64 s390 s390x Requires: ocaml-facile %endif %kde4_runtime_requires Requires: kdeedu4 Provides: kde4-kalzium = 4.3.0 Obsoletes: kde4-kalzium < 4.3.0 %description -n kalzium Kalzium shows a periodic table of the elements. Authors: -------- The KDE Team <kde@kde.org> %post -n kalzium -p /sbin/ldconfig %postun -n kalzium -p /sbin/ldconfig %files -n kalzium -f filelists/kalzium %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/desktoptheme %dir %_kde4_appsdir/desktoptheme/default %dir %_kde4_appsdir/desktoptheme/default/widgets #%dir %_kde4_libdir/avogadro-kalzium #%dir %_kde4_libdir/avogadro-kalzium/colors #%dir %_kde4_libdir/avogadro-kalzium/engines #%dir %_kde4_libdir/avogadro-kalzium/tools %if 0 %package -n kalzium-devel License: GPL v2 or later Group: Productivity/Scientific/Chemistry Summary: Periodic Table of Elements Requires: kalzium %description -n kalzium-devel Kalzium shows a periodic table of the elements. Authors: -------- The KDE Team <kde@kde.org> %files -n kalzium-devel -f filelists/kalzium.devel %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/conversion %endif %package -n step License: GPLv2+ Group: Productivity/Scientific/Physics Summary: Step - A interactive physics simulator %kde4_runtime_requires Requires: kdeedu4 Provides: kde4-step = 4.3.0 Obsoletes: kde4-step < 4.3.0 %description -n step Step is an interactive physical simulator. It works like this: you place some bodies on the scene, add some forces such as gravity or springs, then click "Simulate" and Step shows you how your scene will evolve according to the laws of physics. You can change every property of bodies/forces in your experiment (even during simulation) and see how this will change evolution of the experiment. With Step you can not only learn but feel how physics works ! Authors: -------- The KDE Team <kde@kde.org> %post -n step -p /sbin/ldconfig %postun -n step -p /sbin/ldconfig %files -n step -f filelists/step %defattr(-,root,root) %doc %lang(en) %_kde4_htmldir/en/step %package -n kanagram License: GPLv2+ Group: Amusements/Teaching/Language Summary: Anagram Game %kde4_runtime_requires Requires: kdeedu4 Provides: kde4-kanagram = 4.3.0 Obsoletes: kde4-kanagram < 4.3.0 %description -n kanagram Kanagram is a letter order game. Authors: -------- The KDE Team <kde@kde.org> %post -n kanagram -p /sbin/ldconfig %postun -n kanagram -p /sbin/ldconfig %files -n kanagram -f filelists/kanagram %defattr(-,root,root) %doc COPYING COPYING.DOC README %config %_kde_config_dir/kanagram.knsrc %package -n kbruch License: GPLv2+ Group: Amusements/Teaching/Mathematics Summary: Excercise Fractions %kde4_runtime_requires Provides: kde4-kbruch = 4.3.0 Obsoletes: kde4-kbruch < 4.3.0 %description -n kbruch KBruch is an application to learn calculating with fractions. Authors: -------- The KDE Team <kde@kde.org> %post -n kbruch -p /sbin/ldconfig %postun -n kbruch -p /sbin/ldconfig %files -n kbruch -f filelists/kbruch %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kalgebra License: GPLv2+ Group: Productivity/Scientific/Math Summary: Math Expression Solver and Plotter %kde4_runtime_requires Provides: kde4-kalgebra = 4.3.0 Obsoletes: kde4-kalgebra < 4.3.0 %description -n kalgebra KAlgebra is a math expression solver and plotter. Authors: -------- The KDE Team <kde@kde.org> %post -n kalgebra -p /sbin/ldconfig %postun -n kalgebra -p /sbin/ldconfig %files -n kalgebra -f filelists/kalgebra %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kgeography License: GPLv2+ Group: Amusements/Teaching/Other Summary: Geography Trainer %kde4_runtime_requires Provides: kde4-kgeography = 4.3.0 Obsoletes: kde4-kgeography < 4.3.0 %description -n kgeography KGreography is a geography learning program Authors: -------- The KDE Team <kde@kde.org> %post -n kgeography -p /sbin/ldconfig %postun -n kgeography -p /sbin/ldconfig %files -n kgeography -f filelists/kgeography %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n khangman License: GPLv2+ Group: Amusements/Teaching/Language Summary: Hangman Game %kde4_runtime_requires Requires: kdeedu4 = %version Provides: kde4-khangman = 4.3.0 Obsoletes: kde4-khangman < 4.3.0 %description -n khangman Classical hangman game for KDE Authors: -------- The KDE Team <kde@kde.org> %post -n khangman -p /sbin/ldconfig %postun -n khangman -p /sbin/ldconfig %files -n khangman -f filelists/khangman %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/kvtml %dir %_kde4_appsdir/kvtml/en %package -n kig License: GPLv2+ Group: Productivity/Scientific/Math Summary: Interactive Geometry %kde4_runtime_requires Provides: kde4-kig = 4.3.0 Obsoletes: kde4-kig < 4.3.0 %description -n kig Kig is an application for Interactive Geometry. It's intended to serve two purposes: Allow students to interactively explore mathematical figures and concepts using the computer. Serve as a WYSIWYG tool for drawing mathematical figures and including them in other documents. Authors: -------- The KDE Team <kde@kde.org> %post -n kig -p /sbin/ldconfig %postun -n kig -p /sbin/ldconfig %files -n kig -f filelists/kig %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kiten License: GPLv2+ Group: Amusements/Teaching/Language Summary: Japanese Reference/Study Tool %kde4_runtime_requires Provides: kde4-kiten = 4.3.0 Obsoletes: kde4-kiten < 4.3.0 %description -n kiten Kiten is a tool to learn Japanese Authors: -------- The KDE Team <kde@kde.org> %post -n kiten -p /sbin/ldconfig %postun -n kiten -p /sbin/ldconfig %files -n kiten -f filelists/kiten %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir /usr/include/libkiten %dir %_kde4_appsdir/kitenradselect %package -n klettres License: GPLv2+ Group: Amusements/Teaching/Language Summary: Alphabet Learning Game %kde4_runtime_requires Provides: kde4-klettres = 4.3.0 Obsoletes: kde4-klettres < 4.3.0 %description -n klettres Helps to learn the alphabet and read some syllables Authors: -------- The KDE Team <kde@kde.org> %post -n klettres -p /sbin/ldconfig %postun -n klettres -p /sbin/ldconfig %files -n klettres -f filelists/klettres %defattr(-,root,root) %doc COPYING COPYING.DOC README %config %_kde_config_dir/klettres.knsrc %package -n kmplot License: GPLv2+ Group: Productivity/Scientific/Math Summary: Mathematical Function Plotter %kde4_runtime_requires Provides: kde4-kmplot = 4.3.0 Obsoletes: kde4-kmplot < 4.3.0 %description -n kmplot Mathematical function plotter for KDE Authors: -------- The KDE Team <kde@kde.org> %post -n kmplot -p /sbin/ldconfig %postun -n kmplot -p /sbin/ldconfig %files -n kmplot -f filelists/kmplot %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n libSatLib4 License: GPLv2+ Group: Productivity/Scientific/Astronomy Summary: A library for kstars %description -n libSatLib4 libSatLib is an library for KStars %package -n kstars License: GPLv2+ Group: Productivity/Scientific/Astronomy Summary: Desktop Planetarium %kde4_runtime_requires Requires: kstars-data = %version Requires: kdeedu4 = %version Provides: kde4-kstars = 4.3.0 Obsoletes: kde4-kstars < 4.3.0 %description -n kstars KStars is a desktop planetarium for KDE. %files -n kstars -f filelists/kstars %defattr(-,root,root) %doc COPYING COPYING.DOC README %exclude %_kde4_libdir/libSatLib.so.* %post -n libSatLib4 -p /sbin/ldconfig %postun -n libSatLib4 -p /sbin/ldconfig %files -n libSatLib4 %defattr(-,root,root) %_kde4_libdir/libSatLib.so.* %package -n ktouch License: GPLv2+ Group: Amusements/Teaching/Other Summary: Touch Typing Tutor %kde4_runtime_requires Provides: kde4-ktouch = 4.3.0 Obsoletes: kde4-ktouch < 4.3.0 %description -n ktouch A KDE program that helps you to learn and practice touch typing. %post -n ktouch -p /sbin/ldconfig %postun -n ktouch -p /sbin/ldconfig %files -n ktouch -f filelists/ktouch %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n kturtle License: GPLv2+ Group: Amusements/Teaching/Mathematics Summary: Logo Programming Environment %kde4_runtime_requires Provides: kde4-kturtle = 4.3.0 Obsoletes: kde4-kturtle < 4.3.0 %description -n kturtle KTurtle is an educational Logo programming environment. Authors: -------- The KDE Team <kde@kde.org> %post -n kturtle -p /sbin/ldconfig %postun -n kturtle -p /sbin/ldconfig %files -n kturtle -f filelists/kturtle %defattr(-,root,root) %doc COPYING COPYING.DOC README %package -n parley License: GPLv2+ Group: Amusements/Teaching/Language Summary: Vocabulary Trainer %kde4_runtime_requires Requires: kdeedu4 Provides: kde4-parley = 4.3.0 Obsoletes: kde4-parley < 4.3.0 %description -n parley Parley is a vocabulary trainer for KDE. Authors: -------- The KDE Team <kde@kde.org> %post -n parley -p /sbin/ldconfig %postun -n parley -p /sbin/ldconfig %files -n parley -f filelists/parley %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/desktoptheme %dir %_kde4_appsdir/desktoptheme/default %dir %_kde4_appsdir/desktoptheme/default/widgets %if 0 %_kde4_iconsdir/hicolor/*/apps/parley.* %endif %package -n kwordquiz License: GPLv2+ Group: Amusements/Teaching/Language Summary: Vocabulary Trainer %kde4_runtime_requires Requires: kdeedu4 Provides: kde4-kwordquiz = 4.3.0 Obsoletes: kde4-kwordquiz < 4.3.0 %description -n kwordquiz A powerful flashcard and vocabulary learning program Authors: -------- The KDE Team <kde@kde.org> %post -n kwordquiz -p /sbin/ldconfig %postun -n kwordquiz -p /sbin/ldconfig %files -n kwordquiz -f filelists/kwordquiz %defattr(-,root,root) %doc COPYING COPYING.DOC README %config %_kde_config_dir/kwordquiz.knsrc %package -n cantor License: GPLv2+ Group: Amusements/Teaching/Mathematics Summary: Worksheet GUI for mathematical software %kde4_runtime_requires %description -n cantor a frontend to several existing mathematical software such as R, Sage and Maxima: Cantor. Cantor offers a worksheet as a nice GUI for all those backends and is not targeted to kids but to scientists Authors: -------- The KDE Team <kde@kde.org> %post -n cantor -p /sbin/ldconfig %postun -n cantor -p /sbin/ldconfig %files -n cantor -f filelists/cantor %defattr(-,root,root) %dir %_kde4_appsdir/cantorpart %dir %_kde4_servicesdir/cantor %if %suse_version > 1120 %package -n rocs License: GPLv2+ Group: Amusements/Teaching/Mathematics Summary: Graph Theory IDE for professors and students: %kde4_runtime_requires %description -n rocs A Graph Theory IDE for professors and students: Authors: -------- The KDE Team <kde@kde.org> %post -n rocs -p /sbin/ldconfig %postun -n rocs -p /sbin/ldconfig %files -n rocs -f filelists/rocs %defattr(-,root,root) %package -n rocs-devel License: GPLv2+ Group: Amusements/Teaching/Mathematics Summary: Graph Theory IDE for professors and students: Requires: rocs %description -n rocs-devel A Graph Theory IDE for professors and students: %post -n rocs-devel -p /sbin/ldconfig %postun -n rocs-devel -p /sbin/ldconfig %files -n rocs-devel -f filelists/rocs.devel %defattr(-,root,root) %dir /usr/include/rocs %endif %files -f filelists/exclude %defattr(-,root,root) %doc COPYING COPYING.DOC README %dir %_kde4_appsdir/libkdeedu %_kde4_appsdir/kvtml/en %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor