]> git.pld-linux.org Git - SPECS.git/blob - glitz.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / glitz.spec
1 Summary:        glitz - OpenGL compositing library
2 Summary(pl.UTF-8):      glitz - biblioteka składania OpenGL
3 Name:           glitz
4 Version:        0.5.6
5 Release:        4
6 License:        BSD-like
7 Group:          Libraries
8 Source0:        http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
9 # Source0-md5:  c507f140ecccc06aed8888c958edda4c
10 Patch0:         %{name}-link.patch
11 Patch1:         %{name}-ac.patch
12 Patch2:         format-security.patch
13 # it's not directory, don't add /
14 URL:            http://www.freedesktop.org/Software/glitz
15 BuildRequires:  OpenGL-devel
16 BuildRequires:  autoconf >= 2.59-9
17 BuildRequires:  automake
18 BuildRequires:  libtool >= 1:1.4.2-9
19 BuildRequires:  xorg-lib-libX11-devel
20 # incompatible with glitz 0.2.x despite same soname
21 Conflicts:      cairo < 0.3.0-1
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Glitz is a portable 2D graphics library that uses OpenGL to render
26 hardware accelerated graphics. It supports many of the latest OpenGL
27 features, such as efficient off-screen rendering using pbuffers.
28 Rendering can be carried out by arbitrary OpenGL layers, thanks to
29 glitz's extensible backend system. Glitz is designed to match the X
30 Render Extension semantics and provides a general way for accelerating
31 this imaging model. Glitz can be used as a stand-alone layer above
32 OpenGL but is also designed to act as a backend for cairo, providing
33 it with OpenGL accelerated output.
34
35 %description -l pl.UTF-8
36 Glitz to przenośna biblioteka grafiki 2D używająca OpenGL-a do
37 renderowania grafiki ze sprzętową akceleracją. Obsługuje wiele
38 nowych możliwości OpenGL-a, takich jak wydajny rendering poza ekranem
39 przy użyciu p-buforów. Renderowanie może być wykonywane przez dowolne
40 warstwy OpenGL-a dzięki rozszerzalnemu systemowi backendów glitza.
41 Glitz został zaprojektowany aby pasował do semantyki rozszerzenia
42 X Render i dostarcza ogólny sposób akceleracji tego modelu rysowania.
43 Glitz może być używany jako samodzielna warstwa ponad OpenGL, ale
44 został zaprojektowany także, żeby służył jako backend dla cairo,
45 udostępniając akcelerowane wyjście OpenGL.
46
47 %package devel
48 Summary:        Header files for glitz libraries
49 Summary(pl.UTF-8):      Pliki nagłówkowe bibliotek glitz
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 # for glitz-glx
53 Requires:       OpenGL-devel
54 Requires:       xorg-lib-libX11-devel
55
56 %description devel
57 Header files for glitz libraries.
58
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe bibliotek glitz.
61
62 %package static
63 Summary:        Static glitz libraries
64 Summary(pl.UTF-8):      Statyczne biblioteki glitz
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67
68 %description static
69 Static glitz libraries.
70
71 %description static -l pl.UTF-8
72 Statyczne biblioteki glitz.
73
74 %prep
75 %setup -q
76 %patch0 -p1
77 %patch1 -p1
78 %patch2 -p1
79
80 %build
81 %{__libtoolize}
82 %{__aclocal}
83 %{__autoconf}
84 %{__autoheader}
85 %{__automake}
86 %configure \
87         --disable-agl
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc AUTHORS COPYING ChangeLog README TODO
105 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/lib*.so.1
107
108 %files devel
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/lib*.so
111 %{_libdir}/lib*.la
112 %{_includedir}/glitz*.h
113 %{_pkgconfigdir}/*.pc
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/lib*.a
This page took 0.096645 seconds and 3 git commands to generate.