3 %bcond_without beryl_mesa # beryl-xgl statically linked with own libGL
5 Summary: OpenGL window and compositing manager
6 Summary(pl): OpenGL-owy zarz±dca okien i sk³adania
13 Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2
14 # Source0-md5: e439403ce19130e37f46185a65465c9b
15 Source1: http://releases.beryl-project.org/%{version}/beryl-mesa-%{version}.tar.bz2
16 # Source1-md5: 387d068091bc5c6fa28f6d754e1296d1
17 Patch0: %{name}-link.patch
18 URL: http://beryl-project.org/
19 BuildRequires: GConf2-devel >= 2.0
20 BuildRequires: OpenGL-GLX-devel
21 BuildRequires: autoconf >= 2.57
22 BuildRequires: automake >= 1:1.9
23 BuildRequires: glib2-devel >= 2.0
24 BuildRequires: intltool >= 0.35.0
25 BuildRequires: libpng-devel
26 BuildRequires: libtool
27 BuildRequires: pkgconfig
28 BuildRequires: sed >= 4.0
29 BuildRequires: startup-notification-devel >= 0.7
30 BuildRequires: xorg-lib-libSM-devel
31 BuildRequires: xorg-lib-libXcomposite-devel >= 0.3
32 BuildRequires: xorg-lib-libXdamage-devel
33 BuildRequires: xorg-lib-libXinerama-devel
34 BuildRequires: xorg-lib-libXrandr-devel
35 BuildRequires: xorg-proto-glproto-devel
36 BuildRequires: xorg-util-makedepend
37 Requires: xorg-app-xvinfo
39 Obsoletes: compiz-quinnstorm
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 Beryl is an OpenGL compositing manager that use
44 GLX_EXT_texture_from_pixmap for binding redirected top-level windows
45 to texture objects. It has a flexible plug-in system and it is
46 designed to run well on most graphics hardware.
48 This is an enhanced version of compiz, developed mainly by Quinnstorm.
49 Some parts were optimized for speed and there were added few
50 additional plugins and patches, delivering even more eyecandy.
53 Beryl jest OpenGL-owym zarz±dc± sk³adania, u¿ywaj±cym rozszerzenia
54 GLX_EXT_texture_from_pixmap w celu wi±zania przekierowanych okien do
55 tekstur. Posiada elastyczny system wtyczek i jest tak zaprojektowany,
56 by dobrze dzia³aæ na wiêkszo¶ci kart graficznych.
58 To jest udoskonalona wersja compiza, tworzona g³ównie przez
59 Quinnstorma. Niektóre czê¶ci zosta³y zoptymalizowane pod wzglêdem
60 prêdko¶ci oraz dodano kilka dodatkowych wtyczek i ³atek,
61 dostarczaj±cych jeszcze wiêcej ¶wiecide³ek.
64 Summary: Header files for beryl
65 Summary(pl): Pliki nag³ówkowe dla beryla
66 Group: X11/Development/Libraries
67 Requires: %{name} = %{epoch}:%{version}-%{release}
68 Requires: OpenGL-GLX-devel
69 Requires: glib2-devel >= 2.0
70 Requires: libpng-devel
71 Requires: startup-notification-devel >= 0.7
72 Requires: xorg-lib-libSM-devel
73 Requires: xorg-lib-libXcomposite-devel >= 0.3
74 Requires: xorg-lib-libXdamage-devel
75 Requires: xorg-lib-libXinerama-devel
76 Requires: xorg-lib-libXrandr-devel
77 Requires: xorg-proto-glproto-devel
78 Obsoletes: compiz-quinnstorm-devel
81 Header files for beryl.
83 %description devel -l pl
84 Pliki nag³ówkowe dla beryla.
87 Summary: GConf settings plugin for beryl
88 Summary(pl): Wtyczka ustawieñ GConf dla beryla
90 Requires: %{name} = %{epoch}:%{version}-%{release}
93 GConf settings plugin for beryl.
95 %description gconf -l pl
96 Wtyczka ustawieñ GConf dla beryla.
99 %setup -q %{?with_beryl_mesa: -a1}
102 mv -f po/{ca_ES,ca}.po
103 mv -f po/{es_ES,es}.po
104 mv -f po/{fr_FR,fr}.po
105 mv -f po/{hu_HU,hu}.po
106 mv -f po/{it_IT,it}.po
107 mv -f po/{ja_JP,ja}.po
108 mv -f po/{ko_KR,ko}.po
109 mv -f po/{pt_PT,pt}.po
110 mv -f po/{sv_SE,sv}.po
111 # sv_FI is identical to sv_SE
113 # NOTE: check the list after any upgrade!
114 cat > po/LINGUAS <<EOF
133 %{__intltoolize} --automake
141 sed -i -e 's@^#! /bin/sh$@#!/bin/bash@' configure
144 %{?with_beryl_mesa:--with-berylmesadir=beryl-mesa} \
151 rm -rf $RPM_BUILD_ROOT
154 DESTDIR=$RPM_BUILD_ROOT
156 rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/backends/*.la
159 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/beryl-settings-dump.1
164 rm -rf $RPM_BUILD_ROOT
166 %post -p /sbin/ldconfig
167 %postun -p /sbin/ldconfig
169 %files -f %{name}.lang
170 %defattr(644,root,root,755)
171 %doc AUTHORS README TODO
172 %attr(755,root,root) %{_bindir}/beryl*
173 %attr(755,root,root) %{_libdir}/libberyl*.so*
174 %dir %{_libdir}/beryl
175 %dir %{_libdir}/beryl/backends
176 %attr(755,root,root) %{_libdir}/beryl/backends/libini.so
178 %{_mandir}/man1/beryl.1*
179 %{_pkgconfigdir}/libberyldecoration.pc
180 %if %{with beryl_mesa}
181 %attr(755,root,root) %{_bindir}/beryl-xgl
182 %{_mandir}/man1/beryl-xgl.1*
186 %defattr(644,root,root,755)
187 %attr(755,root,root) %{_libdir}/libberylsettings.so
188 %{_libdir}/libberylsettings.la
190 %{_pkgconfigdir}/beryl.pc
191 %{_pkgconfigdir}/berylsettings.pc
195 %defattr(644,root,root,755)
196 %attr(755,root,root) %{_libdir}/beryl/backends/libgconf.so