Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37562378
en ru br
Репозитории ALT
S:1.9.5-alt2
5.1: 1.9.4-alt4
4.1: 1.9.4-alt2
4.0: 1.8.2-alt5.rc9
3.0: 1.8.1-alt1
+backports:1.8.2-alt0.M30.1
www.altlinux.org/Changes

Группа :: Науки/Математика
Пакет: geomview

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

# This spec for backport to M30 is autogenerated. Do not edit it.
Summary: geomview -- interactive geometry viewing program

%define pre .rc9
%def_with xforms

Name: geomview
Version: 1.8.2
Release: alt5%pre

License: GPL
Group: Sciences/Mathematics
Url: http://www.geomview.org
Packager: Vlasenko Igor <viy at altlinux.ru>
Source: http://ftp1.sourceforge.net/geomview/%name-%version.tar.bz2
Source1: %{name}_16.xpm
Source2: %{name}_32.xpm
Source3: %{name}_48.xpm
Source4: %{name}.menu
#Patch0: http://ftp.debian.org/debian/pool/main/g/geomview/%{name}_%version-8.diff.bz2
Patch: geomview-1.8.2-rc9-alt-xforms-path.patch

# Automatically added by buildreq on Tue Aug 29 2006

BuildRequires: flex gcc-c++ libstdc++-devel openmotif-devel tcl-devel tcsh tk-devel xorg-x11-devel xorg-x11-mesagl

%if_with xforms
BuildPreReq: libxforms-devel
%endif

%define DIRSETTINGS moduledir=%_libdir/%{name} geomdatadir=%_datadir/%{name}/data

#BuildRequires: rpm-build-compat >= 0.4


%description
Geomview is interactive geometry software which is
particularly appropriate for mathematics research and education.
Geomview can display 3-D graphics output from Mathematica and Maple.
In particular, geomview can display things in hyperbolic and
spherical space as well as Euclidean space.
.
Geomview allows multiple independently controllable objects and
cameras.  It provides interactive control for motion, appearances
(including lighting, shading, and materials), picking on an
object, edge or vertex level, snapshots in SGI image file or
Renderman RIB format, and adding or deleting objects is provided
through direct mouse manipulation, control panels, and keyboard
shortcuts.  External programs can drive desired aspects of the
viewer (such as continually loading changing geometry or
controlling the motion of certain objects) while allowing
interactive control of everything else.
Homepage: http://www.geomview.org.


%prep
%setup -q -n %name-%version
#%patch0 -p1
%patch0 -p0

%build



autoreconf -fisv
CONFFLAGS='--enable-shared' # --disable-static'

%configure $CONFFLAGS

%make_build %DIRSETTINGS \
ACLOCAL="`pwd`/missing aclocal" \
AUTOCONF="`pwd`/missing autoconf" \
AUTOMAKE="`pwd`/missing automake" \
AUTOHEADER="`pwd`/missing autoheader"

%install
%__make install %DIRSETTINGS DESTDIR=$RPM_BUILD_ROOT
%__install -m644 -D %SOURCE1 $RPM_BUILD_ROOT%_miconsdir/%{name}.xpm
%__install -m644 -D %SOURCE2 $RPM_BUILD_ROOT%_niconsdir/%{name}.xpm
%__install -m644 -D %SOURCE3 $RPM_BUILD_ROOT%_liconsdir/%{name}.xpm
%__install -m644 -D %SOURCE4 $RPM_BUILD_ROOT%_menudir/%{name}

mv doc/geomview.html doc/html

# due to ImageMagic conflict

rm $RPM_BUILD_ROOT%_man1dir/animate.*
# another conflict
rm -f $RPM_BUILD_ROOT%_man1dir/sweep.*
rm -f $RPM_BUILD_ROOT%_man3dir/sweep.*

%post
%update_menus
#install_info %{name}.info
%install_info %{name}
                                                                               
%preun
#uninstall_info %{name}.info
%uninstall_info %{name}

%postun
%clean_menus

%files
%doc doc/html
%doc AUTHORS NEWS README INSTALL.Geomview
%doc doc/OOGL.m.txt doc/motion.tex doc/gvplot.txt doc/oogltour doc/example*
%doc src/bin/animate/animate.1 src/lib/geomutil/bdy/bdy.3 src/lib/geomutil/geomutil.3 src/bin/sweep/sweep.1 src/bin/sweep/sweep.3
#exclude doc/%name.pdf
#find src -name *.[1-9] --- lots of old stuff
%_bindir/*
%_man1dir/*
%if_with xforms
#%_man3dir/*
%endif
%_infodir/%{name}*
%_infodir/figs/*
%_libdir/%name
%_libdir/lib%name.so.*
%dir %_datadir/%name
%_datadir/%name/data
%_miconsdir/%{name}.xpm
%_niconsdir/%{name}.xpm
%_liconsdir/%{name}.xpm
%_menudir/%{name}
# todo: geomview-devel
%exclude /usr/include/%{name}
%exclude %_libdir/lib%name.so
%exclude %_libdir/lib%name.a

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin