Репозиторий Sisyphus
Последнее обновление: 10 апреля 2020 | Пакетов: 17568 | Посещений: 17862347
en ru br
Репозитории ALT
5.1: 2.5.1-alt3
4.1: 2.4.1-alt1
4.0: 2.4.1-alt1
3.0: 2.4.1-alt1

Группа :: Графика
Пакет: plotutils

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

# do not use rpmrb (multiple Version entries here)

# FIXME: Version: will replacing with package version

%define LIBXMI_VERSION 1.4
%define fname tek

Name: plotutils
Version: 2.6
Release: alt1.1

Summary: GNU Plotutils -- plotting utilities

Packager: Vitaly Lipatov <lav at altlinux.ru>

License: GPLv3
Group: Graphics
Url: http://www.gnu.org/software/plotutils/plotutils.html

Source: ftp://ftp.gnu.org/gnu/plotutils/plotutils-%version.tar
Patch: %name-info.patch
Patch1: %name-c++.patch
Patch2: %name-2.5.1-alt-autoreconf.patch
Patch3: %name-2.5.1-alt-libpng15.patch

# Automatically added by buildreq on Sun Aug 04 2013

# optimized out: gnu-config libICE-devel libSM-devel libX11-devel libXmu-devel libXt-devel libstdc++-devel xorg-xextproto-devel xorg-xproto-devel zlib-devel
BuildRequires: flex gcc-c++ glibc-devel imake libXaw-devel libXext-devel libpng-devel xorg-cf-files

BuildPreReq: rpm-build-fonts gcc-fortran
# explicitly added texinfo for info files
BuildRequires: texinfo

The GNU plotting utilities include:
(1) GNU libplot, a shared library for exporting 2-D vector graphics
files and for performing vector graphics animation under the X
Window System. Its output file formats include pseudo-GIF, PNM, Adobe
Illustrator, Postscript (editable with the free 'idraw' drawing editor),
Fig (editable with the free g' drawing editor), PCL 5, HP-GL and HP-GL/2,
Tektronix, and GNU metafile format. Many Postscript, PCL, and Hershey
fonts are supported. A separate class library, 'libplotter', provides
a C++ binding to libplot's functionality.
(2) Sample command-line applications 'graph', 'plot', 'tek2plot',
'pic2plot', and 'plotfont', which are built on top of GNU libplot. 'graph'
is a powerful utility for XY plotting, 'plot' translates GNU metafiles to
other formats, 'tek2plot' translates legacy Tektronix data, 'pic2plot'
translates box-and-arrow diagrams in the pic language, and 'plotfont'
plots character maps.
(3) Command-line applications 'spline', 'double', and 'ode', which are
useful in scientific plotting. 'spline' does spline interpolation of input
data of arbitrary dimensionality. It uses cubic splines, splines under
tension, or cubic Bessel interpolation. 'ode' is an interactive program
that can integrate a user-specified system of ordinary differential

%package -n libplot
Summary: libplot plotting library - from plotutils package
Group: Development/C

%description -n libplot
GNU libplot: a function library for exporting two-dimensional vector
graphics files, and for displaying animated vector.

%package -n libplot-devel
Summary: libplot header files
Group: Development/C
Requires: libplot = %LIBPLOT_VERSION-%release

%description -n libplot-devel
libplot header files.

%package -n libplotter
Summary: libplotter plotting library - from plotutils package
Group: Development/C

%description -n libplotter
GNU libplotter: a function library for exporting two-dimensional
vector graphics files, and for displaying animated vector.

%package -n libplotter-devel
Summary: libplotter header files
Group: Development/C
Requires: libplotter = %LIBPLOT_VERSION-%release

%description -n libplotter-devel
libplotter header files.

%package -n libxmi
Summary: libxmi library - from plotutils package
Summary(pl): libxmi - biblioteka z pakietu plotutils
Group: Development/C

%description -n libxmi
GNU libxmi: a function library for exporting two-dimensional vector
graphics files, and for displaying animated vector.

%package -n libxmi-devel
Summary: libxmi header files
Group: Development/C
Requires: libxmi = %LIBXMI_VERSION-%release

%description -n libxmi-devel
libxmi header files.

%patch2 -p2
%patch3 -p2

CXXFLAGS="-fno-rtti -fno-exceptions"
%configure \
--disable-static \
--enable-libplotter \
sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool


cd fonts/pcf
gzip -9nf *.pcf || :
%bitmap_fonts_install %fname

%post -n libplot

%postun -n libplot


%files -n libplot -f fonts/pcf/%fname.files
%doc doc/{*.txt,*.bib}

%files -n libplot-devel

%files -n libplotter

%files -n libplotter-devel

%files -n libxmi

%files -n libxmi-devel


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

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