1 |
mikala |
129264 |
%define eigen_version 2.0.3 |
2 |
mikala |
176594 |
%define rel 1 |
3 |
mikala |
129264 |
|
4 |
mikala |
114464 |
Name: step |
5 |
|
|
Summary: Interactive physical simulator |
6 |
mikala |
186134 |
Version: 4.7.95 |
7 |
mikala |
182245 |
Release: %mkrel %{rel} |
8 |
mikala |
186134 |
Group: Sciences/Physics |
9 |
mikala |
129264 |
License: GPLv2 GFDL |
10 |
mikala |
182245 |
URL: http://www.kde.org/applications/education/step/ |
11 |
fwang |
115563 |
Source: ftp://ftp.kde.org/pub/kde/stable/%version/src/%{name}-%version.tar.bz2 |
12 |
mikala |
114464 |
BuildRequires: kdelibs4-devel >= 2:%{version} |
13 |
mikala |
129264 |
BuildRequires: pkgconfig(eigen2) >= %eigen_version |
14 |
|
|
BuildRequires: pkgconfig(libqalculate) |
15 |
|
|
BuildRequires: pkgconfig(gsl) |
16 |
mikala |
114464 |
#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 |
mikala |
129264 |
%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 |
mikala |
182245 |
#------------------------------------------------------------------------------ |
42 |
mikala |
114464 |
|
43 |
|
|
%prep |
44 |
|
|
%setup -q |
45 |
|
|
%apply_patches |
46 |
|
|
|
47 |
|
|
%build |
48 |
mikala |
182245 |
export LD=/usr/bin/ld.gold |
49 |
|
|
%cmake_kde4 -DKDE4_ENABLE_FINAL=ON |
50 |
mikala |
114464 |
%make |
51 |
|
|
|
52 |
|
|
%install |
53 |
|
|
rm -fr %buildroot |
54 |
|
|
%makeinstall_std -C build |
55 |
|
|
|