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
14 Source0: http://dl.sourceforge.net/ayam/%{name}%{version}.src.tar.gz
16 Patch0: %{name}-Makefile.shared.patch
17 URL: http://ayam.sourceforge.net/
18 BuildRequires: OpenGL-devel
19 BuildRequires: tcl-devel
20 BuildRequires: tk-devel
21 BuildRequires: OpenGL-devel
23 #Requires(pre,post): -
31 #ExclusiveArch: %{ix86}
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Ayam is a free (as in free speech, BSD-licensed) 3D modelling
36 environment for the RenderMan interface. Free means that neither the
37 author nor any contributors make money out of this software. We need
38 your (yes your!) feedback to keep this project alive. If you use Ayam,
39 please submit your pictures, bug reports, or feature requests.
41 Ayam features at a glance:
43 - RIB (RenderMan Interface Bytestream) export and import.
44 - Support for NURBS curves and (trimmed) NURBS surfaces, Boxes,
45 Quadrics (Sphere, Disk, Cylinder, Cone, Hyperboloid, Paraboloid, and
46 Torus), CSG, MetaBalls, Patch Meshes, Polygonal Meshes, and
48 - NURBS modelling includes normal and interpolating curves as well as
49 extrude, revolve, sweep, birail, skin and gordon objects with caps,
51 - Custom objects that may freely implement their representations
52 (using OpenGL and RIB) and even small GUIs to edit their type specific
53 parameters may be written by the user and dynamically loaded at
55 - Scripting interface: Tcl.
56 - Misc: instancing, arbitrary number of modeling views, object
57 clipboard, independent property clipboard, console, n-level undo.
61 #%package subpackage #Summary: - #Summary(pl): - #Group: -
63 #%description subpackage
65 #%description subpackage -l pl
73 make -f Makefile.shared
76 rm -rf $RPM_BUILD_ROOT
77 # create directories if necessary
78 #install -d $RPM_BUILD_ROOT
81 # DESTDIR=$RPM_BUILD_ROOT
84 rm -rf $RPM_BUILD_ROOT
95 %defattr(644,root,root,755)
96 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
98 # if _sysconfdir != /etc:
100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
102 %attr(755,root,root) %{_bindir}/*
106 # initscript and its config
107 %attr(754,root,root) /etc/rc.d/init.d/%{name}
108 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
111 #%defattr(644,root,root,755)
113 #%{_datadir}/%{name}-ext