Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37046249
en ru br
Репозитории ALT
S:5.1.25-alt6
5.1: 5.1.22-alt6
4.1: 5.1.20-alt3
4.0: 5.1.20-alt3
3.0: 5.1.18-alt1
www.altlinux.org/Changes

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

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

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

%global optflags_lto %optflags_lto -ffat-lto-objects

%def_with netcdf
%def_without pdflib
%def_with lpr

Name: grace
Version: 5.1.25
Release: alt6
Summary: WYSIWYG tool to make two-dimensional plots of scientific data
License: GPL
Group: Sciences/Mathematics

Url: http://plasma-gate.weizmann.ac.il/Grace/
Source: ftp://plasma-gate.weizmann.ac.il/pub/grace/src/grace5/%name-%version.tar.gz
Source4: grace.desktop
Source5: grace.xpm
Source6: grace-32.xpm
Source7: grace-set_default_enc
Patch1: grace-5.1.9-alt1-alt-makefile-bindir.patch
Patch2: grace-5.1.9-alt1-alt-makefile-install_GRACECLI.patch
Patch3: grace-5.1.9-alt1-alt-makefile-install_man.patch
Patch4: grace-5.1.9-alt1-alt-makefile-install_grace_np.patch
Patch5: grace-5.1.11-alt1-alt-makefile-font_links.patch
Patch6: grace-5.1.9-alt1-alt-config-gracerc.patch
Patch7: grace-5.1.22-alt-libpng15.patch
Packager: Michael Shigorin <mike at altlinux.org>

Requires: fonts-type1-urw >= 1.0.7
Requires: url_handler >= 0.2.1

BuildPreReq: libXext-devel

# Automatically added by buildreq on Sun Aug 31 2014

# optimized out: fontconfig gnu-config groff-base libICE-devel libSM-devel libX11-devel libXau-devel libXt-devel libcloog-isl4 libhdf5-8-seq libnetcdf7-seq libopenmotif-devel sgml-common t1lib tex-common texlive-base texlive-base-bin texlive-common texlive-generic-recommended texlive-latex-base texlive-latex-recommended texlive-xetex xorg-printproto-devel xorg-xproto-devel zlib-devel
BuildRequires: OpenSP imake libXbae-devel libXext-devel libXmu-devel libXp-devel libXpm-devel libfftw3-devel libjpeg-devel libnetcdf-devel libpng-devel linuxdoc-tools t1lib-devel xorg-cf-files

BuildRequires: sgml-tools texlive-latex-recommended

%{?_with_pdflib:BuildRequires: libpdflib-lite-devel}
%{?_with_lpr:BuildRequires: /usr/bin/lpr}
# argh
%{?_with_netcdf:BuildRequires: libnetcdf-devel}
# no need this conflict now
#{?_with_netcdf:Conflicts: libnetcdf-mpi libhdf5-mpi mpi-selector openmpi}

Summary(ru_RU.UTF-8): WYSIWYG-я│я─п╣п╢я│я┌п╡п╬ п╢п╩я▐ п©п╬п╢пЁп╬я┌п╬п╡п╨п╦ п╢п╡я┐п╪п╣я─п╫я▀я┘ пЁя─п╟я└п╦п╨п╬п╡

%description
Grace is a tool to make two-dimensional plots of numerical data. It runs
under various (if not all) flavours of UNIX with X11 and M*tif. Its
capabilities are roughly similar to GUI-based programs like Sigmaplot or
Microcal Origin plus script-based tools like gnuplot or Genplot. Its
strength lies in the fact that it combines the convenience of a
graphical user interface with the power of a scripting language which
enables it to do sophisticated calculations or perform automated tasks.

%description -l ru_RU.UTF-8
Grace -- я█я┌п╬ п©я─п╬пЁя─п╟п╪п╪п╟ п╢п╩я▐ п©п╬п╢пЁп╬я┌п╬п╡п╨п╦ п╢п╡я┐п╪п╣я─п╫я▀я┘ пЁя─п╟я└п╦п╨п╬п╡ п©п╬ я┤п╦я│п╩п╣п╫п╫я▀п╪
п╢п╟п╫п╫я▀п╪. п·п╫п╟ я─п╟п╠п╬я┌п╟п╣я┌ п╫п╟ п╪п╫п╬п╤п╣я│я┌п╡п╣ (п╣я│п╩п╦ п╫п╣ п╫п╟ п╡я│п╣я┘) я─п╟п╥п╫п╬п╡п╦п╢п╫п╬я│я┌п╣п╧ UNIX,
пЁп╢п╣ п╣я│я┌я▄ X11 п╦ M*tif. п▓п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ я█я┌п╬п╧ п©я─п╬пЁя─п╟п╪п╪я▀ п╟п╫п╟п╩п╬пЁп╦я┤п╫я▀ я┌п╟п╨п╦п╪
п©я─п╬пЁя─п╟п╪п╪п╟п╪, п╨п╟п╨ Sigmaplot п╦п╩п╦ Microcal Origin, п╬п╢п╫п╟п╨п╬, я│п╬я┤п╣я┌п╟я▌я┌ п╡ я│п╣п╠п╣ п╦
п╡п╬п╥п╪п╬п╤п╫п╬я│я┌п╦ я┌п╟п╨п╦я┘ п©я─п╬пЁя─п╟п╪п╪, п╨п╟п╨ gnuplot п╦п╩п╦ Genplot.  п°п╬я┴я▄ я█я┌п╬п╧
п©я─п╬пЁя─п╟п╪п╪я▀ я│п╬я│я┌п╬п╦я┌ п╡ я┌п╬п╪, я┤я┌п╬ п╬п╫п╟ я│п╬я┤п╣я┌п╟п╣я┌ п╡ я│п╣п╠п╣ я┐п╢п╬п╠я│я┌п╡п╬ пЁя─п╟я└п╦я┤п╣я│п╨п╬пЁп╬
п╦п╫я┌п╣я─я└п╣п╧я│п╟ я│ п╠п╬п╩я▄я┬п╦п╪п╦ п╡п╬п╥п╪п╬п╤п╫п╬я│я┌я▐п╪п╦ я▐п╥я▀п╨п╟ я│я├п╣п╫п╟я─п╦п╣п╡, я┤я┌п╬ п©п╬п╥п╡п╬п╩я▐п╣я┌
п©я─п╬п╡п╬п╢п╦я┌я▄ я│п╩п╬п╤п╫я▀п╣ п╡я▀я┤п╦я│п╩п╣п╫п╦я▐ п╦п╩п╦ п╢п╣п╩п╟я┌я▄ п╟п╡я┌п╬п╪п╟я┌п╦я┤п╣я│п╨я┐я▌ п╬п╠я─п╟п╠п╬я┌п╨я┐.

%package devel
Summary: A library for interfacing with Grace using pipes
Summary(ru_RU.UTF-8): п▒п╦п╠п╩п╦п╬я┌п╣п╨п╟ п╢п╩я▐ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▐ я│ Grace я┤п╣я─п╣п╥ п╨п╟п╫п╟п╩я▀ (pipes)
Group: Development/C
Requires: %name = %EVR

%description devel
A library for interfacing with Grace using pipes

%description -l ru_RU.UTF-8 devel
п▒п╦п╠п╩п╦п╬я┌п╣п╨п╟ п╢п╩я▐ п╡п╥п╟п╦п╪п╬п╢п╣п╧я│я┌п╡п╦я▐ я│ Grace я┤п╣я─п╣п╥ п╨п╟п╫п╟п╩я▀ (pipes)

%prep
%setup
%patch1 -p1
%patch2 -p1
#patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
#patch7 -p2
cp -a %SOURCE7 set_default_enc

%build
%add_optflags -D_FILE_OFFSET_BITS=64
%add_optflags -I%_includedir/netcdf-3
%configure \
--prefix=%_datadir \
       --with-bundled-xbae=no \
%{subst_enable netcdf} \
--enable-xmhtml=no \
--with-helpviewer="url_handler.sh %%s" \
--with-printcmd="lpr" \
--enable-grace-home=%_datadir/grace
%make_build

%install
# NB: it's _not_ %%makeinstall_std unfortunately
%makeinstall DESTDIR=%buildroot

mkdir -p %buildroot%_man1dir
install -pm644 doc/*.1 %buildroot%_man1dir

install -pm755 set_default_enc %buildroot%_datadir/grace/auxiliary/
ln -s ../../doc/%name-%version/doc %buildroot%_datadir/grace/doc
# UTF-8.enc missing by 5.1.23
#ln -s UTF-8.enc %buildroot%_datadir/grace/fonts/enc/Default.enc

install -pDm644 %SOURCE4 %buildroot%_desktopdir/%name.desktop
install -pDm644 %SOURCE5 %buildroot%_miconsdir/%name.xpm
install -pDm644 %SOURCE6 %buildroot%_niconsdir/%name.xpm
install -pDm644 %SOURCE6 %buildroot%_liconsdir/%name.xpm

%post
GRACE_HOME=%_datadir/grace %_datadir/grace/auxiliary/set_default_enc

%triggerpostun -- grace < 5.1.9-alt2
GRACE_HOME=%_datadir/grace %_datadir/grace/auxiliary/set_default_enc

%files
%_bindir/*
%dir %_datadir/grace
%_datadir/grace/*
%_man1dir/*
%_desktopdir/*
%_niconsdir/*.xpm
%_miconsdir/*.xpm
%_liconsdir/*.xpm
%doc doc CHANGES COPYRIGHT LICENSE src/XMgrace.ad

%files devel
%dir %_libdir/grace
%dir %_includedir/grace
%_libdir/grace/*
%_includedir/grace/*

# TODO:

# - build with XmHTML, PDFlib (which are currently orphaned)
# - look into printing support

%changelog

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

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