1 %bcond_without doc # build handbooks
9 Summary: K Desktop Environment - Interactive Physical Simulator
10 Summary(pl.UTF-8): K Desktop Environment - interaktywny symulator fizyczny
15 Group: X11/Applications/Graphics
16 Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
17 # Source0-md5: 9e021e50310f0e99bd621d57ab07b7ef
19 URL: http://www.kde.org/
20 BuildRequires: cln-devel
22 BuildRequires: gsl-devel
23 BuildRequires: kde4-kdelibs-devel >= %{version}
24 BuildRequires: libqalculate-devel >= 0.9.5
25 Obsoletes: kde4-kdeedu-step < 4.7.0
26 Obsoletes: step <= 4.8.0
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Step is an interactive physical simulator.
32 It works like this: you place some bodies on the scene, add some
33 forces such as gravity or springs, then click "Simulate" and Step
34 shows you how your scene will evolve according to the laws of physics.
36 You can change every property of bodies/forces in your experiment
37 (even during simulation) and see how this will change evolution of the
38 experiment. With Step you can not only learn but feel how physics
41 %description -l pl.UTF-8
42 Step to interaktywny symulator fizyczny.
44 Działa w ten sposób: umieszcza się na scenie jakieś ciała, dodaje siły
45 takie jak grawitacja czy sprężyny, a następnie wciska przycisk
46 "Symuluj" - a Step pokazuje, jak scena będzie się zmieniała zgodnie z
49 W ramach eksperymentu można zmieniać każdą właściwość ciał/sił (nawet
50 podczas symulacji) i obserwować, jak zmieni to jego przebieg. Przy
51 użyciu Stepa można nie tylko nauczyć się, ale i poczuć, jak działa
55 %setup -q -n %{orgname}-%{version}
56 %{!?with_doc:%patch0 -p1}
62 export CXXFLAGS="%{rpmcflags} -fpermissive"
68 rm -rf $RPM_BUILD_ROOT
70 %{__make} -C build/ install \
71 DESTDIR=$RPM_BUILD_ROOT \
72 kde_htmldir=%{_kdedocdir}
75 %find_lang %{orgname} --with-kde
79 rm -rf $RPM_BUILD_ROOT
81 %files %{?with_doc:-f %{orgname}.lang}
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/step
84 %{_datadir}/appdata/step.appdata.xml
86 %{_datadir}/config.kcfg/step.kcfg
87 %{_datadir}/config/step.knsrc
88 %{_desktopdir}/kde4/step.desktop
89 %{_iconsdir}/hicolor/*/apps/step.png