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

Revision 10563, 3.7 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

RevLine 
[4744]1Name: step
2Summary: Interactive physical simulator
3Summary(ja): インタラクティブな物理シミュレータ
[9222]4Version: 4.14.3
[10563]5Release: 2%{?_dist_release}
[4744]6
7License: GPLv2+
8Group: Applications/Edutainment
9URL: http://edu.kde.org/step/
10
[6725]11Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
[4744]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
[8252]27Vendor: Project Vine
28Distribution: Vine Linux
29
[4744]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
[9222]91%{_datadir}/appdata/step.appdata.xml
[4744]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
[10563]100* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
101- rebuild with gcc-5.4.0
102
[9222]103* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
104- new upstream release
105
[8430]106* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
107- new upstream release
108
[8252]109* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
110- new upstream release
111
[8056]112* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
113- new upstream release
114
[7801]115* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
116- new upstream release
117
[7728]118* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
119- new upstream release
120
[7294]121* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
122- new upstream release
123
[7105]124* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
125- new upstream release
126
[6899]127* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
128- new upstream release
129
[6797]130* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
131- new upstream release
132
[6725]133* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
134- new upstream release
135
[4744]136* Wed Aug 31 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
137- split from kdeedu
138
Note: See TracBrowser for help on using the repository browser.