Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > 5aa598adc423d2bd3346dcbdc2765019 > files > 2

kdeedu4-4.1.2-1mdv2009.0.src.rpm

Name: kdeedu4
Summary: Free Educational Software based on the KDE technologies
Version: 4.1.2
Group: Graphical desktop/KDE
License: GPL
URL: http://edu.kde.org
Release: %mkrel 1
Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/kdeedu-%version.tar.bz2
Buildroot: %_tmppath/%name-%version-%release-root
BuildRequires: jpeg-devel 
BuildRequires: png-devel 
BuildRequires: libimlib-devel 
BuildRequires: libtiff-devel
BuildRequires: python-devel
BuildRequires: boost-devel
BuildRequires: facile
BuildRequires: ocaml
BuildRequires: zlib-devel 
BuildRequires: bzip2-devel
BuildRequires: gettext texinfo
BuildRequires: kdelibs4-devel
BuildRequires: X11-devel 
BuildRequires: freetype2-devel
BuildRequires: OpenEXR-devel
BuildRequires: cfitsio-devel
BuildRequires: eigen-devel >= 1.0.5
BuildRequires: openbabel-devel >= 2.2
BuildRequires: libusb-devel
BuildRequires: ncurses-devel
BuildRequires: libreadline-devel
BuildRequires: getfem++
BuildRequires: libnova-devel >= 0.12.1
BuildRequires: qalculate-devel
# Disable for a while until a proper 0.5 version can be built
#BuildRequires: indi-devel
BuildRequires: gsl-devel
BuildRequires: libxml2-devel
BuildRequires: libxslt-devel
BuildRequires: kdebase4-workspace-devel
Requires: blinken
Requires: kalgebra
Requires: kalzium
Requires: kanagram
Requires: kbruch
Requires: kgeography
Requires: khangman
Requires: kig
Requires: kiten
Requires: klettres
Requires: kmplot
Requires: kpercentage
Requires: kstars
Requires: ktouch
Requires: kturtle
Requires: parley
Requires: kwordquiz
Requires: marble
Requires: step

%description
%{name} metapackage, which contains: 
* blinken: Simon Says Game
* kalgebra: MathML-based graph calculator
* kbruch: Exercise Fractions
* kgeography: Geography Trainer
* khangman: Hangman Game
* kig: Interactive Geometry
* kiten: Japanese Reference/Study Tool
* klettres: French alphabet tutor
* kmplot: Mathematical Function Plotter
* kpercentage: Excersie Percentages
* ktouch: Touch Typing Tutor
* kturtle: Logo Programming Environment
* kvoctrain: Vocabulary Trainer
* kwordquiz: Vocabulary Trainer
* marble: Virtual Globe

%files
%defattr(-,root,root,-)
%doc README

#----------------------------------------------------------------------

%package     core
Summary:     %name core files
Group:       Graphical desktop/KDE
Requires:    kdelibs4-core
Obsoletes:   %{_lib}kdeeducore4 < 3.92.0-0.697083.1

%description core
Core files for %{name}.

%files core
%defattr(-,root,root)
%_kde_iconsdir/*/*/*/*
%_kde_appsdir/libkdeedu

#----------------------------------------------------------------------

%package -n     blinken
Summary:        Simon Says Game
URL:		http://edu.kde.org/blinken
Group:          Graphical desktop/KDE
Requires:       %name-core = %version
Obsoletes:      %name-blinken < 3.93.0-0.714236.1
Obsoletes:      kde4-blinken < 1:4.0.68
Provides:       kde4-blinken = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n blinken
Blinken is the KDE version of the well-known game Simon Says.
Follow the pattern of sounds and lights as long as you can! Press the
start game button to begin. Watch the computer and copy the pattern it
makes. Complete the sequence in the right order to win.

%files -n blinken
%defattr(-,root,root)
%_kde_appsdir/blinken
%_kde_bindir/blinken
%_kde_datadir/applications/kde4/blinken.desktop
%_kde_datadir/config.kcfg/blinken.kcfg
%_kde_docdir/HTML/*/blinken

#---------------------------------------------

%package -n 	kalgebra
Summary: 	MathML-based graph calculator
URL:		http://edu.kde.org/kalgebra
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kalgebra < 3.93.0-0.714236.1
Obsoletes:      kde4-kalgebra < 1:4.0.68
Provides:       kde4-kalgebra = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kalgebra
KAlgebra is a mathematical calculator based content markup MathML
language. Nowadays it is capable to make simple MathML operations
(arithmetic and logical) and representate 2D and 3D graphs. It is
actually not necessary to know MathML to use KAlgebra.

%files -n kalgebra
%defattr(-,root,root)
%_kde_bindir/kalgebra
%_kde_bindir/calgebra
%_kde_datadir/applications/kde4/kalgebra.desktop
%_kde_datadir/kde4/services/kalgebraplasmoid.desktop
%_kde_libdir/kde4/plasma_applet_kalgebra.so
%_kde_docdir/HTML/*/kalgebra

#---------------------------------------------

%package -n     kalzium
Summary:        Shows the periodic system of the elements
URL:		http://edu.kde.org/kalzium
Group:          Graphical desktop/KDE
Requires:       %name-core = %version
Obsoletes:      %name-kalzium < 3.93.0-0.714236.1
Obsoletes:      kde4-kalzium < 1:4.0.68
Provides:       kde4-kalzium = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kalzium
Kalzium is an application which will show you some information about the
periodic system of the elements. Therefore you could use it as an
information database.

%files -n kalzium
%defattr(-,root,root)
%_kde_bindir/kalzium
%_kde_appsdir/kalzium
%_kde_datadir/applications/kde4/kalzium.desktop
%_kde_datadir/config.kcfg/kalzium.kcfg
%_kde_datadir/config/kalzium.knsrc
%_kde_libdir/avogadro-kalzium
%_kde_libdir/kde4/plugins/designer/kalziumuiwidgets.so
%_kde_docdir/HTML/*/kalzium

#---------------------------------------------                    

%define compoundviewer_major 4                                                                  
%define libcompoundviewer %mklibname compoundviewer %{compoundviewer_major}
                                                                  
%package -n %libcompoundviewer                                    
Summary: KDE 4 library                                            
Group: System/Libraries                                           
                                                                  
%description -n %libcompoundviewer                                
KDE 4 library                                                     
                                                                  
%if %mdkversion < 200900
%post -n %libcompoundviewer -p /sbin/ldconfig                     
%endif
%if %mdkversion < 200900
%postun -n %libcompoundviewer -p /sbin/ldconfig                   
%endif
                                                                  
%files -n %libcompoundviewer                                      
%defattr(-,root,root)                                             
%_kde_libdir/libcompoundviewer.so.%{compoundviewer_major}*                               
                                                                  
#---------------------------------------------
                      
%define avogadro_kalzium_major 0
%define libavogadro_kalzium %mklibname avogadro-kalzium %{avogadro_kalzium_major}
                                                                  
%package -n %libavogadro_kalzium                                  
Summary: KDE 4 library                                            
Group: System/Libraries                                           
Obsoletes: %{_lib}avogadro_kalzium4 <= 4.0.71-1
                                  
%description -n %libavogadro_kalzium                              
KDE 4 library                                                     
                                                                  
%if %mdkversion < 200900
%post -n %libavogadro_kalzium -p /sbin/ldconfig                   
%endif
%if %mdkversion < 200900
%postun -n %libavogadro_kalzium -p /sbin/ldconfig                 
%endif
                                                                  
%files -n %libavogadro_kalzium         
%defattr(-,root,root)                                             
%_kde_libdir/libavogadro-kalzium.so.%{avogadro_kalzium_major}*                             
                                                                  
#---------------------------------------------                    

%package -n 	kanagram
Summary: 	Word learning program
URL:		http://edu.kde.org/kanagram
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kanagram < 3.93.0-0.714236.1
Obsoletes:      kde4-kanagram < 1:4.0.68
Provides:       kde4-kanagram = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kanagram
Kanagram is a replacement for KMessedWords. Kanagram mixes up the letters
of a word (creating an anagram), and you have to guess what the mixed up
word is. Kanagram features several built-in word lists, hints, and a cheat
feature which reveals the original word. Kanagram also has a vocabulary
editor, so you can make your own vocabularies, and distribute them through
Kanagram's KNewStuff download service.

%files -n kanagram
%defattr(-,root,root)
%_kde_appsdir/kvtml
%_kde_appsdir/kanagram
%_kde_bindir/kanagram
%_kde_datadir/applications/kde4/kanagram.desktop
%_kde_datadir/config.kcfg/kanagram.kcfg
%_kde_datadir/config/kanagram.knsrc
%_kde_docdir/HTML/*/kanagram

#---------------------------------------------

%package -n 	kbruch
Summary: 	Practice calculating with fractions
URL:		http://edu.kde.org/kbruch
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kbruch < 3.93.0-0.714236.1
Obsoletes:      kde4-kbruch < 1:4.0.68
Provides:       kde4-kbruch = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kbruch
KBruch is a small program to practice calculating with fractions.

%files -n kbruch
%defattr(-,root,root)
%_kde_appsdir/kbruch
%_kde_bindir/kbruch
%_kde_datadir/applications/kde4/kbruch.desktop
%_kde_datadir/config.kcfg/kbruch.kcfg
%_kde_docdir/HTML/*/kbruch

#---------------------------------------------

%package -n 	kgeography
Summary: 	A geography learning program
URL:		http://edu.kde.org/kgeography
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kgeography < 3.93.0-0.714236.1
Obsoletes:      kde4-kgeography < 1:4.0.68
Provides:       kde4-kgeography = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kgeography
KGeography is a geography learning program.

%files -n kgeography
%defattr(-,root,root)
%_kde_appsdir/kgeography
%_kde_bindir/kgeography
%_kde_datadir/applications/kde4/kgeography.desktop
%_kde_datadir/config.kcfg/kgeography.kcfg
%_kde_docdir/HTML/*/kgeography

#---------------------------------------------

%package -n 	khangman
Summary: 	Classical hangman game
URL:		http://edu.kde.org/khangman
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-khangman < 3.93.0-0.714236.1
Obsoletes:      kde4-khangman < 1:4.0.69-2
Provides:       kde4-khangman = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n khangman
KHangman is the classical hangman game. The child should guess a word
letter by letter. At each miss, the picture of a hangman appears. After
10 tries, if the word is not guessed, the game is over and the answer
is displayed.

%files -n khangman
%defattr(-,root,root)
%_kde_appsdir/khangman
%_kde_bindir/khangman
%_kde_datadir/applications/kde4/khangman.desktop
%_kde_datadir/config.kcfg/khangman.kcfg
%_kde_datadir/config/khangman.knsrc
%_kde_docdir/HTML/*/khangman

#---------------------------------------------

%package -n 	kig
Summary: 	A program for exploring geometric constructions
URL:		http://edu.kde.org/kig
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kig < 3.93.0-0.714236.1
Obsoletes:      kde4-kig < 1:4.0.68
Provides:       kde4-kig = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kig
Kig is a program for exploring geometric constructions.

%files -n kig
%defattr(-,root,root)
%_kde_appsdir/kig
%_kde_bindir/kig
%_kde_bindir/pykig.py
%_kde_libdir/kde4/kigpart.so
%_kde_datadir/applications/kde4/kig.desktop
%_kde_datadir/kde4/services/kig_part.desktop
%_kde_appsdir/katepart/syntax/python-kig.xml
%_kde_docdir/HTML/*/kig

#---------------------------------------------

%package -n 	kiten
Summary: 	A Japanese reference/learning tool
URL:		http://edu.kde.org/kiten/
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kiten < 3.93.0-0.714236.1
Obsoletes:      kde4-kiten < 1:4.0.68
Provides:       kde4-kiten = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kiten
Kiten is a Japanese reference/learning tool.

Kiten features:
* Search with english keyword, Japanese reading, or a Kanji string on a
  list of EDICT files.
* Search with english keyword, Japanese reading, number of strokes, grade
  number, or a Kanji on a list of KANJIDIC files.
* Comes with all necessary files.
* Very fast.
* Limit searches to only common entries.
* Nested searches of results possible.
* Compact, small, fast interface.
* Global KDE keybindings for searching highlighted strings.
* Learning dialog. (One can even open up multiple ones and have them sync
  between each other.)
* Browse Kanji by grade.
* Add Kanji to a list for later learning.
* Browse list, and get quizzed on them.

%files -n kiten
%defattr(-,root,root)
%_kde_appsdir/kiten
%_kde_appsdir/kitenradselect
%_kde_bindir/kiten
%_kde_bindir/kitengen
%_kde_bindir/kitenradselect
%_kde_datadir/applications/kde4/kiten.desktop
%_kde_datadir/config.kcfg/kiten.kcfg
%_kde_docdir/HTML/*/kiten

#---------------------------------------------

%define libkiten %mklibname kiten 4

%package -n %libkiten
Summary: KDE 4 library
Group: System/Libraries

%description -n %libkiten
KDE 4 library

%if %mdkversion < 200900
%post -n %libkiten -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libkiten -p /sbin/ldconfig
%endif

%files -n %libkiten
%defattr(-,root,root)
%_kde_libdir/libkiten.so.*

#---------------------------------------------

%package -n 	klettres
Summary: 	Language learning program
URL:		http://edu.kde.org/klettres/
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-klettres < 3.93.0-0.714236.1
Obsoletes:      kde4-klettres < 1:4.0.68
Provides:       kde4-klettres = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n klettres
KLettres aims to help to learn the alphabet and then to read some syllables
in different languages. It is meant to help learning the very first sounds
of a new language, for children or for adults.

%files -n klettres
%defattr(-,root,root)
%_kde_appsdir/klettres
%_kde_bindir/klettres
%_kde_datadir/applications/kde4/klettres.desktop
%_kde_datadir/config.kcfg/klettres.kcfg
%_kde_datadir/config/klettres.knsrc
%_kde_docdir/HTML/*/klettres

#---------------------------------------------

%package -n 	kmplot
Summary: 	A mathematical function plotter
URL:		http://edu.kde.org/kmplot
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kmplot < 3.93.0-0.714236.1
Obsoletes:      kde4-kmplot < 1:4.0.68
Provides:       kde4-kmplot = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kmplot
KmPlot is a mathematical function plotter for the KDE-Desktop.

It has built in a powerfull parser. You can plot different functions
simultaneously and combine their function terms to build new functions.
KmPlot supports functions with parameters and functions in polar
coordinates. Several grid modes are possible. Plots may be printed with
high precision in correct scale.

%files -n kmplot
%defattr(-,root,root)
%_kde_appsdir/kmplot
%_kde_bindir/kmplot
%_kde_libdir/kde4/libkmplotpart.so
%_kde_datadir/applications/kde4/kmplot.desktop
%_kde_datadir/config.kcfg/kmplot.kcfg
%_kde_datadir/kde4/services/kmplot_part.desktop
%_kde_docdir/HTML/*/kmplot

#---------------------------------------------

%package -n 	kpercentage
Summary: 	Percentages training program
URL:		http://edu.kde.org/kpercentage/
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kpercentage < 3.93.0-0.714236.1
Obsoletes:      kde4-kpercentage < 1:4.0.68
Provides:       kde4-kpercentage = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kpercentage
KPercentage is a small math application that will help pupils to improve
their skills in calculating percentages.

%files -n kpercentage
%defattr(-,root,root)
%_kde_appsdir/kpercentage
%_kde_bindir/kpercentage
%_kde_datadir/applications/kde4/kpercentage.desktop
%_kde_docdir/HTML/*/kpercentage

#---------------------------------------------

%package -n 	kstars
Summary:    	A Desktop Planetarium
URL:		http://edu.kde.org/kstars
Group:      	Graphical desktop/KDE
Requires:   	%name-core = %version
Obsoletes:  	%name-kstars < 3.93.0-0.714236.1
Obsoletes:  	%{_lib}extdate4 < 3.96.0-0.737193.1
Obsoletes:  	kde4-kstars < 1:4.0.68
Provides:   	kde4-kstars = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kstars
KStars is a Desktop Planetarium for KDE. It provides 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.

%files -n kstars
%defattr(-,root,root)
%_kde_appsdir/kstars
%_kde_bindir/indi_celestron_gps
%_kde_bindir/indi_fli_ccd
%_kde_bindir/indi_fli_pdf
%_kde_bindir/indi_fli_wheel
%_kde_bindir/indi_intelliscope
%_kde_bindir/indi_lx200generic
%_kde_bindir/indi_lx200basic
%_kde_bindir/indi_meade_lpi
%_kde_bindir/indi_orion_atlas
%_kde_bindir/indi_robofocus
%_kde_bindir/indi_sbig_ccd
%_kde_bindir/indi_skycommander
%_kde_bindir/indi_trutech_wheel
%_kde_bindir/indi_v4l_generic
%_kde_bindir/indi_v4l_philips
%_kde_bindir/indi_apogee_alta
%_kde_bindir/indiserver
%_kde_bindir/indi_sbig_stv
%_kde_bindir/indi_temma
%_kde_bindir/kstars
%_kde_libdir/libhtmesh.a
%_kde_datadir/applications/kde4/kstars.desktop
%_kde_datadir/config.kcfg/kstars.kcfg
%_kde_datadir/config/kstars.knsrc
%_kde_docdir/HTML/*/kstars

#---------------------------------------------

%define analitza_major 4
%define libanalitza %mklibname analitza %{analitza_major}

%package -n %libanalitza
Summary: KDE 4 library
Group: System/Libraries

%description -n %libanalitza
KDE 4 library

%if %mdkversion < 200900
%post -n %libanalitza -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libanalitza -p /sbin/ldconfig
%endif

%files -n %libanalitza
%defattr(-,root,root)
%_kde_libdir/libanalitza.so.%{analitza_major}*

#---------------------------------------------

%define SatLib_major 4
%define libSatLib %mklibname SatLib %{SatLib_major}

%package -n %libSatLib
Summary: KDE 4 library
Group: System/Libraries

%description -n %libSatLib
KDE 4 library

%if %mdkversion < 200900
%post -n %libSatLib -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libSatLib -p /sbin/ldconfig
%endif

%files -n %libSatLib
%defattr(-,root,root)
%_kde_libdir/libSatLib.so.%{SatLib_major}*

#---------------------------------------------                         

%define sbigudrv_major 1                                               
%define libsbigudrv %mklibname sbigudrv %{sbigudrv_major}              
                                                                       
%package -n %libsbigudrv                                               
Summary: KDE 4 library                                                 
Group: System/Libraries                                                
Obsoletes: %{_lib}sbigudrv4 <= 4.0.70-1                                
                                                                       
%description -n %libsbigudrv
KDE 4 library

%post -n %libsbigudrv -p /sbin/ldconfig
%postun -n %libsbigudrv -p /sbin/ldconfig

%files -n %libsbigudrv
%defattr(-,root,root)
%_kde_libdir/libsbigudrv.so.%{sbigudrv_major}*

#---------------------------------------------

%package -n 	ktouch
Summary: 	A program for learning touch typing
URL:		http://edu.kde.org/ktouch
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-ktouch < 3.93.0-0.714236.1
Obsoletes:      kde4-ktouch < 1:4.0.68
Provides:       kde4-ktouch = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n ktouch
KTouch is a program for learning touch typing. KTouch is a way to learn
to type on a keyboard quickly and correctly. Every finger has its place
on the keyboard with associated keys to press.

KTouch helps you learn to touch typing by providing you with something
to write. KTouch can also help you to remember what fingers to use.

%files -n ktouch
%defattr(-,root,root)
%_kde_appsdir/ktouch
%_kde_bindir/ktouch
%_kde_datadir/applications/kde4/ktouch.desktop
%_kde_datadir/config.kcfg/ktouch.kcfg
%_kde_docdir/HTML/*/ktouch

#---------------------------------------------

%package -n 	kturtle
Summary: 	An educational programming environment
URL:		http://edu.kde.org/kturtle
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kturtle < 3.93.0-0.714236.1
Obsoletes:      kde4-kturtle < 1:4.0.68
Provides:       kde4-kturtle = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kturtle
KTurtle is an educational programming environment for the KDE Desktop.
KTurtle aims to make programming as easy and touchable as possible, and
therefore can be used to teach kids the basics of math, geometry
and... programming.

%files -n kturtle
%defattr(-,root,root)
%_kde_bindir/kturtle
%_kde_appsdir/kturtle
%_kde_datadir/applications/kde4/kturtle.desktop
%_kde_docdir/HTML/*/kturtle

#---------------------------------------------

%package -n 	parley
Summary: 	KDE Vocabulary training application
URL:		http://edu.kde.org/parley
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kvoctrain < 3.93.0-0.714236.1
Obsoletes: 	kde4-kvoctrain < 3.93.0-0.714236.1 
Obsoletes:      kde4-parley < 1:4.0.68
Provides:       kde4-parley = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n parley
Parley is a program to help you memorize things.

Parley supports many language specific features but can be used for other
learning tasks just as well. It uses the spaced repetition learning method,
also known as flash cards.

%files -n parley
%defattr(-,root,root)
%_kde_bindir/parley
#%_kde_bindir/parleypractice
%_kde_appsdir/parley
%_kde_datadir/applications/kde4/parley.desktop
%_kde_datadir/kde4/services/plasma-dataengine-parley.desktop
%_kde_datadir/kde4/services/plasma_parley.desktop
%_kde_datadir/config.kcfg/parley.kcfg
%_kde_datadir/config.kcfg/languagesettings.kcfg
%_kde_datadir/config.kcfg/documentsettings.kcfg
%_kde_datadir/config/parley.knsrc
%_kde_libdir/kde4/plasma_applet_parley.so
%_kde_libdir/kde4/plasma_engine_parley.so
%_kde_appsdir/desktoptheme/default/widgets/parley_plasma_card.svg
%_kde_docdir/HTML/*/parley

#---------------------------------------------

%package -n 	kwordquiz
Summary:	A general purpose flash card program
URL:		http://edu.kde.org/kwordquiz
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-kwordquiz < 3.93.0-0.714236.1
Obsoletes:      kde4-kwordquiz < 1:4.0.68
Provides:       kde4-kwordquiz = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n kwordquiz
KWordQuiz is a general purpose flash card program. It can be used for
vocabulary learning and many other subjects. If you need more advanced
language learning features, please try KVocTrain.

%files -n kwordquiz
%defattr(-,root,root)
%_kde_appsdir/kwordquiz
%_kde_bindir/kwordquiz
%_kde_datadir/applications/kde4/kwordquiz.desktop
%_kde_datadir/config.kcfg/kwordquiz.kcfg
%_kde_datadir/config/kwordquiz.knsrc
%_kde_docdir/*/*/kwordquiz

#---------------------------------------------

%package -n 	step
Summary: 	Interactive physical simulator
URL:		http://edu.kde.org/step
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Conflicts:      kdeedu < 1:3.5.9-4

%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 !

%files -n step
%defattr(-,root,root)
%_kde_bindir/step
%_kde_datadir/applications/kde4/step.desktop                      
%_kde_appsdir/step
%_kde_datadir/config.kcfg/step.kcfg
%_kde_datadir/config/step.knsrc                                                                                                                                                            
%_kde_docdir/*/*/step

#---------------------------------------------

%define science_major 4
%define libscience %mklibname science %{science_major}

%package -n %libscience
Summary: KDE 4 library
Group: System/Libraries

%description -n %libscience
KDE 4 library

%if %mdkversion < 200900
%post -n %libscience -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libscience -p /sbin/ldconfig
%endif

%files -n %libscience
%defattr(-,root,root)
%_kde_libdir/libscience.so.%{science_major}*

#---------------------------------------------

%define kdeeduui_major 4
%define libkdeeduui %mklibname kdeeduui %{kdeeduui_major}

%package -n %libkdeeduui
Summary: KDE 4 library
Group: System/Libraries

%description -n %libkdeeduui
KDE 4 library

%if %mdkversion < 200900
%post -n %libkdeeduui -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libkdeeduui -p /sbin/ldconfig
%endif

%files -n %libkdeeduui
%defattr(-,root,root)
%_kde_libdir/libkdeeduui.so.%{kdeeduui_major}*

#---------------------------------------------

%define keduvocdocument_major 4
%define libkeduvocdocument %mklibname keduvocdocument %{keduvocdocument_major}

%package -n %libkeduvocdocument
Summary: KDE 4 library
Group: System/Libraries

%description -n %libkeduvocdocument
KDE 4 library

%if %mdkversion < 200900
%post -n %libkeduvocdocument -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libkeduvocdocument -p /sbin/ldconfig
%endif

%files -n %libkeduvocdocument
%defattr(-,root,root)
%_kde_libdir/libkeduvocdocument.so.%{keduvocdocument_major}*

#---------------------------------------------

%define marblewidget_major 4
%define libmarblewidget %mklibname marblewidget %{marblewidget_major}

%package -n %libmarblewidget
Summary: KDE 4 library
Group: System/Libraries

%description -n %libmarblewidget
KDE 4 library

%if %mdkversion < 200900
%post -n %libmarblewidget -p /sbin/ldconfig
%endif
%if %mdkversion < 200900
%postun -n %libmarblewidget -p /sbin/ldconfig
%endif

%files -n %libmarblewidget
%defattr(-,root,root)
%_kde_libdir/libmarblewidget.so.%{marblewidget_major}*

#---------------------------------------------

%package -n 	marble
Summary: 	A virtual globe and world atlas
URL:		http://edu.kde.org/marble
Group: 		Graphical desktop/KDE
Requires: 	%name-core = %version
Obsoletes: 	%name-marble < 3.93.0-0.714236.1
Obsoletes:      kde4-marble < 1:4.0.68
Provides:       kde4-marble = %version
Conflicts:      kdeedu < 1:3.5.9-4

%description -n marble
Marble is a Virtual Globe and World Atlas that you can use to learn more
about Earth: You can pan and zoom around and you can look up places and
roads. A mouse click on a place label will provide the respective
Wikipedia article.

%files -n marble
%defattr(-,root,root)
%_kde_bindir/marble
%_kde_bindir/geodatatest
%_kde_bindir/tilecreator
%_kde_appsdir/marble
%_kde_appsdir/marble_part
%_kde_libdir/kde4/libmarble_part.*
%_kde_datadir/config.kcfg/marble.kcfg
%_kde_datadir/applications/kde4/marble.desktop
%_kde_datadir/kde4/services/marble_part.desktop
%_kde_docdir/HTML/*/marble
%_kde_libdir/kde4/plugins/marble

#---------------------------------------------

%package devel
Summary: Devel stuff for %{name}
Group: Development/KDE and Qt
Requires: kde4-macros
Requires: kdelibs4-devel
Requires: %libkiten = %version
Requires: %libSatLib = %version
Requires: %libscience = %version
Requires: %libkdeeduui = %version
Requires: %libkeduvocdocument = %version
Requires: %libmarblewidget = %version
Requires: %libsbigudrv = %version
Requires: %libcompoundviewer = %version
Requires: %libavogadro_kalzium = %version
Requires: %libanalitza = %version

%description  devel
Files needed to build applications based on %{name}.

%files devel
%defattr(-,root,root)
%_kde_libdir/*.so
%_kde_includedir/*
%_kde_appsdir/cmake/modules/*
%_kde_datadir/dbus-1/interfaces/*

#----------------------------------------------------------------------

%prep
%setup -q -n kdeedu-%version

%build
export CFLAGS="${optflags} -DOCAMLIB=%_libdir/ocaml"
export CPPFLAGS="${optflags} -DOCAMLIB=%_libdir/ocaml "
%cmake_kde4
%make

%install
rm -fr %buildroot
%makeinstall_std -C build

%clean
rm -fr %buildroot



%changelog
* Thu Sep 25 2008 Helio Chissini de Castro <helio@mandriva.com> 4.1.2-1mdv2009.0
+ Revision: 288308
- KDE 4.1.2 arriving.

* Sun Sep 07 2008 Funda Wang <fundawang@mandriva.org> 4.1.1-1mdv2009.0
+ Revision: 282234
- New version 4.1.1

  + Per Øyvind Karlsen <peroyvind@mandriva.org>
    - rebuild against new boost

* Fri Aug 15 2008 Nicolas Lécureuil <neoclust@mandriva.org> 4.1.0-2mdv2009.0
+ Revision: 272311
- Rebuild against new libcfitsio

  + Funda Wang <fundawang@mandriva.org>
    - add missing requires on libs
    - update summary and descriptions

* Tue Jul 29 2008 Helio Chissini de Castro <helio@mandriva.com> 4.1.0-1mdv2009.0
+ Revision: 252419
- Disabled plasma applets
- Update with Release Candidate 1 - 4.1.0

* Thu Jul 10 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.98-1mdv2009.0
+ Revision: 233205
- Update with Release Candidate 1 - 4.0.98

* Wed Jul 09 2008 Nicolas Lécureuil <neoclust@mandriva.org> 4.0.85-1mdv2009.0
+ Revision: 233157
- Fix patch headers
- Add patch0 to fix build ( upstream )
- New version kde 4.0.85

* Fri Jun 27 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.84-1mdv2009.0
+ Revision: 229401
- Update with new snapshot tarballs 4.0.84

* Wed Jun 25 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.83-2mdv2009.0
+ Revision: 228849
- Missing library
- Update with new snapshot tarballs 4.0.83

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - Fix some descriptions

* Wed Jun 11 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.82-1mdv2009.0
+ Revision: 218031
- Update with new snapshot tarballs 4.0.82

* Tue Jun 10 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.81-2mdv2009.0
+ Revision: 217440
- Disable indi requires for a while
- Fixed file list
- Enabled openbabel and indi for kalzium
- Update with new snapshot tarballs 4.0.81
- Update with new snapshot tarballs 4.0.81
- New upstream kde4 4.1 beta1

  + Pixel <pixel@mandriva.com>
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - Own %%_kde_libdir/avogadro-kalzium and %%_kde_appsdir/kturtle

* Sat May 17 2008 Nicolas Lécureuil <neoclust@mandriva.org> 4.0.74-2mdv2009.0
+ Revision: 208348
- Fix conflicts against old kdeedu

* Fri May 16 2008 Funda Wang <fundawang@mandriva.org> 4.0.74-1mdv2009.0
+ Revision: 208070
- New version 4.0.74
- there is no epoch in kdeedu4

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - Fix BuildRequires
    - Fix BuildRequires
    - Fix BuildRequires
    - Fix BuildRequires
    - Fix File list
    - Add Buildrequire
    - Update to kde 4.0.73
      Fix conflicts against kdeedu 3.5.x
    - this should not have been commited
    - Update to kde 4.0.72
    - add back libsbigudrv package
      Fix libraries according to kde4 policy
      Add BuildRequires
      Add commented Buildrequires ( they will be enable soon )
    - Fix Requires and obsoletes
    - Fix File list
    - New snapshot 4.0.70
    - Fix kbruch package
    - Fix khangman package
    - Add BuildRequires
      Say Hello to "Step"
    - New snapshot 4.0.69

  + Helio Chissini de Castro <helio@mandriva.com>
    - New upstream kde4 4.1 alpha 1

* Fri Mar 28 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.3-1mdv2008.1
+ Revision: 190998
- Update for last stable release 4.0.3

* Sat Mar 08 2008 Nicolas Lécureuil <neoclust@mandriva.org> 4.0.2-2mdv2008.1
+ Revision: 182261
- Rebuild against new qt4 changes

* Sat Mar 01 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.2-1mdv2008.1
+ Revision: 177432
- New upstream bugfix release 4.0.2

* Tue Feb 12 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.1-1mdv2008.1
+ Revision: 166411
- Updating for stable KDE 4.0.1
- No more branches. From now, we will be using the monthly official KDE tarballs, as discussed by Mandriva KDE team

* Wed Jan 09 2008 Helio Chissini de Castro <helio@mandriva.com> 4.0.0-1mdv2008.1
+ Revision: 147356
- Updated to latest 4.0.0 stable

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 24 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.97.1-0.752208.1mdv2008.1
+ Revision: 137406
- New snapshot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Wed Dec 12 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.97.1-0.746943.2mdv2008.1
+ Revision: 119051
- Add back kig as it compile on x86_64 too now

* Tue Dec 11 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.97.1-0.746943.1mdv2008.1
+ Revision: 117176
- New snapshot

* Sat Dec 01 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.96.1-0.742689.1mdv2008.1
+ Revision: 114227
- Do not build Kig for the moment ( it do not build currently on x86_64)
- New snapshot
- Fix obsolete of libkdeeducore4
- New snapshot
- KDE4 RC1
  Remove libextdate and Obsolete it.
- New snapshot
- New snapshot
- Fix file list
- New snapshot post Rc1

* Tue Oct 30 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.94.1-0.730883.1mdv2008.1
+ Revision: 103689
- New snashot

* Thu Oct 25 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.94.1-0.729013.1mdv2008.1
+ Revision: 102098
- New snapshot

* Wed Oct 24 2007 Nicolas Lécureuil <neoclust@mandriva.org> 3.94.1-0.728515.1mdv2008.1
+ Revision: 101793
- Fix file sli
- New svn snapshot
- Kde 4 Beta 3

* Fri Sep 21 2007 Gustavo Pichorim Boiko <boiko@mandriva.com> 3.93.0-0.714236.1mdv2008.0
+ Revision: 91964
- New snapshot from KDE svn
- kvoctrain was renamed as parley
- make all obsoletes entries versioned

  + Helio Chissini de Castro <helio@mandriva.com>
    - Update with revision 709075

* Tue Sep 04 2007 Helio Chissini de Castro <helio@mandriva.com> 3.93.0-0.708174.1mdv2008.0
+ Revision: 79003
- Update with revision 708174

* Fri Aug 31 2007 Helio Chissini de Castro <helio@mandriva.com> 3.92.0-0.706921.1mdv2008.0
+ Revision: 77028
- Update with revision 706921
- Update with revision 706354

* Tue Aug 07 2007 Helio Chissini de Castro <helio@mandriva.com> 3.92.0-0.697083.1mdv2008.0
+ Revision: 59818
- Update to revision 697083

* Tue Jul 31 2007 Helio Chissini de Castro <helio@mandriva.com> 3.92.0-0.694397.1mdv2008.0
+ Revision: 57074
- First build of kdeedu 4. Marble enabled :-)

* Thu May 10 2007 Laurent Montel <lmontel@mandriva.org> 1:3.90.1-0.20070502.1mdv2008.0
+ Revision: 25901
- new snapshot
- it compiles with enable final

* Thu May 03 2007 Laurent Montel <lmontel@mandriva.org> 1:3.80.3-0.20070502.2mdv2008.0
+ Revision: 20950
- Fix spec file
- new snapshot
- new snapshot
- Necessary for kalzium4


* Sun Mar 11 2007 Laurent Montel <lmontel@mandriva.com> 3.80.3-0.20070311.2mdv2007.1
+ Revision: 141393
- new snapshot
- new snapshot

* Mon Mar 05 2007 Laurent Montel <lmontel@mandriva.com> 1:3.80.3-0.20070228.2mdv2007.1
+ Revision: 133276
- Fix spec file
- Fix spec file
- new snapshot
- 3.80.3
- new snapshot
- Fix spec file
- new snapshot
- new snapshot
- new snapshot
- Update

* Wed Jan 10 2007 Laurent Montel <lmontel@mandriva.com> 1:3.80.2-0.20070109.1mdv2007.1
+ Revision: 107047
- Update
- Add new buildrequires

* Thu Jan 04 2007 Laurent Montel <lmontel@mandriva.com> 1:3.80.2-0.20070103.1mdv2007.1
+ Revision: 104085
- Fix spec file
- Import kdeedu4

* Wed Dec 27 2006 Laurent Montel <lmontel@mandriva.com> 3.5.5-2mdv2007.0
- kde4