2 Summary: Simulation program based on rigid body systems
8 Source0: http://robotics.ee.uwa.edu.au/aero/ftp/%{name}_%{version}_src.tar.gz
9 # Source0-md5: 2ea6f065bc77162ce6b4f4c4a17a3636
10 URL: http://robotics.ee.uwa.edu.au/aero/ftp/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 AERO is a simulation program based on rigid body systems. With the built-in
15 3D editor you can create a virtual scene consisting of spheres, boxes
16 (cuboids), cylinders and plains. These objects may be connected with links
17 like spring, damper, rod and joint.
21 cp src/Makefile{.linux,}
27 CFLAGS="%{rpmcflags}" \
28 LDFLAGS="%{rpmldflags}"
31 rm -rf $RPM_BUILD_ROOT
32 # create directories if necessary
33 #install -d $RPM_BUILD_ROOT
34 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
37 DESTDIR=$RPM_BUILD_ROOT
40 rm -rf $RPM_BUILD_ROOT
51 %post -p /sbin/ldconfig
52 %postun -p /sbin/ldconfig
55 %if %{with initscript}
57 /sbin/chkconfig --add %{name}
58 %service %{name} restart
61 if [ "$1" = "0" ]; then
62 %service -q %{name} stop
63 /sbin/chkconfig --del %{name}
68 %defattr(644,root,root,755)
69 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
72 # if _sysconfdir != /etc:
74 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
75 %attr(755,root,root) %{_bindir}/*
79 # initscript and its config
80 %if %{with initscript}
81 %attr(754,root,root) /etc/rc.d/init.d/%{name}
82 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
85 #%{_examplesdir}/%{name}-%{version}
87 %if %{with subpackage}
89 %defattr(644,root,root,755)
91 #%{_datadir}/%{name}-ext