source: projects/specs/trunk/s/step/step-vl.spec @ 9222

Revision 9222, 3.6 KB checked in by Takemikaduchi, 9 years ago (diff)

R: rebuild
openbabel: add BR
k3b: new upstream release
others: KDE-4.14.3

Line 
1Name: step
2Summary: Interactive physical simulator
3Summary(ja): インタラクティブな物理シミュレータ
4Version: 4.14.3
5Release: 1%{?_dist_release}
6
7License: GPLv2+
8Group: Applications/Edutainment
9URL: http://edu.kde.org/step/
10
11Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13## upstream patches
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: desktop-file-utils
17BuildRequires: eigen2-devel
18BuildRequires: gsl-devel
19BuildRequires: kdelibs4-devel >= %{version}
20BuildRequires: libqalculate-devel
21BuildRequires: soprano-devel
22
23Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
24
25Conflicts: kdeedu4 < 4.6.50
26
27Vendor: Project Vine
28Distribution: Vine Linux
29
30%description
31With Step you can not only learn but feel how physics works. You place some
32bodies on the scene, add some forces such as gravity or springs, then click
33"Simulate" and Step shows you how your scene will evolve according to the
34laws of physics. You can change every property of bodies/forces in your
35experiment (even during simulation) and see how this will change evolution
36of the experiment.
37
38This package is part of the KDE education module.
39
40
41%prep
42%setup -q
43
44%build
45mkdir -p %{_target_platform}
46pushd %{_target_platform}
47%cmake \
48    -DCMAKE_BUILD_TYPE=release \
49    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
50    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
51    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
52    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
53    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
54    ..
55popd
56
57make %{?_smp_mflags} -C %{_target_platform}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%check
67for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
68    desktop-file-validate $f
69done
70
71
72%post
73touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
74
75%posttrans
76update-desktop-database -q &> /dev/null ||:
77gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
78
79%postun
80if [ $1 -eq 0 ] ; then
81    update-desktop-database -q &> /dev/null ||:
82    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
83    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
84fi
85
86
87%files
88%defattr(-,root,root)
89%doc COPYING COPYING.DOC README
90%{_bindir}/step
91%{_datadir}/appdata/step.appdata.xml
92%{_datadir}/applications/kde4/step.desktop
93%{_datadir}/config/step.knsrc
94%{_datadir}/config.kcfg/step.kcfg
95%{_datadir}/icons/hicolor/*/*/*
96%{_datadir}/kde4/apps/step
97%doc %{_docdir}/HTML/en/step/
98
99%changelog
100* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
101- new upstream release
102
103* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
104- new upstream release
105
106* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
107- new upstream release
108
109* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
110- new upstream release
111
112* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
113- new upstream release
114
115* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
116- new upstream release
117
118* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
119- new upstream release
120
121* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
122- new upstream release
123
124* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
125- new upstream release
126
127* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
128- new upstream release
129
130* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
131- new upstream release
132
133* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
134- split from kdeedu
135
Note: See TracBrowser for help on using the repository browser.