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

Revision 11700, 3.8 KB checked in by ara_t, 6 years ago (diff)

step: rebuild with gsl-2.4

Line 
1Name: step
2Summary: Interactive physical simulator
3Summary(ja): インタラクティブな物理シミュレータ
4Version: 4.14.3
5Release: 4%{?_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* Sun Jun 03 2018 Toshiaki Ara <ara_t@384.jp> 4.14.3-4
101- rebuild under under gsl-2.4
102
103* Tue Nov 15 2016 Toshiaki Ara <ara_t@384.jp> 4.14.3-3
104- rebuild under gsl-2.2.1
105
106* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
107- rebuild with gcc-5.4.0
108
109* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
110- new upstream release
111
112* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
113- new upstream release
114
115* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
116- new upstream release
117
118* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
119- new upstream release
120
121* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
122- new upstream release
123
124* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
125- new upstream release
126
127* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
128- new upstream release
129
130* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
131- new upstream release
132
133* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
134- new upstream release
135
136* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
137- new upstream release
138
139* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
140- new upstream release
141
142* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
143- split from kdeedu
144
Note: See TracBrowser for help on using the repository browser.