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

Revision 8430, 3.5 KB checked in by Takemikaduchi, 10 years ago (diff)

KDE-4.12.5

Line 
1Name: step
2Summary: Interactive physical simulator
3Summary(ja): インタラクティブな物理シミュレータ
4Version: 4.12.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
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}/applications/kde4/step.desktop
92%{_datadir}/config/step.knsrc
93%{_datadir}/config.kcfg/step.kcfg
94%{_datadir}/icons/hicolor/*/*/*
95%{_datadir}/kde4/apps/step
96%doc %{_docdir}/HTML/en/step/
97
98%changelog
99* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
100- new upstream release
101
102* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
103- new upstream release
104
105* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
106- new upstream release
107
108* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
109- new upstream release
110
111* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
112- new upstream release
113
114* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
115- new upstream release
116
117* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
118- new upstream release
119
120* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
121- new upstream release
122
123* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
124- new upstream release
125
126* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
127- new upstream release
128
129* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
130- split from kdeedu
131
Note: See TracBrowser for help on using the repository browser.