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