3 %bcond_with tests # build with tests
4 %bcond_without tests # build without tests
6 Summary: Ayam is a free 3D modelling environment for the RenderMan interface
13 Source0: http://dl.sourceforge.net/%{name}/%{name}%{version}.src.tar.gz
15 Patch0: %{name}-Makefile.shared.patch
16 URL: http://ayam.sourceforge.net/
17 BuildRequires: OpenGL-devel
18 BuildRequires: tcl-devel
19 BuildRequires: tk-devel
20 BuildRequires: OpenGL-devel
22 #Requires(pre,post): -
30 #ExclusiveArch: %{ix86}
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Ayam is a free (as in free speech, BSD-licensed) 3D modelling environment for the RenderMan interface. Free means that neither the author nor any contributors make money out of this software. We need your (yes your!) feedback to keep this project alive. If you use Ayam, please submit your pictures, bug reports, or feature requests.
36 Ayam features at a glance:
38 - RIB (RenderMan Interface Bytestream) export and import.
39 - Support for NURBS curves and (trimmed) NURBS surfaces, Boxes, Quadrics (Sphere, Disk, Cylinder, Cone, Hyperboloid, Paraboloid, and Torus), CSG, MetaBalls, Patch Meshes, Polygonal Meshes, and Subdivision Surfaces.
40 - NURBS modelling includes normal and interpolating curves as well as extrude, revolve, sweep, birail, skin and gordon objects with caps, holes, and bevels.
41 - Custom objects that may freely implement their representations (using OpenGL and RIB) and even small GUIs to edit their type specific parameters may be written by the user and dynamically loaded at runtime.
42 - Scripting interface: Tcl.
43 - Misc: instancing, arbitrary number of modeling views, object clipboard, independent property clipboard, console, n-level undo.
52 #%description subpackage
54 #%description subpackage -l pl
62 make -f Makefile.shared
65 rm -rf $RPM_BUILD_ROOT
66 # create directories if necessary
67 #install -d $RPM_BUILD_ROOT
70 # DESTDIR=$RPM_BUILD_ROOT
73 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
85 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
87 # if _sysconfdir != /etc:
89 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
91 %attr(755,root,root) %{_bindir}/*
95 # initscript and its config
96 %attr(754,root,root) /etc/rc.d/init.d/%{name}
97 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
100 #%defattr(644,root,root,755)
102 #%{_datadir}/%{name}-ext