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