]> git.pld-linux.org Git - SPECS.git/blob - superficie.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / superficie.spec
1 Summary:        3D objects visualizer
2 Summary(pl.UTF-8):      Wizualizer obiektów 3D
3 Name:           superficie
4 Version:        0.7.2
5 Release:        1
6 License:        GPL
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)
21
22 %description
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.
26
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.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35 %patch1 -p1
36
37 %build
38 %{__libtoolize}
39 %{__aclocal} -I macros
40 %{__autoconf}
41 %{__autoheader}
42 %{__automake}
43 # ENABLE_NLS is workaround for gnome/libstdc++ conflict
44 CXXFLAGS="%{rpmcflags} -fpermissive -fno-exceptions -DENABLE_NLS"
45 %configure
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         Graphicsdir=%{_applnkdir}/Graphics
55
56 %find_lang %{name} --with-gnome
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
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
66 %{_pixmapsdir}/*
67 %{_datadir}/superficie
This page took 0.13294 seconds and 3 git commands to generate.