Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37736774
en ru br
ALT Linux repositórios
S:4.2.5-alt3
5.0: 4.1.2-alt2.beta.1
4.1: 4.1.2-alt0.M41.1.beta
4.0: 4.1.2-alt0.M40.1.beta
3.0: 4.0.8-alt0.1
+backports:4.0.12-alt0.M30.1

Outros repositórios
Upstream:3.1.0

Group :: Gráficos
RPM: gle

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define _unpackaged_files_terminate_build 1
%def_disable backport
%def_with qt
%define truename GLE
Name: gle
Version: 4.1.2
Release: alt0.M41.1.beta
Summary: GLE - Graphics language that produces ps/eps/pdf/png/jpg ouput
Summary(ru_RU.CP1251): GLE - ÿçûê ñîçäàíèÿ èçîáðàæåíèé. Âûâîä â ps/eps/pdf/png/jpg
Copyright: GPL
Group: Graphics
Packager: Igor Vlasenko <viy at altlinux.org>
URL: http://glx.sourceforge.net/
Source: http://dl.sourceforge.net/glx/%{truename}-%{version}b-src.zip
Source1:http://glx.sourceforge.net/download/gle-emacs.el
Source2:gle.el
Source3:http://glx.sourceforge.net/download/vim_gle.zip
Source6:http://glx.sourceforge.net/download/gle.nedit
Source7:http://glx.sourceforge.net/download/bbox_gle.sh
Source8:http://glx.sourceforge.net/download/makeani.pl
# moved to gle-doc
#Source4:http://dl.sourceforge.net/glx/gle-manual-4.0.9.pdf
#Source5:http://dl.sourceforge.net/glx/GLEusersguide.pdf
Patch: GLE-4.1.2b-alt-desktop.patch


# Automatically added by buildreq on Thu Sep 21 2006

BuildRequires: gcc-c++ libjpeg-devel libncurses-devel libtiff-devel unzip
#BuildRequires: xorg-x11-devel xorg-x11-libs gcc-c++ libpng-devel libstdc++-devel libtiff-devel unzip zlib-devel libjpeg-devel libncurses-devel

#BuildNotRequires: fontconfig qt4-settings

%if_enabled backport
BuildRequires: xorg-x11-devel xorg-x11-libs
%else
BuildRequires: imake libXt-devel xorg-cf-files
%endif
%if_with qt
BuildRequires: libqt4-devel
%endif
BuildRequires: desktop-file-utils

%description
GLE is a graphics language that produces postscript, EPS, PDF, PNG, or JPG ouput from a simple script file. The GLE scripting language is full featured with variables, subroutines, logic control, looping, and graphing tools. It is great for plotting and charting data.

GLE can create very complex output with text and graphics (including graphs and charts) from a simple plain text file.

GLE is a full featured programing language that includes variables, subroutines, logic control, looping, a graphing tool, and more to produce high quality postscript output. It has a full range of facilities for producing publication-quality graphs, diagrams, posters and slides. GLE provides LaTeX quality fonts together with a flexible graphics module which allows the user to specify any feature of a graph (down to the line width of the subticks, for example). Complex pictures can be drawn with user-defined subroutines and simple looping structures. Essentially, GLE is a programming language and if you are used to writing software, using LaTeX, or any other non-WYSIWYG tools, then you will enjoy using GLE.

%if_with qt
%package qt
Summary: QT GUI tool for GLE Graphics language
Requires: %name = %version-%release
Requires: ghostscript-lib
Group: Graphics

%description qt
GLE is a graphics language that produces postscript, EPS, PDF, PNG, or JPG ouput from a simple script file. The GLE scripting language is full featured with variables, subroutines, logic control, looping, and graphing tools. It is great for plotting and charting data.

GLE can create very complex output with text and graphics (including graphs and charts) from a simple plain text file.

This package contains QGLE - A Graphical Interface to GLE.
%endif

%prep

#setup -q -n %{truename}-%{version}

%setup -q -n gle4
%patch -p1

%build
#export BOOSTDIR=/usr/include/boost
#export GLE_TOP=$PWD
#%__subst 's|/usr/share/%{name}|%{_libdir}/%{name}|' config.gcc
#%__make -f Makefile.gcc
%__subst 's|-L$x_libraries||' configure
%configure --with-manip --with-x --with-qt=%{_libdir}/qt4 --with-rpath=no
#%make_build # parallel build fails
make

%install
#%__make -f Makefile.gcc GLE_RPM_ROOT=$RPM_BUILD_ROOT install
%make_install install DESTDIR=%buildroot

cp %{SOURCE6} %{SOURCE3} .
install -m 755 %{SOURCE7} $RPM_BUILD_ROOT/%_bindir/bbox_gle
cp %{SOURCE8} .


#cp {SOURCE5} {SOURCE4} .

%__mkdir_p $RPM_BUILD_ROOT/%_emacslispdir
%__mkdir_p $RPM_BUILD_ROOT/etc/emacs/site-start.d
%__cp %{SOURCE1} $RPM_BUILD_ROOT/%_emacslispdir/
%__cp %{SOURCE2} $RPM_BUILD_ROOT/etc/emacs/site-start.d/

%if_with qt
%__mkdir_p $RPM_BUILD_ROOT/%_desktopdir
%__install -m644 platform/autopackage/gle.desktop $RPM_BUILD_ROOT/%_desktopdir/
%__mkdir_p $RPM_BUILD_ROOT/%_liconsdir
%__install -m644 platform/autopackage/gle.png $RPM_BUILD_ROOT/%_liconsdir/
%endif

%if_with qt
%post qt
%update_menus
%update_desktopdb
%postun qt
%clean_menus
%endif
%clean_desktopdb

%files
%doc README.txt vim_gle.zip gle.nedit
%doc makeani.pl
%_bindir/gle
%_bindir/manip
%_bindir/bbox_gle
#%dir %_libdir/%{truename}
#%_libdir/%{truename}/*
%dir %_datadir/%{name}/%{version}
%_datadir/%{name}/%{version}/*
%_emacslispdir/*
/etc/emacs/site-start.d/*
%_libdir/libgle-graphics*.so
# devel subpackage? who requires?
%exclude %_pkgconfigdir/gle-graphics.pc
%_man1dir/gle.1.gz

%if_with qt
%files qt
%_bindir/qgle
%_liconsdir/gle.png
%_desktopdir/gle.desktop
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009