1 |
%define eigen_version 2.0.3 |
2 |
%define rel 1 |
3 |
|
4 |
Name: step |
5 |
Summary: Interactive physical simulator |
6 |
Version: 4.8.95 |
7 |
Release: %mkrel %{rel} |
8 |
Group: Sciences/Physics |
9 |
License: GPLv2 and GFDL |
10 |
URL: http://www.kde.org/applications/education/step/ |
11 |
Source: ftp://ftp.kde.org/pub/kde/unstable/%version/src/%{name}-%version.tar.xz |
12 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
13 |
BuildRequires: pkgconfig(eigen2) >= %eigen_version |
14 |
BuildRequires: pkgconfig(libqalculate) |
15 |
BuildRequires: pkgconfig(gsl) |
16 |
#Branch patchs 100->200 |
17 |
|
18 |
#Trunk Patchs 200->300 |
19 |
|
20 |
#Mageia Patchs 500->600 |
21 |
|
22 |
%description |
23 |
Step is an interactive physical simulator. It works like this: |
24 |
you place some bodies on the scene, add some forces such as gravity |
25 |
or springs, then click "Simulate" and Step shows you how your scene |
26 |
will evolve according to the laws of physics. You can change every |
27 |
property of bodies/forces in your experiment (even during simulation) |
28 |
and see how this will change evolution of the experiment. With Step |
29 |
you can not only learn but feel how physics works ! |
30 |
|
31 |
%files |
32 |
%doc README AUTHORS ChangeLog COPYING COPYING.DOC DESIGN TODO |
33 |
%_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 |
export LD=/usr/bin/ld.gold |
49 |
%cmake_kde4 -DKDE4_ENABLE_FINAL=ON |
50 |
%make |
51 |
|
52 |
%install |
53 |
rm -fr %buildroot |
54 |
%makeinstall_std -C build |
55 |
|