1 Summary: 3D objects visualizer
2 Summary(pl.UTF-8): Wizualizer obiektów 3D
7 Group: Applications/Graphics
8 Source0: http://dl.sourceforge.net/superficie/%{name}-%{version}.tar.gz
9 # Source0-md5: e204fcc098096520d9384ef9f6f4d119
10 Patch0: %{name}-gcc3.patch
11 Patch1: %{name}-amfix.patch
12 URL: http://superficie.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: glut-devel
16 BuildRequires: gnome-libs-devel >= 1.0.0
17 BuildRequires: gtkglarea1-devel
18 BuildRequires: libstdc++-devel
19 BuildRequires: libtool
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 Superficie is a small program that allows to visualize 3D surfaces and
24 other objects, and to manipulate them. It allows to rotate, to move
25 away, to show illumination, etc. on the surface at issue.
27 %description -l pl.UTF-8
28 Superficie to niewielki program pozwalający wizualizować powierzchnie
29 3D i inne obiekty, oraz manipulować nimi. Pozwala obracać, przesuwać,
30 pokazywać oświetlenie itp. na powierzchni.
39 %{__aclocal} -I macros
43 # ENABLE_NLS is workaround for gnome/libstdc++ conflict
44 CXXFLAGS="%{rpmcflags} -fpermissive -fno-exceptions -DENABLE_NLS"
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT \
54 Graphicsdir=%{_applnkdir}/Graphics
56 %find_lang %{name} --with-gnome
59 rm -rf $RPM_BUILD_ROOT
61 %files -f %{name}.lang
62 %defattr(644,root,root,755)
63 %doc README README.save_eps NEWS AUTHORS ChangeLog doc/data.ps
64 %attr(755,root,root) %{_bindir}/*
65 %{_applnkdir}/Graphics/superficie.desktop
67 %{_datadir}/superficie