2009-03-22 06:57:31 +00:00
|
|
|
Name: simspark
|
2017-03-24 17:11:53 +00:00
|
|
|
Version: 0.3.0
|
2019-01-25 13:14:38 +00:00
|
|
|
Release: 12%{?dist}
|
2009-03-22 06:57:31 +00:00
|
|
|
Summary: Spark physical simulation system
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPLv2
|
|
|
|
URL: http://simspark.sourceforge.net
|
|
|
|
Source0: http://downloads.sourceforge.net/simspark/%{name}-%{version}.tar.gz
|
2010-08-04 00:09:34 +00:00
|
|
|
Patch0: %{name}-confscript-mlibfix.patch
|
2009-03-22 06:57:31 +00:00
|
|
|
|
2018-02-18 23:44:09 +00:00
|
|
|
BuildRequires: gcc gcc-c++ cmake boost-devel ruby ruby-devel SDL-devel tex(latex)
|
2009-03-22 06:57:31 +00:00
|
|
|
BuildRequires: ode-devel libGL-devel DevIL-devel freetype-devel libGLU-devel
|
2013-02-13 18:32:04 +00:00
|
|
|
BuildRequires: ImageMagick tex(titlesec.sty) tex(wrapfig.sty)
|
2017-03-24 17:11:53 +00:00
|
|
|
BuildRequires: tex(subfigure.sty) qt-devel
|
2009-03-22 06:57:31 +00:00
|
|
|
Conflicts: rcssserver3d < 0.6.1
|
2013-03-27 15:05:13 +00:00
|
|
|
Requires: ruby ruby(release)
|
2009-03-22 06:57:31 +00:00
|
|
|
Requires: dejavu-sans-mono-fonts
|
|
|
|
|
|
|
|
%description
|
|
|
|
Spark is a physical simulation system. The primary purpose of this system is
|
|
|
|
to provide a *generic* simulator for different kinds of simulations.
|
|
|
|
In these simulations, agents can participate as external processes.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
2011-04-30 09:10:00 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: boost-devel%{?_isa} ruby-devel%{?_isa} ode-devel%{?_isa}
|
|
|
|
Requires: DevIL-devel%{?_isa} libGL-devel libGLU-devel
|
2009-03-22 06:57:31 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-08-04 00:09:34 +00:00
|
|
|
%patch0 -p1 -b .mlibfix
|
2009-03-22 06:57:31 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
mkdir build
|
|
|
|
cd build
|
2016-03-03 20:15:00 +00:00
|
|
|
export CXXFLAGS="${CXXFLAGS:-%optflags} -std=gnu++98"
|
2009-03-22 06:57:31 +00:00
|
|
|
export CFLAGS="${CFLAGS:-%optflags}"
|
2012-02-08 12:50:31 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR:PATH=%{_lib} -DODE_CONFIG_EXEC=ode-double-config .. \
|
|
|
|
-DRUBY_INCLUDE_PATH=`ruby -e 'puts File.join(RbConfig::CONFIG[%q(includedir)], RbConfig::CONFIG[%q(sitearch)])'`
|
2009-03-22 06:57:31 +00:00
|
|
|
make VERBOSE=1 %{?_smp_mflags}
|
|
|
|
make pdf
|
|
|
|
cp doc/devel/manual.pdf ../doc/devel/
|
|
|
|
|
|
|
|
%install
|
|
|
|
make -C build install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
ln -fs %{_datadir}/fonts/dejavu/DejaVuSansMono.ttf \
|
|
|
|
%{buildroot}/%{_datadir}/%{name}/fonts/VeraMono.ttf
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/%{name}/*.h
|
|
|
|
|
|
|
|
mkdir package_docs
|
|
|
|
mv %{buildroot}/%{_datadir}/doc/%{name}/* package_docs/
|
|
|
|
rm -rf %{buildroot}/%{_datadir}/doc
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc package_docs/*
|
|
|
|
%dir %{_libdir}/%{name}
|
|
|
|
# Notice: the package needs .so files for running so
|
|
|
|
# they can't be moved to -devel package
|
|
|
|
%{_libdir}/%{name}/[^l]*.so*
|
|
|
|
%{_libdir}/%{name}/lib*.so.*
|
2017-03-24 18:45:53 +00:00
|
|
|
%{_libdir}/gui*/*.so
|
2009-03-22 06:57:31 +00:00
|
|
|
%{_datadir}/%{name}
|
2017-03-24 17:41:41 +00:00
|
|
|
%{_datadir}/carbon
|
2009-03-22 06:57:31 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_includedir}/%{name}
|
2017-03-24 17:41:41 +00:00
|
|
|
%{_includedir}/gui*
|
2009-03-22 06:57:31 +00:00
|
|
|
%{_libdir}/%{name}/lib*.so
|
|
|
|
%doc doc/devel/howtos doc/devel/manual.pdf
|
|
|
|
|
|
|
|
%changelog
|
2019-01-25 13:14:38 +00:00
|
|
|
* Fri Jan 25 2019 Jonathan Wakely <jwakely@redhat.com> - 0.3.0-12
|
|
|
|
- Rebuilt for Boost 1.69
|
|
|
|
|
2019-01-21 08:49:11 +00:00
|
|
|
* Mon Jan 21 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.3.0-11
|
|
|
|
- F-30: rebuild against ruby26
|
|
|
|
|
2018-07-14 06:12:01 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-18 23:44:09 +00:00
|
|
|
* Sun Feb 18 2018 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.3.0-9
|
|
|
|
- Add gcc-c++ build dependency
|
|
|
|
|
2018-02-09 16:51:23 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-01-23 20:53:46 +00:00
|
|
|
* Tue Jan 23 2018 Jonathan Wakely <jwakely@redhat.com> - 0.3.0-7
|
|
|
|
- Rebuilt for Boost 1.66
|
|
|
|
|
2018-01-05 05:41:14 +00:00
|
|
|
* Fri Jan 05 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.3.0-6
|
|
|
|
- F-28: rebuild for ruby25
|
|
|
|
|
2017-08-03 08:29:16 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 18:41:22 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-19 17:46:49 +00:00
|
|
|
* Wed Jul 19 2017 Jonathan Wakely <jwakely@redhat.com> - 0.3.0-3
|
|
|
|
- Rebuilt for s390x binutils bug
|
|
|
|
|
2017-07-04 06:59:41 +00:00
|
|
|
* Tue Jul 04 2017 Jonathan Wakely <jwakely@redhat.com> - 0.3.0-2
|
|
|
|
- Rebuilt for Boost 1.64
|
|
|
|
|
2017-03-24 17:11:53 +00:00
|
|
|
* Fri Mar 24 2017 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.3.0-1
|
|
|
|
- New upstream version with Carbon: a gui & simulation framework
|
|
|
|
|
2017-02-11 13:30:49 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-27 20:23:21 +00:00
|
|
|
* Fri Jan 27 2017 Jonathan Wakely <jwakely@redhat.com> - 0.2.4-23
|
|
|
|
- Rebuilt for Boost 1.63
|
|
|
|
|
2017-01-13 02:33:25 +00:00
|
|
|
* Fri Jan 13 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.2.4-22
|
|
|
|
- F-26: rebuild for ruby24
|
|
|
|
|
2016-05-17 13:09:44 +00:00
|
|
|
* Tue May 17 2016 Jonathan Wakely <jwakely@redhat.com> - 0.2.4-21
|
|
|
|
- Rebuilt for linker errors in boost (#1331983)
|
|
|
|
|
2016-03-03 20:15:00 +00:00
|
|
|
* Thu Mar 03 2016 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.4-20
|
|
|
|
- Fix compilation on GCC 6.0
|
|
|
|
|
2016-02-05 00:04:35 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.4-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2016-01-15 22:48:42 +00:00
|
|
|
* Fri Jan 15 2016 Jonathan Wakely <jwakely@redhat.com> - 0.2.4-18
|
|
|
|
- Rebuilt for Boost 1.60
|
|
|
|
|
2016-01-13 10:15:53 +00:00
|
|
|
* Wed Jan 13 2016 Vít Ondruch <vondruch@redhat.com> - 0.2.4-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
|
|
|
|
|
2015-08-27 19:13:01 +00:00
|
|
|
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.2.4-16
|
|
|
|
- Rebuilt for Boost 1.59
|
|
|
|
|
2015-07-29 18:18:40 +00:00
|
|
|
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
|
|
|
|
|
2015-07-22 17:33:56 +00:00
|
|
|
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.2.4-14
|
|
|
|
- rebuild for Boost 1.58
|
|
|
|
|
2015-06-19 00:56:41 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 15:46:23 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.2.4-12
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-01-27 01:29:50 +00:00
|
|
|
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.2.4-11
|
|
|
|
- Rebuild for boost 1.57.0
|
|
|
|
|
2015-01-16 09:58:41 +00:00
|
|
|
* Fri Jan 16 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.2.4-10
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_2.2
|
|
|
|
|
2014-10-30 12:22:15 +00:00
|
|
|
* Thu Oct 30 2014 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.4-9
|
|
|
|
- Rebuild due to new ODE version (so version bump)
|
|
|
|
|
2014-08-18 02:25:44 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 06:26:22 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-23 00:57:06 +00:00
|
|
|
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.2.4-6
|
|
|
|
- Rebuild for boost 1.55.0
|
|
|
|
|
2014-04-29 06:29:36 +00:00
|
|
|
* Tue Apr 29 2014 Vít Ondruch <vondruch@redhat.com> - 0.2.4-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
|
|
|
|
|
2013-08-04 14:39:35 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-27 12:39:14 +00:00
|
|
|
* Sat Jul 27 2013 pmachata@redhat.com - 0.2.4-3
|
|
|
|
- Rebuild for boost 1.54.0
|
|
|
|
|
2013-07-21 11:48:15 +00:00
|
|
|
* Sun Jul 21 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.4-2
|
|
|
|
- Fix update path from f17/f18
|
|
|
|
|
2013-06-19 09:12:07 +00:00
|
|
|
* Tue Jun 18 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.4-1
|
|
|
|
- Update to new upstream release: 0.2.4
|
|
|
|
|
2013-03-27 15:05:13 +00:00
|
|
|
* Wed Mar 27 2013 Vít Ondruch <vondruch@redhat.com> - 0.2.3-6
|
|
|
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
|
|
2013-02-12 22:23:41 +00:00
|
|
|
* Tue Feb 12 2013 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.3-5
|
|
|
|
- Fixed compilation with boost 1.53
|
2013-02-13 18:32:04 +00:00
|
|
|
- Fix TeXLive dependencies for Fedora 19
|
2013-02-12 22:23:41 +00:00
|
|
|
|
2013-02-09 22:18:59 +00:00
|
|
|
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.2.3-4
|
|
|
|
- Rebuild for Boost-1.53.0
|
|
|
|
|
2012-08-15 12:38:41 +00:00
|
|
|
* Wed Aug 15 2012 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.3-3
|
|
|
|
- Rebuild for Boost 1.50
|
|
|
|
|
2012-07-21 19:42:06 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-23 08:43:49 +00:00
|
|
|
* Tue May 22 2012 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.3-1
|
|
|
|
- Update to new upstream version 0.2.3
|
|
|
|
- Remove some old .spec stuff (e.g. defattr's)
|
|
|
|
- Fix bug #704861
|
|
|
|
|
2012-02-28 20:06:34 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-9
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-02-16 11:57:16 +00:00
|
|
|
* Thu Feb 16 2012 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.2-8
|
2012-05-23 08:43:49 +00:00
|
|
|
- Fix compilation under gcc 4.7
|
2012-02-16 11:57:16 +00:00
|
|
|
|
2012-02-08 12:50:31 +00:00
|
|
|
* Wed Feb 08 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 0.2.2-7
|
|
|
|
- Rebuilt for Ruby 1.9.3.
|
|
|
|
|
2012-01-14 03:58:10 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-11-21 13:13:59 +00:00
|
|
|
* Mon Nov 21 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.2-5
|
|
|
|
- Rebuild for Boost 1.48
|
|
|
|
|
2011-07-22 12:26:16 +00:00
|
|
|
* Fri Jul 22 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.2-4
|
|
|
|
- Rebuild for boost 1.47
|
|
|
|
|
2011-04-30 09:10:00 +00:00
|
|
|
* Sat Apr 30 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.2-3
|
|
|
|
- Added an upstream patch on the log viewer to fix a crash in logviewer
|
|
|
|
- Make -devel dependencies arch specific, and also base package dependency
|
|
|
|
- Cleanup: clean section, buildroot tag
|
|
|
|
|
2011-04-27 18:23:30 +00:00
|
|
|
* Wed Apr 27 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.2-2
|
|
|
|
- Link against the correct ode library
|
|
|
|
|
2011-04-27 07:47:32 +00:00
|
|
|
* Wed Apr 27 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.2-1
|
|
|
|
- Updated to latest release 0.2.2
|
|
|
|
|
2011-04-17 10:25:49 +00:00
|
|
|
* Sun Apr 17 2011 Kalev Lember <kalev@smartlink.ee> - 0.2.1-5
|
|
|
|
- Rebuilt for boost 1.46.1 soname bump
|
|
|
|
|
2011-02-09 13:55:01 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-08 16:29:38 +00:00
|
|
|
* Mon Nov 08 2010 Hedayat Vatankhah <hedayat.fwd+rpmchlog@gmail.com> - 0.2.1-3
|
|
|
|
- Rebuilt to fix crashing in multi-threaded mode
|
|
|
|
- Replacing an old address in changelog comments
|
|
|
|
|
|
|
|
* Wed Aug 04 2010 Hedayat Vatankhah <hedayat@grad.com> - 0.2.1-2
|
2010-08-04 00:09:34 +00:00
|
|
|
- Rebuild for the new boost
|
|
|
|
- Fixed multilib conflict in config scripts (rh #507983)
|
|
|
|
|
2010-11-08 16:29:38 +00:00
|
|
|
* Wed Jun 09 2010 Hedayat Vatankhah <hedayat@grad.com> - 0.2.1-1
|
2010-06-08 20:07:23 +00:00
|
|
|
- New upstream version 0.2.1
|
|
|
|
- Removed conditional for F10 and before
|
|
|
|
|
2010-01-18 22:41:39 +00:00
|
|
|
* Tue Jan 19 2010 Hedayat Vatankhah <hedayat@grad.com> 0.2-1
|
|
|
|
- Updated to latest upstream release 0.2
|
|
|
|
|
2009-08-10 07:43:41 +00:00
|
|
|
* Mon Aug 10 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1.2-1
|
|
|
|
- Updated to latest upstream release 0.1.2
|
|
|
|
|
2009-07-27 04:20:58 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-08 13:55:55 +00:00
|
|
|
* Fri May 08 2009 Hedayat Vatanlhah <hedayat@grad.com> 0.1-4
|
|
|
|
- Rebuild for boost 1.39
|
|
|
|
|
2009-03-22 06:57:31 +00:00
|
|
|
* Wed Mar 18 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1-3
|
|
|
|
- fixed lib directory variable for cmake
|
|
|
|
|
2013-07-21 11:48:15 +00:00
|
|
|
* Tue Mar 17 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1-2
|
2009-03-22 06:57:31 +00:00
|
|
|
- Added cmake and DevIL patches
|
|
|
|
- Removed redundant gcc-c++ requirement
|
|
|
|
- Add verbose output for make
|
|
|
|
- Added CXXFLAGS
|
|
|
|
- Font package name fix for different distros
|
|
|
|
|
|
|
|
* Thu Feb 19 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1-1
|
|
|
|
- Some cleanup
|
|
|
|
- fixed package documentation installation
|
|
|
|
- added tex(latex) and ImageMagic as a build requirement
|
|
|
|
|
|
|
|
* Fri Feb 13 2009 Hedayat Vatankhah <hedayat@grad.com> 0.1-1
|
|
|
|
- Initial version
|