commit
aa4b5bcfa8
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# gl2ps
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
An OpenGL to PostScript printing library
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# gl2ps
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
An OpenGL to PostScript printing library
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
BIN
gl2ps-1.4.0.tgz
Normal file
BIN
gl2ps-1.4.0.tgz
Normal file
Binary file not shown.
88
gl2ps.spec
Normal file
88
gl2ps.spec
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
Summary: An OpenGL to PostScript printing library
|
||||||
|
Summary(pl): Biblioteka drukowania z OpenGL-a do PostScriptu
|
||||||
|
Name: gl2ps
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 1
|
||||||
|
License: LGPLv2+ or GL2PS
|
||||||
|
Source0: http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
|
||||||
|
URL: http://www.geuz.org/gl2ps/
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: libGL-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
GL2PS is a C library providing high quality vector output for any
|
||||||
|
OpenGL application. The main difference between GL2PS and other
|
||||||
|
similar libraries is the use of sorting algorithms capable of handling
|
||||||
|
intersecting and stretched polygons, as well as non manifold objects.
|
||||||
|
GL2PS provides advanced smooth shading and text rendering, culling of
|
||||||
|
invisible primitives, mixed vector/bitmap output, and much more...
|
||||||
|
|
||||||
|
GL2PS can currently create PostScript (PS), Encapsulated PostScript
|
||||||
|
(EPS) and Portable Document Format (PDF) files, as well as LaTeX files
|
||||||
|
for the text fragments. Adding new vector output formats should be
|
||||||
|
relatively easy (and amongst the formats we would be interested in
|
||||||
|
adding, SVG is first in line). Meanwhile, you can use the excellent
|
||||||
|
pstoedit program to transform the PostScript files generated by GL2PS
|
||||||
|
into many other vector formats such as xfig, cgm, wmf, etc.
|
||||||
|
|
||||||
|
%description -l pl
|
||||||
|
GL2PS to biblioteka C zapewniająca wysokiej jakości wyjście wektorowe
|
||||||
|
dla dowolnej aplikacji OpenGL. Główna różnica między GL2PS a innymi
|
||||||
|
podobnymi bibliotekami polega na użyciu algorytmów sortujących
|
||||||
|
potrafiących obsłużyć przecinające się i rozciągnięte wielokąty, a
|
||||||
|
także obiekty nie będące rozmaitościami. GL2PS zapewnia zaawansowane
|
||||||
|
gładkie cieniowanie i renderowanie tekstu, usuwanie niewidocznych
|
||||||
|
prymitywów, mieszane wyjście wektorowo-bitmapowe i wiele więcej.
|
||||||
|
|
||||||
|
GL2PS aktualnie potrafi tworzyć pliki PostScript (PS), Encapsulated
|
||||||
|
PostScript (EPS) oraz Portable Document Format (PDF), a także pliki
|
||||||
|
LaTeXa dla fragmentów tekstowych. Dodanie nowych wyjściowych formatów
|
||||||
|
wektorowych powinno być względnie łatwe (a spośród formatów, których
|
||||||
|
dodanie zainteresowani byliby autorzy, pierwszym jest SVG). Tymczasem
|
||||||
|
można używać świetnego programu pstoedit do przekształcania plików
|
||||||
|
PostScript generowanych przez GL2PS na wiele innych formatów
|
||||||
|
wektorowych, takich jak xfig, cgm, wmf itp.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Header files for GL2PS library
|
||||||
|
Summary(pl): Pliki nagłówkowe biblioteki GL2PS
|
||||||
|
Requires: %{name}%{_isa} = %{version}-%{release}
|
||||||
|
Requires: libGL-devel
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
Header files for GL2PS library.
|
||||||
|
|
||||||
|
%description devel -l pl
|
||||||
|
Pliki nagłówkowe biblioteki GL2PS.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}-source
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{cmake} .
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf %{buildroot}
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
rm -r %{buildroot}%{_docdir}/gl2ps
|
||||||
|
rm %{buildroot}%{_libdir}/libgl2ps.a
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING.GL2PS COPYING.LGPL
|
||||||
|
%doc README.txt
|
||||||
|
%{_libdir}/libgl2ps.so.*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc gl2ps.pdf gl2psTest*.c
|
||||||
|
%{_libdir}/libgl2ps.so
|
||||||
|
%{_includedir}/gl2ps.h
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue May 05 2020 Hubble Zhu <zhuhengbo1@huawei.com> - 1.4.0-1
|
||||||
|
- First release.
|
||||||
Loading…
x
Reference in New Issue
Block a user