]> git.pld-linux.org Git - packages/kde4-step.git/blob - kde4-step.spec
- release 6 (by relup.sh)
[packages/kde4-step.git] / kde4-step.spec
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
6 Name:           kde4-step
7 Version:        4.14.3
8 Release:        6
9 License:        GPL
10 Group:          X11/Applications/Graphics
11 Source0:        http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
12 # Source0-md5:  9e021e50310f0e99bd621d57ab07b7ef
13 URL:            http://www.kde.org/
14 BuildRequires:  cln-devel
15 BuildRequires:  eigen
16 BuildRequires:  gsl-devel
17 BuildRequires:  kde4-kdelibs-devel >= %{version}
18 BuildRequires:  libqalculate-devel >= 0.9.5
19 Obsoletes:      kde4-kdeedu-step < 4.7.0
20 Obsoletes:      step <= 4.8.0
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
55 export CXXFLAGS="%{rpmcflags} -fpermissive"
56 %cmake \
57         ..
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} -C build/ install \
64         DESTDIR=$RPM_BUILD_ROOT \
65         kde_htmldir=%{_kdedocdir}
66
67 %find_lang %{orgname} --with-kde
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files -f %{orgname}.lang
73 %defattr(644,root,root,755)
74 %attr(755,root,root) %{_bindir}/step
75 %{_datadir}/appdata/step.appdata.xml
76 %{_datadir}/apps/step
77 %{_datadir}/config.kcfg/step.kcfg
78 %{_datadir}/config/step.knsrc
79 %{_desktopdir}/kde4/step.desktop
80 %{_iconsdir}/hicolor/*/apps/step.png
This page took 0.077658 seconds and 3 git commands to generate.