]>
Commit | Line | Data |
---|---|---|
f027660b AM |
1 | %define _state stable |
2 | %define orgname step | |
3 | ||
4 | Summary: K Desktop Environment - Interactive Physical Simulator | |
5 | Summary(pl.UTF-8): K Desktop Environment - interaktywny symulator fizyczny | |
843423dd | 6 | Name: kde4-step |
ac6197e8 | 7 | Version: 4.14.3 |
f027660b AM |
8 | Release: 1 |
9 | License: GPL | |
10 | Group: X11/Applications/Graphics | |
46d041ae | 11 | Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz |
ac6197e8 | 12 | # Source0-md5: 9e021e50310f0e99bd621d57ab07b7ef |
f027660b AM |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: cln-devel | |
15 | BuildRequires: eigen | |
16 | BuildRequires: gsl-devel | |
17 | BuildRequires: kde4-kdelibs-devel >= %{version} | |
21a313ff | 18 | BuildRequires: libqalculate-devel >= 0.9.5 |
f027660b | 19 | Obsoletes: kde4-kdeedu-step < 4.7.0 |
843423dd | 20 | Obsoletes: step <= 4.8.0 |
f027660b AM |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | Step is an interactive physical simulator. | |
25 | ||
26 | It works like this: you place some bodies on the scene, add some | |
27 | forces such as gravity or springs, then click "Simulate" and Step | |
28 | shows you how your scene will evolve according to the laws of physics. | |
29 | ||
30 | You can change every property of bodies/forces in your experiment | |
31 | (even during simulation) and see how this will change evolution of the | |
32 | experiment. With Step you can not only learn but feel how physics | |
33 | works! | |
34 | ||
35 | %description -l pl.UTF-8 | |
36 | Step to interaktywny symulator fizyczny. | |
37 | ||
38 | Działa w ten sposób: umieszcza się na scenie jakieś ciała, dodaje siły | |
39 | takie jak grawitacja czy sprężyny, a następnie wciska przycisk | |
40 | "Symuluj" - a Step pokazuje, jak scena będzie się zmieniała zgodnie z | |
41 | prawami fizyki. | |
42 | ||
43 | W ramach eksperymentu można zmieniać każdą właściwość ciał/sił (nawet | |
44 | podczas symulacji) i obserwować, jak zmieni to jego przebieg. Przy | |
45 | użyciu Stepa można nie tylko nauczyć się, ale i poczuć, jak działa | |
46 | fizyka. | |
47 | ||
48 | %prep | |
49 | %setup -q -n %{orgname}-%{version} | |
50 | ||
51 | %build | |
52 | install -d build | |
53 | cd build | |
54 | %cmake \ | |
55 | .. | |
56 | %{__make} | |
57 | ||
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %{__make} -C build/ install \ | |
62 | DESTDIR=$RPM_BUILD_ROOT \ | |
63 | kde_htmldir=%{_kdedocdir} | |
64 | ||
843423dd | 65 | %find_lang %{orgname} --with-kde |
f027660b AM |
66 | |
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
843423dd | 70 | %files -f %{orgname}.lang |
f027660b AM |
71 | %defattr(644,root,root,755) |
72 | %attr(755,root,root) %{_bindir}/step | |
46d041ae | 73 | %{_datadir}/appdata/step.appdata.xml |
f027660b AM |
74 | %{_datadir}/apps/step |
75 | %{_datadir}/config.kcfg/step.kcfg | |
76 | %{_datadir}/config/step.knsrc | |
77 | %{_desktopdir}/kde4/step.desktop | |
78 | %{_iconsdir}/hicolor/*/apps/step.png |