]>
Commit | Line | Data |
---|---|---|
1137d52e ZU |
1 | Summary: Graphics scripting language designed for creating publication quality graphs, plots, diagrams, figures and slides |
2 | Name: GLE | |
3 | Version: 4.2.3b | |
4 | Release: 0.3 | |
5 | License: BSD | |
6 | Group: Applications/Science | |
7 | Source0: http://downloads.sourceforge.net/glx/gle-graphics-%{version}f-src.tar.gz | |
8 | # Source0-md5: 5884a1cbf7a0fe5d3a18a235d10f64a8 | |
9 | URL: http://glx.sourceforge.net/index.html | |
10 | BuildRequires: QtCore-devel | |
11 | BuildRequires: QtGui-devel | |
12 | BuildRequires: QtNetwork-devel | |
13 | BuildRequires: QtOpenGL-devel | |
14 | BuildRequires: libjpeg-devel | |
15 | BuildRequires: libpng-devel | |
16 | BuildRequires: libtiff-devel | |
17 | BuildRequires: ncurses-devel | |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: texlive-latex | |
20 | BuildRequires: texlive-makeindex | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | GLE (Graphics Layout Engine) is a graphics scripting language designed | |
25 | for creating publication quality graphs, plots, diagrams, figures and | |
26 | slides. GLE supports various graph types (function plots, histograms, | |
27 | bar graphs, scatter plots, contour lines, color maps, surface plots, | |
28 | ...) through a simple but flexible set of graphing commands. More | |
29 | complex output can be created by relying on GLE's scripting language, | |
30 | which is full featured with subroutines, variables, and logic control. | |
31 | GLE relies on LaTeX for text output and supports mathematical formulea | |
32 | in graphs and figures. GLE's output formats include EPS, PS, PDF, | |
33 | JPEG, and PNG. | |
34 | ||
35 | %package gui | |
36 | Summary: GUI to gle | |
37 | License: GPL v2 | |
38 | Group: X11/Applications/Science | |
39 | ||
40 | %description gui | |
41 | GUI to gle. | |
42 | ||
43 | %package devel | |
44 | Summary: Development files. | |
45 | Group: Development/Libraries | |
46 | ||
47 | %description devel | |
48 | Development files. | |
49 | ||
50 | %prep | |
51 | %setup -q -n gle-graphics-%{version} | |
52 | for makefile in $(find -name "Makefile*"); do | |
53 | sed -i "/chmod/d ; s/-m [0-9]\{3\}//g" ${makefile} | |
54 | done | |
55 | ||
56 | %build | |
57 | %configure INSTALL_DATA=/usr/bin/install | |
58 | %{__make} -j1 | |
59 | %{__make} doc | |
60 | ||
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %{__make} install -j1 \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | %{__mv} $RPM_BUILD_ROOT%{_docdir}/{gle-graphics,%{name}-%{version}} | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %attr(755,root,root) %{_bindir}/gle | |
74 | %attr(755,root,root) %{_bindir}/glebtool | |
75 | %doc %{_docdir}/%{name}-%{version} | |
76 | %{_libdir}/libgle-graphics* | |
77 | %{_mandir}/man1/gle.1* | |
78 | %{_datadir}/gle-graphics | |
79 | ||
80 | %files gui | |
81 | %defattr(644,root,root,755) | |
82 | %attr(755,root,root) %{_bindir}/qgle | |
83 | ||
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
86 | %{_pkgconfigdir}/gle-graphics.pc |