/[packages]/cauldron/kdeedu4/current/SPECS/kdeedu4.spec
ViewVC logotype

Contents of /cauldron/kdeedu4/current/SPECS/kdeedu4.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 61300 - (show annotations) (download)
Sun Feb 27 22:30:44 2011 UTC (14 years, 1 month ago) by mikala
File size: 30829 byte(s)
Update tarball to 4.6.1

1 %bcond_with marble_python
2
3 %define branch 0
4 %{?_branch: %{expand: %%global branch 1}}
5
6 %if %branch
7 %define kde_snapshot svn1198704
8 %endif
9
10 Name: kdeedu4
11 Summary: Free Educational Software based on the KDE technologies
12 Version: 4.6.1
13 %if %branch
14 Release: %mkrel -c %kde_snapshot 1
15 %else
16 Release: %mkrel 1
17 %endif
18 Group: Graphical desktop/KDE
19 License: GPL
20 URL: http://edu.kde.org
21 %if %branch
22 Source: ftp: //ftp.kde.org/pub/kde/unstable/%version/src/kdeedu-%version%kde_snapshot.tar.bz2
23 %else
24 Source: ftp: //ftp.kde.org/pub/kde/stable/%version/src/kdeedu-%version.tar.bz2
25 %endif
26 Patch2: kdeedu-4.5.74-cantor-rpath.patch
27 BuildRequires: kdelibs4-devel >= 2:%{version}
28 BuildRequires: gpsd-devel
29 BuildRequires: jpeg-devel
30 BuildRequires: png-devel
31 BuildRequires: libimlib2-devel
32 BuildRequires: libtiff-devel
33 BuildRequires: python-devel
34 BuildRequires: boost-devel
35 BuildRequires: facile
36 BuildRequires: ocaml
37 BuildRequires: zlib-devel
38 BuildRequires: bzip2-devel
39 BuildRequires: gettext texinfo
40 BuildRequires: qt4-qtdbus
41 BuildRequires: freetype2-devel
42 BuildRequires: OpenEXR-devel
43 BuildRequires: cfitsio-devel
44 BuildRequires: libusb-devel
45 BuildRequires: ncurses-devel
46 BuildRequires: libreadline-devel
47 BuildRequires: getfem++
48 BuildRequires: libnova-devel >= 0.12.1
49 BuildRequires: libfli-devel
50 BuildRequires: libapogee-devel
51 BuildRequires: qalculate-devel
52 BuildRequires: gsl-devel
53 BuildRequires: libxml2-devel
54 BuildRequires: libxslt-devel
55 BuildRequires: indilib-devel >= 0.6.1
56 BuildRequires: xplanet >= 1.2.1
57 BuildRequires: libspectre-devel
58 BuildRequires: eigen2 >= 2:2.0.3
59 BuildRequires: openbabel-devel
60 BuildRequires: avogadro-devel
61 BuildRequires: R
62
63 Suggests: blinken
64 Suggests: kalgebra
65 Suggests: kalzium
66 Suggests: kanagram
67 Suggests: kbruch
68 Suggests: kgeography
69 Suggests: khangman
70 Suggests: kig
71 Suggests: kiten
72 Suggests: klettres
73 Suggests: kmplot
74 Suggests: kstars
75 Suggests: ktouch
76 Suggests: kturtle
77 Suggests: parley
78 Suggests: kwordquiz
79 Suggests: marble
80 Suggests: step
81 Suggests: rocs
82
83 Obsoletes: kpercentage
84
85 %description
86 %{name} metapackage, which contains:
87 * blinken: Simon Says Game
88 * kalgebra: MathML-based graph calculator
89 * kbruch: Exercise Fractions
90 * kgeography: Geography Trainer
91 * khangman: Hangman Game
92 * kig: Interactive Geometry
93 * kiten: Japanese Reference/Study Tool
94 * klettres: French alphabet tutor
95 * kmplot: Mathematical Function Plotter
96 * kpercentage: Excersie Percentages
97 * ktouch: Touch Typing Tutor
98 * kturtle: Logo Programming Environment
99 * kvoctrain: Vocabulary Trainer
100 * kwordquiz: Vocabulary Trainer
101 * marble: Virtual Globe
102
103 %files
104 %defattr(-,root,root,-)
105 %doc README
106
107 #----------------------------------------------------------------------
108
109 %package core
110 Summary: %name core files
111 Group: Graphical desktop/KDE
112 Requires: kdelibs4-core
113 Requires: kdebase4-runtime
114 Conflicts: %{name}-core < 4.5.95
115
116 %description core
117 Core files for %{name}.
118
119 %files core
120 %defattr(-,root,root)
121 %_kde_appsdir/libkdeedu
122 %_kde_iconsdir/*/*/actions/*
123
124 #----------------------------------------------------------------------
125
126 %package -n blinken
127 Summary: Simon Says Game
128 Group: Graphical desktop/KDE
129 Requires: %name-core = %version
130 Provides: kde4-blinken = %version
131
132 %description -n blinken
133 Blinken is the KDE version of the well-known game Simon Says.
134 Follow the pattern of sounds and lights as long as you can! Press the
135 start game button to begin. Watch the computer and copy the pattern it
136 makes. Complete the sequence in the right order to win.
137
138 %files -n blinken
139 %defattr(-,root,root)
140 %_kde_appsdir/blinken
141 %_kde_bindir/blinken
142 %_kde_iconsdir/*/*/apps/blinken.*
143 %_kde_datadir/applications/kde4/blinken.desktop
144 %_kde_datadir/config.kcfg/blinken.kcfg
145 %_kde_docdir/HTML/*/blinken
146
147 #---------------------------------------------
148
149 %package -n kalgebra
150 Summary: MathML-based graph calculator
151 Group: Graphical desktop/KDE
152 Requires: %name-core = %version
153 Provides: kde4-kalgebra = %version
154
155 %description -n kalgebra
156 KAlgebra is a mathematical calculator based content markup MathML
157 language. Nowadays it is capable to make simple MathML operations
158 (arithmetic and logical) and representate 2D and 3D graphs. It is
159 actually not necessary to know MathML to use KAlgebra.
160
161 %files -n kalgebra
162 %defattr(-,root,root)
163 %_kde_bindir/kalgebra
164 %_kde_bindir/kalgebramobile
165 %_kde_bindir/calgebra
166 %_kde_iconsdir/*/*/apps/kalgebra.*
167 %_kde_datadir/applications/kde4/kalgebra.desktop
168 %_kde_datadir/applications/kde4/kalgebramobile.desktop
169 %_kde_libdir/kde4/plasma_applet_kalgebra.so
170 %_kde_appsdir/katepart/syntax/kalgebra.xml
171 %_kde_appsdir/kalgebra
172 %_kde_services/kalgebra*.desktop
173 %_kde_servicetypes/kalgebra*.desktop
174 %_kde_docdir/HTML/*/kalgebra
175
176 #---------------------------------------------
177
178 %package -n kalzium
179 Summary: Shows the periodic system of the elements
180 Group: Graphical desktop/KDE
181 Requires: %name-core = %version
182 Requires: openbabel
183 Provides: kde4-kalzium = %version
184
185 %description -n kalzium
186 Kalzium is an application which will show you some information about the
187 periodic system of the elements. Therefore you could use it as an
188 information database.
189
190 %files -n kalzium
191 %defattr(-,root,root)
192 %_kde_bindir/kalzium
193 %_kde_appsdir/kalzium
194 %_kde_iconsdir/*/*/apps/kalzium.*
195 %_kde_libdir/kde4/plasma_applet_molmassCalculator.so
196 %_kde_datadir/applications/kde4/kalzium.desktop
197 %_kde_services/plasma-applet-Molmasscalculator.desktop
198 %_kde_datadir/config.kcfg/kalzium.kcfg
199 %_kde_datadir/config/kalzium.knsrc
200 %_kde_docdir/HTML/*/kalzium
201 %_kde_mandir/man1/kalzium.1.*
202
203 #---------------------------------------------
204
205 %define compoundviewer_major 4
206 %define libcompoundviewer %mklibname compoundviewer %{compoundviewer_major}
207
208 %package -n %libcompoundviewer
209 Summary: Kalzium runtime library
210 Group: System/Libraries
211
212 %description -n %libcompoundviewer
213 Kalzium runtime library.
214
215 %files -n %libcompoundviewer
216 %defattr(-,root,root)
217 %_kde_libdir/libcompoundviewer.so.%{compoundviewer_major}*
218
219 #---------------------------------------------
220
221 %package -n kanagram
222 Summary: Word learning program
223 Group: Graphical desktop/KDE
224 Requires: %name-core = %version
225 Provides: kde4-kanagram = %version
226
227 %description -n kanagram
228 Kanagram is a replacement for KMessedWords. Kanagram mixes up the letters
229 of a word (creating an anagram), and you have to guess what the mixed up
230 word is. Kanagram features several built-in word lists, hints, and a cheat
231 feature which reveals the original word. Kanagram also has a vocabulary
232 editor, so you can make your own vocabularies, and distribute them through
233 Kanagram's KNewStuff download service.
234
235 %files -n kanagram
236 %defattr(-,root,root)
237 %_kde_bindir/kanagram
238 %_kde_appsdir/kanagram
239 %dir %_kde_appsdir/kvtml
240 %dir %_kde_appsdir/kvtml/en
241 %_kde_appsdir/kvtml/en/worldcapitals.kvtml
242 %_kde_appsdir/kvtml/en/clothing.kvtml
243 %_kde_appsdir/kvtml/en/computers.kvtml
244 %_kde_appsdir/kvtml/en/currencies.kvtml
245 %_kde_appsdir/kvtml/en/fruits.kvtml
246 %_kde_appsdir/kvtml/en/inventions.kvtml
247 %_kde_appsdir/kvtml/en/numbers.kvtml
248 %_kde_appsdir/kvtml/en/objects.kvtml
249 %_kde_appsdir/kvtml/en/people.kvtml
250 %_kde_appsdir/kvtml/en/professions.kvtml
251 %_kde_appsdir/kvtml/en/space.kvtml
252 %_kde_appsdir/kvtml/en/sports.kvtml
253 %_kde_appsdir/kvtml/en/transportation.kvtml
254 %_kde_appsdir/kvtml/en/vegetables.kvtml
255 %_kde_iconsdir/*/*/apps/kanagram.*
256 %_kde_datadir/applications/kde4/kanagram.desktop
257 %_kde_datadir/config.kcfg/kanagram.kcfg
258 %_kde_datadir/config/kanagram.knsrc
259 %_kde_docdir/HTML/*/kanagram
260
261 #---------------------------------------------
262
263 %package -n kbruch
264 Summary: Practice calculating with fractions
265 Group: Graphical desktop/KDE
266 Requires: %name-core = %version
267 Provides: kde4-kbruch = %version
268
269 %description -n kbruch
270 KBruch is a small program to practice calculating with fractions.
271
272 %files -n kbruch
273 %defattr(-,root,root)
274 %_kde_bindir/kbruch
275 %_kde_datadir/applications/kde4/kbruch.desktop
276 %_kde_appsdir/kbruch
277 %_kde_iconsdir/*/*/apps/kbruch.*
278 %_kde_datadir/config.kcfg/kbruch.kcfg
279 %_kde_docdir/HTML/*/kbruch
280 %_kde_mandir/man1/kbruch.1.*
281
282 #---------------------------------------------
283
284 %package -n kgeography
285 Summary: A geography learning program
286 Group: Graphical desktop/KDE
287 Requires: %name-core = %version
288 Provides: kde4-kgeography = %version
289
290 %description -n kgeography
291 KGeography is a geography learning program.
292
293 %files -n kgeography
294 %defattr(-,root,root)
295 %_kde_appsdir/kgeography
296 %_kde_bindir/kgeography
297 %_kde_iconsdir/*/*/apps/kgeography.*
298 %_kde_datadir/applications/kde4/kgeography.desktop
299 %_kde_datadir/config.kcfg/kgeography.kcfg
300 %_kde_docdir/HTML/*/kgeography
301
302 #---------------------------------------------
303
304 %package -n khangman
305 Summary: Classical hangman game
306 Group: Graphical desktop/KDE
307 Requires: %name-core = %version
308 Provides: kde4-khangman = %version
309 %description -n khangman
310 KHangman is the classical hangman game. The child should guess a word
311 letter by letter. At each miss, the picture of a hangman appears. After
312 10 tries, if the word is not guessed, the game is over and the answer
313 is displayed.
314
315 %files -n khangman
316 %defattr(-,root,root)
317 %_kde_appsdir/khangman
318 %_kde_bindir/khangman
319 %dir %_kde_appsdir/kvtml
320 %dir %_kde_appsdir/kvtml/en
321 %_kde_appsdir/kvtml/en/animals.kvtml
322 %_kde_appsdir/kvtml/en/easy.kvtml
323 %_kde_appsdir/kvtml/en/hard.kvtml
324 %_kde_appsdir/kvtml/en/medium.kvtml
325 %_kde_iconsdir/*/*/apps/khangman.*
326 %_kde_datadir/applications/kde4/khangman.desktop
327 %_kde_datadir/config.kcfg/khangman.kcfg
328 %_kde_datadir/config/khangman.knsrc
329 %_kde_docdir/HTML/*/khangman
330 %_kde_mandir/man6/khangman.6.*
331
332 #---------------------------------------------
333
334 %package -n kig
335 Summary: A program for exploring geometric constructions
336 Group: Graphical desktop/KDE
337 Requires: %name-core = %version
338 Provides: kde4-kig = %version
339
340 %description -n kig
341 Kig is a program for exploring geometric constructions.
342
343 %files -n kig
344 %defattr(-,root,root)
345 %_kde_appsdir/kig
346 %_kde_bindir/kig
347 %_kde_bindir/pykig.py
348 %_kde_libdir/kde4/kigpart.so
349 %_kde_iconsdir/*/*/apps/kig.*
350 %_kde_iconsdir/*/*/mimetypes/application-x-kig.*
351 %_kde_datadir/applications/kde4/kig.desktop
352 %_kde_services/kig_part.desktop
353 %_kde_appsdir/katepart/syntax/python-kig.xml
354 %_kde_docdir/HTML/*/kig
355 %_kde_mandir/man1/kig.1.*
356
357 #---------------------------------------------
358
359 %package -n kiten
360 Summary: A Japanese reference/learning tool
361 Group: Graphical desktop/KDE
362 Requires: %name-core = %version
363 Provides: kde4-kiten = %version
364
365 %description -n kiten
366 Kiten is a Japanese reference/learning tool.
367
368 Kiten features:
369 * Search with english keyword, Japanese reading, or a Kanji string on a
370 list of EDICT files.
371 * Search with english keyword, Japanese reading, number of strokes, grade
372 number, or a Kanji on a list of KANJIDIC files.
373 * Comes with all necessary files.
374 * Very fast.
375 * Limit searches to only common entries.
376 * Nested searches of results possible.
377 * Compact, small, fast interface.
378 * Global KDE keybindings for searching highlighted strings.
379 * Learning dialog. (One can even open up multiple ones and have them sync
380 between each other.)
381 * Browse Kanji by grade.
382 * Add Kanji to a list for later learning.
383 * Browse list, and get quizzed on them.
384
385 %files -n kiten
386 %defattr(-,root,root)
387 %_kde_appsdir/kiten
388 %_kde_appsdir/kitenradselect
389 %_kde_bindir/kiten
390 %_kde_bindir/kitengen
391 %_kde_bindir/kitenradselect
392 %_kde_iconsdir/*/*/apps/kiten.*
393 %_kde_datadir/applications/kde4/kiten.desktop
394 %_kde_datadir/config.kcfg/kiten.kcfg
395 %_kde_docdir/HTML/*/kiten
396
397 #---------------------------------------------
398 %define libkiten_major 4
399 %define libkiten %mklibname kiten %{libkiten_major}
400
401 %package -n %libkiten
402 Summary: Runtime library for Kiten
403 Group: System/Libraries
404
405 %description -n %libkiten
406 libkiten is a library for managing a variety of japanese cross-language
407 dictionaries through a common interface. It provides a light abstraction layer
408 over various types of japanese dictionaries, with a simple facility for adding
409 more types.
410
411 %files -n %libkiten
412 %defattr(-,root,root)
413 %_kde_libdir/libkiten.so.%{libkiten_major}*
414
415 #---------------------------------------------
416
417 %package -n klettres
418 Summary: Language learning program
419 Group: Graphical desktop/KDE
420 Requires: %name-core = %version
421 Provides: kde4-klettres = %version
422
423 %description -n klettres
424 KLettres aims to help to learn the alphabet and then to read some syllables
425 in different languages. It is meant to help learning the very first sounds
426 of a new language, for children or for adults.
427
428 %files -n klettres
429 %defattr(-,root,root)
430 %_kde_appsdir/klettres
431 %_kde_bindir/klettres
432 %_kde_iconsdir/*/*/apps/klettres.*
433 %_kde_datadir/applications/kde4/klettres.desktop
434 %_kde_datadir/config.kcfg/klettres.kcfg
435 %_kde_datadir/config/klettres.knsrc
436 %_kde_docdir/HTML/*/klettres
437
438 #---------------------------------------------
439
440 %package -n kmplot
441 Summary: A mathematical function plotter
442 Group: Graphical desktop/KDE
443 Requires: %name-core = %version
444 Provides: kde4-kmplot = %version
445
446 %description -n kmplot
447 KmPlot is a mathematical function plotter for the KDE-Desktop.
448
449 It has built in a powerfull parser. You can plot different functions
450 simultaneously and combine their function terms to build new functions.
451 KmPlot supports functions with parameters and functions in polar
452 coordinates. Several grid modes are possible. Plots may be printed with
453 high precision in correct scale.
454
455 %files -n kmplot
456 %defattr(-,root,root)
457 %_kde_appsdir/kmplot
458 %_kde_bindir/kmplot
459 %_kde_libdir/kde4/libkmplotpart.so
460 %_kde_iconsdir/*/*/apps/kmplot.*
461 %_kde_datadir/applications/kde4/kmplot.desktop
462 %_kde_datadir/config.kcfg/kmplot.kcfg
463 %_kde_services/kmplot_part.desktop
464 %_kde_docdir/HTML/*/kmplot
465 %_kde_mandir/man1/kmplot.1.*
466
467 #---------------------------------------------
468
469 %package -n kstars
470 Summary: A Desktop Planetarium
471 Group: Graphical desktop/KDE
472 Requires: %name-core = %version
473 Requires: indilib >= 0.6.1
474 Provides: kde4-kstars = %version
475
476 %description -n kstars
477 KStars is a Desktop Planetarium for KDE. It provides an accurate graphical
478 simulation of the night sky, from any location on Earth, at any date and
479 time. The display includes 130,000 stars, 13,000 deep-sky objects,all 8
480 planets, the Sun and Moon, and thousands of comets and asteroids.
481
482 %files -n kstars
483 %defattr(-,root,root)
484 %_kde_appsdir/kstars
485 %_kde_bindir/kstars
486 %_kde_libdir/libhtmesh.a
487 %_kde_iconsdir/*/*/apps/kstars.*
488 %_kde_datadir/applications/kde4/kstars.desktop
489 %_kde_datadir/config.kcfg/kstars.kcfg
490 %_kde_datadir/config/kstars.knsrc
491 %_kde_docdir/HTML/*/kstars
492
493 #---------------------------------------------
494
495 %define analitza_major 4
496 %define libanalitza %mklibname analitza %{analitza_major}
497
498 %package -n %libanalitza
499 Summary: Runtime library for kalgebra
500 Group: System/Libraries
501
502 %description -n %libanalitza
503 Runtime library for kalgebra
504
505 %files -n %libanalitza
506 %defattr(-,root,root)
507 %_kde_libdir/libanalitza.so.%{analitza_major}*
508
509 #---------------------------------------------
510
511 %define SatLib_major 4
512 %define libSatLib %mklibname SatLib %{SatLib_major}
513
514 %package -n %libSatLib
515 Summary: Runtime library for Kstars
516 Group: System/Libraries
517
518 %description -n %libSatLib
519 Runtime library for kstart.
520 This library compute artificial satellites orbital
521 parameters, and positions
522
523 %files -n %libSatLib
524 %defattr(-,root,root)
525 %_kde_libdir/libSatLib.so.%{SatLib_major}*
526
527 #---------------------------------------------
528
529 %package -n ktouch
530 Summary: A program for learning touch typing
531 Group: Graphical desktop/KDE
532 Requires: %name-core = %version
533 Provides: kde4-ktouch = %version
534
535 %description -n ktouch
536 KTouch is a program for learning touch typing. KTouch is a way to learn
537 to type on a keyboard quickly and correctly. Every finger has its place
538 on the keyboard with associated keys to press.
539
540 KTouch helps you learn to touch typing by providing you with something
541 to write. KTouch can also help you to remember what fingers to use.
542
543 %files -n ktouch
544 %defattr(-,root,root)
545 %_kde_appsdir/ktouch
546 %_kde_bindir/ktouch
547 %_kde_iconsdir/*/*/apps/ktouch.*
548 %_kde_datadir/applications/kde4/ktouch.desktop
549 %_kde_datadir/config.kcfg/ktouch.kcfg
550 %_kde_docdir/HTML/*/ktouch
551 %_kde_mandir/man1/ktouch.1.*
552
553 #---------------------------------------------
554
555 %package -n kturtle
556 Summary: An educational programming environment
557 Group: Graphical desktop/KDE
558 Requires: %name-core = %version
559 Provides: kde4-kturtle = %version
560
561 %description -n kturtle
562 KTurtle is an educational programming environment for the KDE Desktop.
563 KTurtle aims to make programming as easy and touchable as possible, and
564 therefore can be used to teach kids the basics of math, geometry
565 and... programming.
566
567 %files -n kturtle
568 %defattr(-,root,root)
569 %_kde_bindir/kturtle
570 %_kde_appsdir/kturtle
571 %_kde_iconsdir/*/*/apps/kturtle.*
572 %_kde_datadir/applications/kde4/kturtle.desktop
573 %_kde_datadir/config/kturtle.knsrc
574 %_kde_docdir/HTML/*/kturtle
575
576 #---------------------------------------------
577
578 %package -n parley
579 Summary: KDE Vocabulary training application
580 Group: Graphical desktop/KDE
581 Requires: %name-core = %version
582 Requires: python-mwclient
583 Provides: kde4-parley = %version
584
585 %description -n parley
586 Parley is a program to help you memorize things.
587
588 Parley supports many language specific features but can be used for other
589 learning tasks just as well. It uses the spaced repetition learning method,
590 also known as flash cards.
591
592 %files -n parley
593 %defattr(-,root,root)
594 %_kde_bindir/parley
595 %_kde_appsdir/parley
596 %_kde_iconsdir/*/*/apps/parley*
597 %_kde_datadir/applications/kde4/parley.desktop
598 %_kde_services/plasma-dataengine-parley.desktop
599 %_kde_services/plasma_parley.desktop
600 %_kde_datadir/config.kcfg/parley.kcfg
601 %_kde_datadir/config.kcfg/languagesettings.kcfg
602 %_kde_datadir/config.kcfg/documentsettings.kcfg
603 %_kde_datadir/config/parley.knsrc
604 %_kde_libdir/kde4/plasma_applet_parley.so
605 %_kde_libdir/kde4/plasma_engine_parley.so
606 %_kde_appsdir/desktoptheme/default/widgets/parley_plasma_card.svg
607 %_kde_datadir/config/parley-themes.knsrc
608 %_kde_docdir/HTML/*/parley
609
610 #---------------------------------------------
611
612 %package -n kwordquiz
613 Summary: A general purpose flash card program
614 Group: Graphical desktop/KDE
615 Requires: %name-core = %version
616 Provides: kde4-kwordquiz = %version
617
618 %description -n kwordquiz
619 KWordQuiz is a general purpose flash card program. It can be used for
620 vocabulary learning and many other subjects. If you need more advanced
621 language learning features, please try KVocTrain.
622
623 %files -n kwordquiz
624 %defattr(-,root,root)
625 %_kde_appsdir/kwordquiz
626 %_kde_bindir/kwordquiz
627 %_kde_iconsdir/*/*/apps/kwordquiz.*
628 %_kde_datadir/applications/kde4/kwordquiz.desktop
629 %_kde_datadir/config.kcfg/kwordquiz.kcfg
630 %_kde_datadir/config/kwordquiz.knsrc
631 %_kde_docdir/*/*/kwordquiz
632
633 #---------------------------------------------
634
635 %package -n step
636 Summary: Interactive physical simulator
637 Group: Graphical desktop/KDE
638 Requires: %name-core = %version
639
640 %description -n step
641 Step is an interactive physical simulator. It works like this:
642 you place some bodies on the scene, add some forces such as gravity
643 or springs, then click "Simulate" and Step shows you how your scene
644 will evolve according to the laws of physics. You can change every
645 property of bodies/forces in your experiment (even during simulation)
646 and see how this will change evolution of the experiment. With Step
647 you can not only learn but feel how physics works !
648
649 %files -n step
650 %defattr(-,root,root)
651 %_kde_bindir/step
652 %_kde_datadir/applications/kde4/step.desktop
653 %_kde_appsdir/step
654 %_kde_iconsdir/*/*/apps/step.*
655 %_kde_datadir/config.kcfg/step.kcfg
656 %_kde_datadir/config/step.knsrc
657 %_kde_docdir/*/*/step
658
659 #---------------------------------------------
660
661 %define science_major 4
662 %define libscience %mklibname science %{science_major}
663
664 %package -n %libscience
665 Summary: Runtime library for KDE Education Application
666 Group: System/Libraries
667
668 %description -n %libscience
669 libscience is a library that provides classes for chemical data.This library is
670 mainly used by kalzium.
671
672 %files -n %libscience
673 %defattr(-,root,root)
674 %_kde_libdir/libscience.so.%{science_major}*
675
676 #---------------------------------------------
677
678 %define kdeeduui_major 4
679 %define libkdeeduui %mklibname kdeeduui %{kdeeduui_major}
680
681 %package -n %libkdeeduui
682 Summary: Runtime library for KDE Education Application
683 Group: System/Libraries
684
685 %description -n %libkdeeduui
686 Runtime library for KDE Education Application
687
688 %files -n %libkdeeduui
689 %defattr(-,root,root)
690 %_kde_libdir/libkdeeduui.so.%{kdeeduui_major}*
691
692 #---------------------------------------------
693
694 %define marblewidget_major 11
695 %define libmarblewidget %mklibname marblewidget %{marblewidget_major}
696
697 %package -n %libmarblewidget
698 Summary: Runtime library for marble
699 Group: System/Libraries
700 Obsoletes: %{_lib}marblewidget0 < 4.4.95-3
701
702 %description -n %libmarblewidget
703 Runtime library for marble
704
705 %files -n %libmarblewidget
706 %defattr(-,root,root)
707 %_kde_libdir/libmarblewidget.so.0.*
708 %_kde_libdir/libmarblewidget.so.%{marblewidget_major}
709
710 #---------------------------------------------
711
712 %define rocslib_major 4
713 %define librocslib %mklibname rocslib %{rocslib_major}
714
715 %package -n %librocslib
716 Summary: Runtime library for Rocs
717 Group: System/Libraries
718
719 %description -n %librocslib
720 Runtime library for Rocs
721
722 %files -n %librocslib
723 %defattr(-,root,root)
724 %_kde_libdir/librocslib.so.%{rocslib_major}*
725
726 #---------------------------------------------
727
728 %define keduvocdocument_major 4
729 %define libkeduvocdocument %mklibname keduvocdocument %{keduvocdocument_major}
730
731 %package -n %libkeduvocdocument
732 Summary: Runtime library for KDE Education Application
733 Group: System/Libraries
734
735 %description -n %libkeduvocdocument
736 Runtime library for KDE Education Application
737
738 %files -n %libkeduvocdocument
739 %defattr(-,root,root)
740 %_kde_libdir/libkeduvocdocument.so.%{keduvocdocument_major}*
741
742 #---------------------------------------------
743
744 %package -n marble
745 Summary: A virtual globe and world atlas
746 Group: Graphical desktop/KDE
747 Requires: %name-core = %version
748 Requires: marble-common
749 Provides: kde4-marble = %version
750
751 %description -n marble
752 Marble is a Virtual Globe and World Atlas that you can use to learn more
753 about Earth: You can pan and zoom around and you can look up places and
754 roads. A mouse click on a place label will provide the respective
755 Wikipedia article.
756
757 %files -n marble
758 %defattr(-,root,root)
759 %_kde_bindir/marble
760 %_kde_bindir/geodatatest
761 %_kde_bindir/tilecreator
762 %_kde_bindir/routing-instructions
763 %_kde_iconsdir/*/*/apps/marble.*
764 %_kde_datadir/applications/kde4/marble.desktop
765 %_kde_docdir/HTML/*/marble
766
767 #---------------------------------------------
768
769 %package -n marble-common
770 Summary: A virtual globe and world atlas
771 Group: Graphical desktop/KDE
772 Requires: %name-core = %version
773 %if %with marble_python
774 BuildRequires: python-kde4
775 Requires: python
776 %endif
777 Conflicts: marble < 4.2.2-6
778
779 %description -n marble-common
780 Marble is a Virtual Globe and World Atlas that you can use to learn more
781 about Earth: You can pan and zoom around and you can look up places and
782 roads. A mouse click on a place label will provide the respective
783 Wikipedia article.
784
785 %files -n marble-common
786 %defattr(-,root,root)
787 %_kde_libdir/kde4/libmarble_part.*
788 %_kde_datadir/config.kcfg/marble.kcfg
789 %_kde_services/marble_part.desktop
790 %_kde_libdir/kde4/plugins/marble
791 %_kde_appsdir/marble
792 %_kde_appsdir/marble_part
793 %if %with marble_python
794 %py_platsitedir/PyKDE4/marble.so
795 %endif
796
797 #-----------------------------------------------------------------------------
798
799 %package -n plasma-applet-didyouknow
800 Summary: plasma didyouknow Applet
801 Group: Graphical desktop/KDE
802 Requires: kdebase4-runtime
803 Provides: plasma-applet
804 Conflicts: extragear-plasma < 4.0.82
805
806 %description -n plasma-applet-didyouknow
807 Plasma applet where you can answer questions
808
809 %files -n plasma-applet-didyouknow
810 %defattr(-,root,root)
811 %_kde_libdir/kde4/plasma_applet_didyouknow.so
812 %_kde_services/plasma_didyouknow.desktop
813 %_kde_appsdir/desktoptheme/default/widgets/chalkboard.svg
814
815 #-----------------------------------------------------------------------------
816
817 %package -n plasma-engine-kalzium
818 Summary: plasma didyouknow Applet
819 Group: Graphical desktop/KDE
820 Requires: kdebase4-runtime
821 Provides: plasma-applet
822 Conflicts: extragear-plasma < 4.0.82
823
824 %description -n plasma-engine-kalzium
825 kalzium engine applet
826
827 %files -n plasma-engine-kalzium
828 %defattr(-,root,root)
829 %_kde_libdir/kde4/plasma_engine_kalzium.so
830 %_kde_services/plasma-dataengine-kalzium.desktop
831
832 #-----------------------------------------------------------------------------
833
834 %package -n plasma-applet-kworldclock
835 Summary: plasma kworldclock Applet
836 Group: Graphical desktop/KDE
837 Requires: kdebase4-runtime
838 Requires: marble
839 Provides: plasma-applet
840 Conflicts: extragear-plasma < 4.0.82
841
842 %description -n plasma-applet-kworldclock
843 plasma kworldclock Applet
844
845 %files -n plasma-applet-kworldclock
846 %defattr(-,root,root)
847 %_kde_libdir/kde4/plasma_applet_worldclock.so
848 %_kde_services/plasma-applet-kworldclock.desktop
849
850
851 #-----------------------------------------------------------------------------
852
853 %package -n cantor
854 Summary: KDE Interface for doing Mathematics and Scientific Computing
855 Group: Graphical desktop/KDE
856 Requires: kdebase4-runtime
857 Conflicts: %{name}-core < 4.5.71
858 Conflicts: %{name}-devel < 4.5.74
859
860 %description -n cantor
861 Cantor is a KDE Application aimed to provide a nice Interface
862 for doing Mathematics and Scientific Computing. It doesn't implement
863 its own Computation Logic, but instead is built around different
864 Backends.
865
866 %files -n cantor
867 %defattr(-,root,root)
868 %_kde_bindir/cantor
869 %_kde_bindir/cantor_rserver
870 %_kde_libdir/kde4/cantor_creatematrixassistant.so
871 %_kde_libdir/kde4/cantor_differentiateassistant.so
872 %_kde_libdir/kde4/cantor_eigenvaluesassistant.so
873 %_kde_libdir/kde4/cantor_eigenvectorsassistant.so
874 %_kde_libdir/kde4/cantor_integrateassistant.so
875 %_kde_libdir/kde4/cantor_invertmatrixassistant.so
876 %_kde_libdir/kde4/cantor_kalgebrabackend.so
877 %_kde_libdir/kde4/cantor_maximabackend.so
878 %_kde_libdir/kde4/cantor_nullbackend.so
879 %_kde_libdir/kde4/cantor_octavebackend.so
880 %_kde_libdir/kde4/cantor_runscriptassistant.so
881 %_kde_libdir/kde4/cantor_sagebackend.so
882 %_kde_libdir/kde4/cantor_solveassistant.so
883 %_kde_libdir/kde4/cantor_plot2dassistant.so
884 %_kde_libdir/kde4/cantor_plot3dassistant.so
885 %_kde_libdir/kde4/cantor_advancedplotassistant.so
886 %_kde_libdir/kde4/cantor_helppanelplugin.so
887 %_kde_libdir/kde4/cantor_variablemanagerplugin.so
888 %_kde_libdir/kde4/cantor_rbackend.so
889 %_kde_libdir/kde4/concentrationCalculator.so
890 %_kde_libdir/kde4/gasCalculator.so
891 %_kde_libdir/kde4/libcantorpart.so
892 %_kde_libdir/kde4/nuclearCalculator.so
893 %_kde_libdir/libcantor_config.so
894 %_kde_datadir/applications/kde4/cantor.desktop
895 %_kde_appsdir/cantor
896 %_kde_appsdir/cantorpart
897 %_kde_iconsdir/*/*/apps/cantor.*
898 %_kde_iconsdir/*/*/apps/maximabackend.png
899 %_kde_iconsdir/*/*/apps/octavebackend.png
900 %_kde_iconsdir/*/*/apps/rbackend.png
901 %_kde_iconsdir/*/*/apps/sagebackend.png
902 %_kde_configdir/cantor*.knsrc
903 %_kde_datadir/config.kcfg/cantor.kcfg
904 %_kde_datadir/config.kcfg/cantor_libs.kcfg
905 %_kde_datadir/config.kcfg/octavebackend.kcfg
906 %_kde_datadir/config.kcfg/maximabackend.kcfg
907 %_kde_datadir/config.kcfg/sagebackend.kcfg
908 %_kde_datadir/config.kcfg/rserver.kcfg
909 %_kde_services/concentrationCalculator.desktop
910 %_kde_services/gasCalculator.desktop
911 %_kde_services/nuclearCalculator.desktop
912 %doc %_kde_docdir/HTML/en/cantor
913 %_kde_services/cantor
914 %_kde_servicetypes/cantor_assistant.desktop
915 %_kde_servicetypes/cantor_backend.desktop
916 %_kde_servicetypes/cantor_panelplugin.desktop
917
918 #---------------------------------------------
919
920 %define cantorlibs_major 0
921 %define libcantorlibs %mklibname cantorlibs %{cantorlibs_major}
922
923 %package -n %libcantorlibs
924 Summary: Runtime library for cantor
925 Group: System/Libraries
926
927 %description -n %libcantorlibs
928 Runtime library for cantor
929
930 %files -n %libcantorlibs
931 %defattr(-,root,root)
932 # FIXME : Fix lib major
933 %_kde_libdir/libcantorlibs.so.%{cantorlibs_major}*
934 %_kde_libdir/libcantorlibs.so.1
935
936 #---------------------------------------------
937
938 %define analitzagui_major 4
939 %define libanalitzagui %mklibname analitzagui %{analitzagui_major}
940
941 %package -n %libanalitzagui
942 Summary: Runtime library for Kalgebra
943 Group: System/Libraries
944
945 %description -n %libanalitzagui
946 Runtime library for Kalgebra.
947
948 %files -n %libanalitzagui
949 %defattr(-,root,root)
950 %_kde_libdir/libanalitzagui.so.%{analitzagui_major}.*
951 %_kde_libdir/libanalitzagui.so.%{analitzagui_major}
952
953 #---------------------------------------------
954
955 %package -n rocs
956 Summary: Graph - Editor and a Programming Enviroment
957 Group: Graphical desktop/KDE
958
959 %description -n rocs
960 rocs aims to provide a full featured Graph - Editor and a Programming
961 Enviroment that's connected to the Graph by doing it so, it can be
962 used for teachers to show the joy and mistery of Graph Theory,
963
964 %files -n rocs
965 %defattr(-,root,root)
966 %_kde_bindir/rocs
967 %doc %_kde_docdir/HTML/en/rocs
968 %_kde_datadir/applications/kde4/rocs.desktop
969 %_kde_datadir/config.kcfg/rocs.kcfg
970 %_kde_datadir/config/rocs.knsrc
971 %_kde_libdir/kde4/rocs_makecompleteplugin.so
972 %_kde_libdir/kde4/rocs_plaintxt.so
973 %_kde_libdir/kde4/rocs_GraphStructure.so
974 %_kde_libdir/kde4/rocs_ListStructure.so
975 %_kde_libdir/kde4/rocs_kmlParser.so
976 %_kde_appsdir/rocs
977 %_kde_services/rocs_makecompleteplugin.desktop
978 %_kde_services/rocs_plaintxtplugin.desktop
979 %_kde_services/rocs_GraphStructure.desktop
980 %_kde_services/rocs_ListStructure.desktop
981 %_kde_services/rocs_kmlParser.desktop
982 %_kde_servicetypes/RocsFilePlugin.desktop
983 %_kde_servicetypes/RocsToolsPlugin.desktop
984 %_kde_servicetypes/RocsDSPlugin.desktop
985
986 #---------------------------------------------
987
988 %package devel
989 Summary: Devel stuff for %{name}
990 Group: Development/KDE and Qt
991 Requires: kdelibs4-devel
992 Requires: %libkiten = %version
993 Requires: %libSatLib = %version
994 Requires: %libscience = %version
995 Requires: %libkdeeduui = %version
996 Requires: %libkeduvocdocument = %version
997 Requires: %libanalitza = %version
998 Requires: %libanalitzagui = %version
999 Requires: %libcantorlibs = %version
1000 Requires: %libmarblewidget = %version
1001 Requires: %librocslib = %version
1002 Requires: %libcompoundviewer = %version
1003
1004 %description devel
1005 Files needed to build applications based on %{name}.
1006
1007 %files devel
1008 %defattr(-,root,root)
1009 %_kde_libdir/libSatLib.so
1010 %_kde_libdir/libanalitza.so
1011 %_kde_libdir/libanalitzagui.so
1012 %_kde_libdir/libcantorlibs.so
1013 %_kde_libdir/libcompoundviewer.so
1014 %_kde_libdir/libkdeeduui.so
1015 %_kde_libdir/libkeduvocdocument.so
1016 %_kde_libdir/libkiten.so
1017 %_kde_libdir/libmarblewidget.so
1018 %_kde_libdir/librocslib.so
1019 %_kde_libdir/libscience.so
1020 %_kde_includedir/*
1021 %_kde_appsdir/cmake/modules/*
1022 %_kde_datadir/dbus-1/interfaces/*
1023
1024 #----------------------------------------------------------------------
1025
1026 %prep
1027 %if %branch
1028 %setup -q -n kdeedu-%version%kde_snapshot
1029 %else
1030 %setup -q -n kdeedu-%version
1031 %endif
1032 %patch2 -p0
1033
1034 %build
1035 export CFLAGS="%{optflags} -DOCAMLIB=%_libdir/ocaml"
1036 export CPPFLAGS="%{optflags} -DOCAMLIB=%_libdir/ocaml "
1037
1038 %cmake_kde4 \
1039 %if %without marble_python
1040 -DEXPERIMENTAL_PYTHON_BINDINGS=FALSE \
1041 -DBUILD_python=FALSE
1042 %else
1043 -DEXPERIMENTAL_PYTHON_BINDINGS=TRUE
1044 %endif
1045
1046 %make
1047
1048 %install
1049 rm -fr %buildroot
1050 %makeinstall_std -C build
1051
1052 %clean
1053 rm -fr %buildroot

  ViewVC Help
Powered by ViewVC 1.1.30