source: projects/specs/trunk/g/gl2ps/gl2ps-vl.spec @ 9305

Revision 9305, 5.8 KB checked in by inagaki, 9 years ago (diff)

2015-01-28 Ryoichi INAGAKI <ryo1@…>

  • gl2ps, jsoncpp: new package
  • vtk: updated


Line 
1Summary:        An OpenGL to PostScript printing library
2Summary(ja):    OpenGL から PostScript を出力するライブラリ
3Summary(pl):    Biblioteka drukowania z OpenGL-a do PostScriptu
4Name:           gl2ps
5Version:        1.3.8
6Release:        6%{?_dist_release}
7License:        LGPLv2+ or GL2PS
8Group:          System Environment/Libraries
9URL:            http://www.geuz.org/gl2ps/
10
11Source0:        http://www.geuz.org/gl2ps/src/%{name}-%{version}.tgz
12
13# Vine Patch
14Patch700:       gl2ps-1.3.8-nostatic.patch
15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17BuildRequires:  cmake >= 2.4
18BuildRequires:  mesa-libGL-devel
19BuildRequires:  libpng-devel
20BuildRequires:  texlive
21BuildRequires:  zlib-devel
22
23%description
24GL2PS is a C library providing high quality vector output for any
25OpenGL application. The main difference between GL2PS and other
26similar libraries is the use of sorting algorithms capable of handling
27intersecting and stretched polygons, as well as non manifold objects.
28GL2PS provides advanced smooth shading and text rendering, culling of
29invisible primitives, mixed vector/bitmap output, and much more...
30
31GL2PS can currently create PostScript (PS), Encapsulated PostScript
32(EPS) and Portable Document Format (PDF) files, as well as LaTeX files
33for the text fragments. Adding new vector output formats should be
34relatively easy (and amongst the formats we would be interested in
35adding, SVG is first in line). Meanwhile, you can use the excellent
36pstoedit program to transform the PostScript files generated by GL2PS
37into many other vector formats such as xfig, cgm, wmf, etc.
38
39%description -l pl
40GL2PS to biblioteka C zapewniająca wysokiej jakości wyjście wektorowe
41dla dowolnej aplikacji OpenGL. Główna różnica między GL2PS a innymi
42podobnymi bibliotekami polega na użyciu algorytmów sortujących
43potrafiących obsłużyć przecinające się i rozciągnięte wielokąty, a
44także obiekty nie będące rozmaitościami. GL2PS zapewnia zaawansowane
45gładkie cieniowanie i renderowanie tekstu, usuwanie niewidocznych
46prymitywów, mieszane wyjście wektorowo-bitmapowe i wiele więcej.
47
48GL2PS aktualnie potrafi tworzyć pliki PostScript (PS), Encapsulated
49PostScript (EPS) oraz Portable Document Format (PDF), a także pliki
50LaTeXa dla fragmentów tekstowych. Dodanie nowych wyjściowych formatów
51wektorowych powinno być względnie łatwe (a spośród formatów, których
52dodanie zainteresowani byliby autorzy, pierwszym jest SVG). Tymczasem
53można używać świetnego programu pstoedit do przekształcania plików
54PostScript generowanych przez GL2PS na wiele innych formatów
55wektorowych, takich jak xfig, cgm, wmf itp.
56
57%package devel
58Summary:        Header files for GL2PS library
59Summary(ja):    GL2PS ライブラリのヘッダファイル
60Summary(pl):    Pliki nagłówkowe biblioteki GL2PS
61Group:          Development/Libraries
62Requires:       %{name} = %{version}-%{release}
63Requires:       mesa-libGL-devel
64
65%description devel
66Header files for GL2PS library.
67
68%description devel -l pl
69Pliki nagłówkowe biblioteki GL2PS.
70
71%prep
72%setup -q -n %{name}-%{version}-source
73%patch700 -p1 -b .nostatic
74
75%build
76%cmake .
77make %{?_smp_mflags}
78
79%install
80rm -rf %{buildroot}
81make DESTDIR=%{buildroot} install
82
83rm -r %{buildroot}%{_docdir}/gl2ps
84
85%clean
86rm -rf %{buildroot}
87
88%post   -p /sbin/ldconfig
89%postun -p /sbin/ldconfig
90
91%files
92%defattr(644,root,root,755)
93%doc COPYING.GL2PS COPYING.LGPL README.txt
94%attr(755,root,root) %{_libdir}/libgl2ps.so.*
95
96%files devel
97%defattr(644,root,root,755)
98%doc gl2ps.pdf TODO.txt gl2psTest*.c
99%{_libdir}/libgl2ps.so
100%{_includedir}/gl2ps.h
101
102%changelog
103* Sun Jan 25 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.3.8-6
104- Initial build for Vine Linux
105- added Patch700
106
107* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-5
108- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
109
110* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-4
111- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
112
113* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-3
114- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
115
116* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.8-2
117- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
118
119* Tue Nov 27 2012 Orion Poplawski <orion@cora.nwra.com> 1.3.8-1
120- Updated to 1.3.8
121- Dropped soversion patch applied upstream
122- Don't need to move library on 64bit anymore
123
124* Sat Sep 01 2012 Dominik Mierzejewski <rpm@greysector.net> 1.3.6-1
125- updated to 1.3.6
126
127* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-5
128- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
129
130* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-4
131- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
132
133* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.3.5-3
134- Rebuild for new libpng
135
136* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.5-2
137- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
138
139* Sat Dec 26 2009 Dominik Mierzejewski <rpm@greysector.net> 1.3.5-1
140- updated to 1.3.5
141- dropped upstreamed patches
142- fixed install in libdir
143- fixed missing SO version
144
145* Sun Aug 23 2009 Dominik Mierzejewski <rpm@greysector.net> 1.3.3-1
146- updated to 1.3.3
147- removed calls to exit(3)
148- added a simple build system (Makefile)
149- dropped libtool dependency
150- 1.3.3 added a new symbol, so made it versioned
151- added examples to -devel docs
152
153* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
154- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
155
156* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
157- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
158
159* Fri Jun 13 2008 Dominik Mierzejewski <rpm@greysector.net> 1.3.2-1
160- adapted PLD spec r1.2
161- dropped static package
Note: See TracBrowser for help on using the repository browser.