1 |
mikala |
129264 |
%define eigen_version 2.0.3 |
2 |
|
|
|
3 |
mikala |
114464 |
Name: step |
4 |
|
|
Summary: Interactive physical simulator |
5 |
mikala |
151998 |
Version: 4.7.2 |
6 |
mikala |
129264 |
Release: %mkrel 1 |
7 |
mikala |
114464 |
Group: Graphical desktop/KDE |
8 |
mikala |
129264 |
License: GPLv2 GFDL |
9 |
mikala |
114464 |
URL: http://edu.kde.org/step/ |
10 |
fwang |
115563 |
Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%{name}-%version.tar.bz2 |
11 |
mikala |
114464 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
12 |
mikala |
129264 |
BuildRequires: pkgconfig(eigen2) >= %eigen_version |
13 |
|
|
BuildRequires: pkgconfig(libqalculate) |
14 |
|
|
BuildRequires: pkgconfig(gsl) |
15 |
mikala |
114464 |
#Branch patchs 100->200 |
16 |
|
|
|
17 |
|
|
#Trunk Patchs 200->300 |
18 |
|
|
|
19 |
|
|
#Mageia Patchs 500->600 |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
Step is an interactive physical simulator. It works like this: |
23 |
|
|
you place some bodies on the scene, add some forces such as gravity |
24 |
|
|
or springs, then click "Simulate" and Step shows you how your scene |
25 |
|
|
will evolve according to the laws of physics. You can change every |
26 |
|
|
property of bodies/forces in your experiment (even during simulation) |
27 |
|
|
and see how this will change evolution of the experiment. With Step |
28 |
|
|
you can not only learn but feel how physics works ! |
29 |
|
|
|
30 |
|
|
%files |
31 |
mikala |
129264 |
|
32 |
|
|
%doc README AUTHORS ChangeLog COPYING COPYING.DOC DESIGN TODO |
33 |
mikala |
114464 |
%_kde_bindir/step |
34 |
|
|
%_kde_datadir/applications/kde4/step.desktop |
35 |
|
|
%_kde_appsdir/step |
36 |
|
|
%_kde_datadir/config.kcfg/step.kcfg |
37 |
|
|
%_kde_datadir/config/step.knsrc |
38 |
|
|
%_kde_docdir/HTML/en/step |
39 |
|
|
%_kde_iconsdir/hicolor/*/apps/step.png |
40 |
|
|
|
41 |
|
|
#---------------------------------------------------------------------- |
42 |
|
|
|
43 |
|
|
%prep |
44 |
|
|
%setup -q |
45 |
|
|
%apply_patches |
46 |
|
|
|
47 |
|
|
%build |
48 |
|
|
%cmake_kde4 |
49 |
|
|
%make |
50 |
|
|
|
51 |
|
|
%install |
52 |
|
|
rm -fr %buildroot |
53 |
|
|
%makeinstall_std -C build |
54 |
|
|
|