Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37571913
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 %nil
%def_without xforms

Name: geomview
Version: 1.9.4
Release: alt4%pre

License: GPL
Group: Sciences/Mathematics
Url: http://www.geomview.org
Packager: Ilya Mashkin <oddity 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 Sun Jan 13 2008 (-bi)

BuildRequires: flex gcc-c++ imake libmesa-devel tcsh xorg-cf-files zlib-devel libXt-devel libXext-devel lesstif-devel

#B uildRequires: 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 -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"

%set_verify_info_method relaxed

%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

# $RPM_BUILD_ROOT%_man1dir/animate.*
# another conflict
for i in \
$RPM_BUILD_ROOT%_man1dir/animate.* \
; do
fname=`basename $i`
dname=`dirname $i`
mv $i $dname/%name-$fname
done

# xforms

#$RPM_BUILD_ROOT%_man1dir/sweep.* \
#$RPM_BUILD_ROOT%_man3dir/sweep.* \



%files
%doc doc/html
%doc AUTHORS NEWS README INSTALL.Geomview
#doc doc/gvplot.txt
%doc doc/OOGL.m.txt doc/motion.tex doc/oogltour doc/example*
#doc src/bin/sweep/sweep.1* src/bin/sweep/sweep.3*
%doc src/bin/animate/animate.1* src/lib/geomutil/bdy/bdy.3* src/lib/geomutil/geomutil.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.*
%_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