ALT Linux repositórios
Group :: Ciências/Outros
RPM: grace
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: grace
Version: 5.1.22
Release: alt1
Summary: WYSIWYG tool to make two-dimensional plots of scientific data
License: GPL
Group: Sciences/Other
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
Packager: Michael Shigorin <mike at altlinux.org>
Requires: fonts-type1-urw >= 1.0.7
Requires: url_handler >= 0.2.1
# Automatically added by buildreq on Sat Dec 06 2008
BuildRequires: imake libXbae-devel libXext-devel libXmu-devel libXp-devel libXpm-devel libfftw-devel libjpeg-devel libpng-devel openmotif-devel t1lib-devel xorg-cf-files
Summary(ru_RU.KOI8-R): 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.KOI8-R
Grace -- ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÐÏÄÇÏÔÏ×ËÉ Ä×ÕÍÅÒÎÙÈ ÇÒÁÆÉËÏ× ÐÏ ÞÉÓÌÅÎÎÙÍ
ÄÁÎÎÙÍ. ïÎÁ ÒÁÂÏÔÁÅÔ ÎÁ ÍÎÏÖÅÓÔ×Å (ÅÓÌÉ ÎÅ ÎÁ ×ÓÅÈ) ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ UNIX,
ÇÄÅ ÅÓÔØ X11 É M*tif. ÷ÏÚÍÏÖÎÏÓÔÉ ÜÔÏÊ ÐÒÏÇÒÁÍÍÙ ÁÎÁÌÏÇÉÞÎÙ ÔÁËÉÍ
ÐÒÏÇÒÁÍÍÁÍ, ËÁË Sigmaplot ÉÌÉ Microcal Origin, ÏÄÎÁËÏ, ÓÏÞÅÔÁÀÔ × ÓÅÂÅ É
×ÏÚÍÏÖÎÏÓÔÉ ÔÁËÉÈ ÐÒÏÇÒÁÍÍ, ËÁË gnuplot ÉÌÉ Genplot. íÏÝØ ÜÔÏÊ
ÐÒÏÇÒÁÍÍÙ ÓÏÓÔÏÉÔ × ÔÏÍ, ÞÔÏ ÏÎÁ ÓÏÞÅÔÁÅÔ × ÓÅÂÅ ÕÄÏÂÓÔ×Ï ÇÒÁÆÉÞÅÓËÏÇÏ
ÉÎÔÅÒÆÅÊÓÁ Ó ÂÏÌØÛÉÍÉ ×ÏÚÍÏÖÎÏÓÔÑÍÉ ÑÚÙËÁ ÓÃÅÎÁÒÉÅ×, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ
ÐÒÏ×ÏÄÉÔØ ÓÌÏÖÎÙÅ ×ÙÞÉÓÌÅÎÉÑ ÉÌÉ ÄÅÌÁÔØ Á×ÔÏÍÁÔÉÞÅÓËÕÀ ÏÂÒÁÂÏÔËÕ.
%package devel
Summary: A library for interfacing with Grace using pipes
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ ÄÌÑ ×ÚÁÉÍÏÄÅÊÓÔ×ÉÑ Ó Grace ÞÅÒÅÚ ËÁÎÁÌÙ (pipes)
Group: Development/C
Requires: %name = %version-%release
%description devel
A library for interfacing with Grace using pipes
%description -l ru_RU.KOI8-R devel
âÉÂÌÉÏÔÅËÁ ÄÌÑ ×ÚÁÉÍÏÄÅÊÓÔ×ÉÑ Ó Grace ÞÅÒÅÚ ËÁÎÁÌÙ (pipes)
%prep
%setup -n %name-%version
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
cp %SOURCE7 set_default_enc
%build
%configure \
--prefix=%_datadir \
--with-bundled-xbae=no \
--enable-xmhtml=no \
--with-helpviewer="url_handler.sh %%s" \
--enable-grace-home=%_datadir/grace
%make_build
%install
%makeinstall DESTDIR=%buildroot
install -m 755 set_default_enc %buildroot%_datadir/grace/auxiliary/
ln -s ../doc/%name-%version/doc %buildroot%_datadir/grace/doc
ln -s KOI8-R.enc %buildroot%_datadir/grace/fonts/enc/Default.enc
install -pD -m644 %SOURCE4 %buildroot%_desktopdir/%name.desktop
install -pD -m644 %SOURCE5 %buildroot%_miconsdir/%name.xpm
install -pD -m644 %SOURCE6 %buildroot%_niconsdir/%name.xpm
install -pD -m644 %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 libnetcdf, XmHTML, PDFlib
# (which are currently all orphaned)
# - look into printing support
%changelog
…
Todas as alterações você pod ver aqui
Version: 5.1.22
Release: alt1
Summary: WYSIWYG tool to make two-dimensional plots of scientific data
License: GPL
Group: Sciences/Other
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
Packager: Michael Shigorin <mike at altlinux.org>
Requires: fonts-type1-urw >= 1.0.7
Requires: url_handler >= 0.2.1
# Automatically added by buildreq on Sat Dec 06 2008
BuildRequires: imake libXbae-devel libXext-devel libXmu-devel libXp-devel libXpm-devel libfftw-devel libjpeg-devel libpng-devel openmotif-devel t1lib-devel xorg-cf-files
Summary(ru_RU.KOI8-R): 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.KOI8-R
Grace -- ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÄÌÑ ÐÏÄÇÏÔÏ×ËÉ Ä×ÕÍÅÒÎÙÈ ÇÒÁÆÉËÏ× ÐÏ ÞÉÓÌÅÎÎÙÍ
ÄÁÎÎÙÍ. ïÎÁ ÒÁÂÏÔÁÅÔ ÎÁ ÍÎÏÖÅÓÔ×Å (ÅÓÌÉ ÎÅ ÎÁ ×ÓÅÈ) ÒÁÚÎÏ×ÉÄÎÏÓÔÅÊ UNIX,
ÇÄÅ ÅÓÔØ X11 É M*tif. ÷ÏÚÍÏÖÎÏÓÔÉ ÜÔÏÊ ÐÒÏÇÒÁÍÍÙ ÁÎÁÌÏÇÉÞÎÙ ÔÁËÉÍ
ÐÒÏÇÒÁÍÍÁÍ, ËÁË Sigmaplot ÉÌÉ Microcal Origin, ÏÄÎÁËÏ, ÓÏÞÅÔÁÀÔ × ÓÅÂÅ É
×ÏÚÍÏÖÎÏÓÔÉ ÔÁËÉÈ ÐÒÏÇÒÁÍÍ, ËÁË gnuplot ÉÌÉ Genplot. íÏÝØ ÜÔÏÊ
ÐÒÏÇÒÁÍÍÙ ÓÏÓÔÏÉÔ × ÔÏÍ, ÞÔÏ ÏÎÁ ÓÏÞÅÔÁÅÔ × ÓÅÂÅ ÕÄÏÂÓÔ×Ï ÇÒÁÆÉÞÅÓËÏÇÏ
ÉÎÔÅÒÆÅÊÓÁ Ó ÂÏÌØÛÉÍÉ ×ÏÚÍÏÖÎÏÓÔÑÍÉ ÑÚÙËÁ ÓÃÅÎÁÒÉÅ×, ÞÔÏ ÐÏÚ×ÏÌÑÅÔ
ÐÒÏ×ÏÄÉÔØ ÓÌÏÖÎÙÅ ×ÙÞÉÓÌÅÎÉÑ ÉÌÉ ÄÅÌÁÔØ Á×ÔÏÍÁÔÉÞÅÓËÕÀ ÏÂÒÁÂÏÔËÕ.
%package devel
Summary: A library for interfacing with Grace using pipes
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÁ ÄÌÑ ×ÚÁÉÍÏÄÅÊÓÔ×ÉÑ Ó Grace ÞÅÒÅÚ ËÁÎÁÌÙ (pipes)
Group: Development/C
Requires: %name = %version-%release
%description devel
A library for interfacing with Grace using pipes
%description -l ru_RU.KOI8-R devel
âÉÂÌÉÏÔÅËÁ ÄÌÑ ×ÚÁÉÍÏÄÅÊÓÔ×ÉÑ Ó Grace ÞÅÒÅÚ ËÁÎÁÌÙ (pipes)
%prep
%setup -n %name-%version
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
cp %SOURCE7 set_default_enc
%build
%configure \
--prefix=%_datadir \
--with-bundled-xbae=no \
--enable-xmhtml=no \
--with-helpviewer="url_handler.sh %%s" \
--enable-grace-home=%_datadir/grace
%make_build
%install
%makeinstall DESTDIR=%buildroot
install -m 755 set_default_enc %buildroot%_datadir/grace/auxiliary/
ln -s ../doc/%name-%version/doc %buildroot%_datadir/grace/doc
ln -s KOI8-R.enc %buildroot%_datadir/grace/fonts/enc/Default.enc
install -pD -m644 %SOURCE4 %buildroot%_desktopdir/%name.desktop
install -pD -m644 %SOURCE5 %buildroot%_miconsdir/%name.xpm
install -pD -m644 %SOURCE6 %buildroot%_niconsdir/%name.xpm
install -pD -m644 %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 libnetcdf, XmHTML, PDFlib
# (which are currently all orphaned)
# - look into printing support
%changelog
…
Todas as alterações você pod ver aqui