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: 15.07.80 |
13 |
Release: %mkrel %{rel} |
14 |
Group: Sciences/Physics |
15 |
License: GPLv2 and GFDL |
16 |
URL: http://www.kde.org/applications/education/step/ |
17 |
Source: http://download.kde.org/stable/%version/src/%{name}-%version.tar.xz |
18 |
|
19 |
BuildRequires: pkgconfig(Qt5Network) |
20 |
BuildRequires: pkgconfig(Qt5Qml) |
21 |
BuildRequires: pkgconfig(Qt5Gui) |
22 |
BuildRequires: pkgconfig(Qt5Quick) |
23 |
BuildRequires: pkgconfig(Qt5Widgets) |
24 |
BuildRequires: pkgconfig(Qt5Svg) |
25 |
BuildRequires: pkgconfig(Qt5OpenGL) |
26 |
BuildRequires: pkgconfig(Qt5PrintSupport) |
27 |
BuildRequires: pkgconfig(Qt5Xml) |
28 |
BuildRequires: pkgconfig(Qt5Test) |
29 |
|
30 |
BuildRequires: kf5-macros |
31 |
BuildRequires: khtml-devel |
32 |
BuildRequires: kconfig-devel |
33 |
BuildRequires: kdelibs4support-devel |
34 |
BuildRequires: knewstuff-devel |
35 |
BuildRequires: kplotting-devel |
36 |
BuildRequires: kdoctools-devel |
37 |
|
38 |
BuildRequires: libxml2-utils |
39 |
BuildRequires: docbook-dtds |
40 |
BuildRequires: docbook-style-xsl |
41 |
|
42 |
BuildRequires: pkgconfig(eigen3) >= %eigen_version |
43 |
BuildRequires: pkgconfig(libqalculate) |
44 |
BuildRequires: pkgconfig(gsl) |
45 |
|
46 |
#Branch patchs 100->200 |
47 |
|
48 |
#Trunk Patchs 200->300 |
49 |
|
50 |
#Mageia Patchs 500->600 |
51 |
|
52 |
%description |
53 |
Step is an interactive physical simulator. It works like this: |
54 |
you place some bodies on the scene, add some forces such as gravity |
55 |
or springs, then click "Simulate" and Step shows you how your scene |
56 |
will evolve according to the laws of physics. You can change every |
57 |
property of bodies/forces in your experiment (even during simulation) |
58 |
and see how this will change evolution of the experiment. With Step |
59 |
you can not only learn but feel how physics works ! |
60 |
|
61 |
%files |
62 |
%doc README AUTHORS ChangeLog COPYING COPYING.DOC DESIGN TODO |
63 |
%_kf5_bindir/step |
64 |
%_kf5_datadir/applications/*.desktop |
65 |
#%_kf5_appdatadir/step.appdata.xml |
66 |
%_kf5_datadir/step |
67 |
%_kf5_datadir/config.kcfg/step.kcfg |
68 |
%_kf5_iconsdir/*/*/*/*.png |
69 |
%_sysconfdir/xdg/step.knsrc |
70 |
|
71 |
#------------------------------------------------------------------------------ |
72 |
|
73 |
%package handbook |
74 |
Summary: %name handbook |
75 |
Requires: %name >= %{version}-%{release} |
76 |
BuildArch: noarch |
77 |
Group: Documentation |
78 |
|
79 |
%description handbook |
80 |
This package provides %name handbook. |
81 |
|
82 |
%files handbook |
83 |
%doc %_kf5_docdir/HTML/en/%name |
84 |
|
85 |
#------------------------------------------------------------------------------ |
86 |
%prep |
87 |
%setup -q |
88 |
%apply_patches |
89 |
|
90 |
%build |
91 |
export LD=/usr/bin/ld.gold |
92 |
%cmake_kf5 |
93 |
%make |
94 |
|
95 |
%install |
96 |
%makeinstall_std -C build |
97 |
|