]> git.pld-linux.org Git - packages/ayam.git/blob - ayam.spec
- removed precompilant and building oncagain.
[packages/ayam.git] / ayam.spec
1 Summary:        Ayam - a free 3D modelling environment for the RenderMan interface
2 Summary(pl):    Ayam - darmowe ¶rodowisko do modelowania 3D dla interfejsu RenderMan
3 Name:           ayam
4 Version:        1.8.2
5 Release:        0.1
6 Epoch:          0
7 License:        BSD
8 Group:          Applications/Graphics
9 Source0:        http://dl.sourceforge.net/ayam/%{name}%{version}.src.tar.gz
10 # Source0-md5:  98984c09e4582e2347e485df962aa499
11 Patch0:         %{name}-Makefile.shared.patch
12 URL:            http://ayam.sourceforge.net/
13 BuildRequires:  OpenGL-devel
14 BuildRequires:  tcl-devel
15 BuildRequires:  tk-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         prefix  /usr
19
20 %description
21 Ayam is a free (as in free speech, BSD-licensed) 3D modelling
22 environment for the RenderMan interface. Free means that neither the
23 author nor any contributors make money out of this software. We need
24 your (yes your!) feedback to keep this project alive. If you use Ayam,
25 please submit your pictures, bug reports, or feature requests.
26
27 Ayam features at a glance:
28
29 - RIB (RenderMan Interface Bytestream) export and import.
30 - Support for NURBS curves and (trimmed) NURBS surfaces, Boxes,
31   Quadrics (Sphere, Disk, Cylinder, Cone, Hyperboloid, Paraboloid, and
32   Torus), CSG, MetaBalls, Patch Meshes, Polygonal Meshes, and
33   Subdivision Surfaces.
34 - NURBS modelling includes normal and interpolating curves as well as
35   extrude, revolve, sweep, birail, skin and gordon objects with caps,
36   holes, and bevels.
37 - Custom objects that may freely implement their representations
38   (using OpenGL and RIB) and even small GUIs to edit their type specific
39   parameters may be written by the user and dynamically loaded at
40   runtime.
41 - Scripting interface: Tcl.
42 - Misc: instancing, arbitrary number of modeling views, object
43   clipboard, independent property clipboard, console, n-level undo.
44
45 %description -l pl
46 Ayam to wolnodostêpne (na licencji BSD) ¶rodowisko do modelowania 3D
47 dla interfejsu RenderMan. Wolnodostêpne oznacza, ¿e autor ani
48 wspó³twórcy nie otrzymuj± pieniêdzy za to oprogramowanie; potrzebuj±
49 natomiast sprzê¿enia zwrotnego od u¿ytkowników, aby utrzymaæ projekt
50 przy ¿yciu. U¿ywaj±cy Ayama proszeni s± o wysy³anie obrazów, zg³oszeñ
51 b³êdów i pró¶b o nowe mo¿liwo¶ci.
52
53 Przegl±d mo¿liwo¶ci Ayama:
54 - eksport i import RIB (RenderMan Interface Bytestream)
55 - obs³uga krzywych NURBS i (obciêtych) powierzchni NURBS,
56   prostopad³o¶cianów, kwadryk (sfer, dysków, cylindrów, sto¿ków,
57   hiperboloid, paraboloid, torusów), CSG, metakul, siatek ³at, siatek
58   wielok±tnych oraz powierzchni podpodzia³u
59 - modelowanie NURBS obejmuje krzywe normalne i interpolowane, a tak¿e
60   wyt³aczanie, obroty, odchylanie, obiekty pow³ok z czapami, dziurami
61   i szwami
62 - u¿ytkownik mo¿e tworzyæ i wczytywaæ dynamicznie w czasie dzia³ania
63   programu w³asne obiekty ³atwo implementuj±ce swoje reprezentacje
64   (przy u¿yciu OpenGL i RIB), a nawet ma³e GUI do edycji specyficznych
65   dla obiektu parametrów
66 - interfejs skryptowy: Tcl
67 - ró¿ne: tworzenie instancji, dowolna liczba widoków modelowania,
68   schowek dla obiektów, niezale¿ny schowek dla w³asno¶ci, konsola,
69   n-poziomowe undo
70
71 %prep
72 %setup -q -n %{name}
73 %patch0 -p1
74
75 %build
76 mv src/affine/src/write.c src/affine/src/write.cpp 
77 # TODO: optflags
78 %{__make} -C src -f Makefile.shared clean
79 %{__make} -C src -f Makefile.shared
80
81 %install
82 rm -rf $RPM_BUILD_ROOT
83 # create directories if necessary
84 install -d $RPM_BUILD_ROOT
85
86 %{__make} -C src -f Makefile.shared install \
87         PREFIX=$RPM_BUILD_ROOT/usr
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
95
96 # if _sysconfdir != /etc:
97 #%%dir %{_sysconfdir}
98 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
99
100 %attr(755,root,root) %{_bindir}/*
101
102 %{_datadir}/%{name}
103
104 # initscript and its config
105 %attr(754,root,root) /etc/rc.d/init.d/%{name}
106 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/%{name}
This page took 0.073058 seconds and 3 git commands to generate.