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

Revision 7294, 3.0 KB checked in by Takemikaduchi, 11 years ago (diff)

KDE-4.9.5

Line 
1Name: step
2Summary: Interactive physical simulator
3Summary(ja): インタラクティブな物理シミュレータ
4Version: 4.9.5
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
27%description
28With Step you can not only learn but feel how physics works. You place some
29bodies on the scene, add some forces such as gravity or springs, then click
30"Simulate" and Step shows you how your scene will evolve according to the
31laws of physics. You can change every property of bodies/forces in your
32experiment (even during simulation) and see how this will change evolution
33of the experiment.
34
35This package is part of the KDE education module.
36
37
38%prep
39%setup -q
40
41%build
42mkdir -p %{_target_platform}
43pushd %{_target_platform}
44%cmake \
45    -DCMAKE_BUILD_TYPE=release \
46    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
47    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
48    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
49    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
50    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
51    ..
52popd
53
54make %{?_smp_mflags} -C %{_target_platform}
55
56%install
57rm -rf $RPM_BUILD_ROOT
58make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
59
60%clean
61rm -rf $RPM_BUILD_ROOT
62
63%check
64for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
65    desktop-file-validate $f
66done
67
68
69%post
70touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
71
72%posttrans
73update-desktop-database -q &> /dev/null ||:
74gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
75
76%postun
77if [ $1 -eq 0 ] ; then
78    update-desktop-database -q &> /dev/null ||:
79    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
80    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
81fi
82
83
84%files
85%defattr(-,root,root)
86%doc COPYING COPYING.DOC README
87%{_bindir}/step
88%{_datadir}/applications/kde4/step.desktop
89%{_datadir}/config/step.knsrc
90%{_datadir}/config.kcfg/step.kcfg
91%{_datadir}/icons/hicolor/*/*/*
92%{_datadir}/kde4/apps/step
93%doc %{_docdir}/HTML/en/step/
94
95%changelog
96* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
97- new upstream release
98
99* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
100- new upstream release
101
102* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
103- new upstream release
104
105* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
106- new upstream release
107
108* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
109- new upstream release
110
111* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
112- split from kdeedu
113
Note: See TracBrowser for help on using the repository browser.