]>
Commit | Line | Data |
---|---|---|
a043cca3 | 1 | # |
ae132915 | 2 | # Conditional build: |
08ebd211 | 3 | %bcond_with beryl_mesa # beryl-xgl statically linked with own libGL |
ae132915 | 4 | # |
f0960972 | 5 | Summary: OpenGL window and compositing manager |
5e93a4b9 | 6 | Summary(pl.UTF-8): OpenGL-owy zarządca okien i składania |
f0960972 | 7 | Name: beryl-core |
08ebd211 | 8 | Version: 0.1.9999.1 |
d9c145cc | 9 | Release: 1 |
ae132915 | 10 | Epoch: 1 |
c56add98 | 11 | License: MIT |
f0960972 | 12 | Group: X11 |
ae132915 | 13 | Source0: http://releases.beryl-project.org/%{version}/%{name}-%{version}.tar.bz2 |
08ebd211 | 14 | # Source0-md5: e7f65f7caf72ed7ec55f46468099f694 |
15 | #Source1: http://releases.beryl-project.org/%{version}/beryl-mesa-%{version}.tar.bz2 | |
fdfd9300 | 16 | # Source1-md5: 387d068091bc5c6fa28f6d754e1296d1 |
25d9cdf9 JB |
17 | Patch0: %{name}-link.patch |
18 | URL: http://beryl-project.org/ | |
e415f12f | 19 | BuildRequires: GConf2-devel >= 2.0 |
25d9cdf9 | 20 | BuildRequires: OpenGL-GLX-devel |
f0960972 | 21 | BuildRequires: autoconf >= 2.57 |
e415f12f | 22 | BuildRequires: automake >= 1:1.9 |
2a6e2aba | 23 | BuildRequires: glib2-devel >= 2.0 |
e415f12f | 24 | BuildRequires: intltool >= 0.35.0 |
f0960972 | 25 | BuildRequires: libpng-devel |
26 | BuildRequires: libtool | |
2a6e2aba | 27 | BuildRequires: pkgconfig |
95424525 | 28 | BuildRequires: sed >= 4.0 |
2a6e2aba JB |
29 | BuildRequires: startup-notification-devel >= 0.7 |
30 | BuildRequires: xorg-lib-libSM-devel | |
31 | BuildRequires: xorg-lib-libXcomposite-devel >= 0.3 | |
f0960972 | 32 | BuildRequires: xorg-lib-libXdamage-devel |
230a7b00 | 33 | BuildRequires: xorg-lib-libXinerama-devel |
f0960972 | 34 | BuildRequires: xorg-lib-libXrandr-devel |
b36e8018 | 35 | BuildRequires: xorg-lib-libXrender-devel >= 0.8.4 |
f0960972 | 36 | BuildRequires: xorg-proto-glproto-devel |
b9bba488 | 37 | BuildRequires: xorg-util-makedepend |
fabab321 | 38 | Requires: xorg-app-xvinfo |
f0960972 | 39 | Provides: compiz |
c60c79aa | 40 | Obsoletes: compiz-quinnstorm |
f0960972 | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
43 | %description | |
44 | Beryl is an OpenGL compositing manager that use | |
45 | GLX_EXT_texture_from_pixmap for binding redirected top-level windows | |
46 | to texture objects. It has a flexible plug-in system and it is | |
47 | designed to run well on most graphics hardware. | |
48 | ||
49 | This is an enhanced version of compiz, developed mainly by Quinnstorm. | |
50 | Some parts were optimized for speed and there were added few | |
51 | additional plugins and patches, delivering even more eyecandy. | |
52 | ||
0a4e8d7e JR |
53 | %description -l pl.UTF-8 |
54 | Beryl jest OpenGL-owym zarządcą składania, używającym rozszerzenia | |
55 | GLX_EXT_texture_from_pixmap w celu wiązania przekierowanych okien do | |
f0960972 | 56 | tekstur. Posiada elastyczny system wtyczek i jest tak zaprojektowany, |
0a4e8d7e | 57 | by dobrze działać na większości kart graficznych. |
f0960972 | 58 | |
0a4e8d7e JR |
59 | To jest udoskonalona wersja compiza, tworzona głównie przez |
60 | Quinnstorma. Niektóre części zostały zoptymalizowane pod względem | |
61 | prędkości oraz dodano kilka dodatkowych wtyczek i łatek, | |
62 | dostarczających jeszcze więcej świecidełek. | |
f0960972 | 63 | |
64 | %package devel | |
65 | Summary: Header files for beryl | |
5e93a4b9 | 66 | Summary(pl.UTF-8): Pliki nagłówkowe dla beryla |
25d9cdf9 | 67 | Group: X11/Development/Libraries |
ae132915 | 68 | Requires: %{name} = %{epoch}:%{version}-%{release} |
25d9cdf9 JB |
69 | Requires: OpenGL-GLX-devel |
70 | Requires: glib2-devel >= 2.0 | |
f0960972 | 71 | Requires: libpng-devel |
72 | Requires: startup-notification-devel >= 0.7 | |
73 | Requires: xorg-lib-libSM-devel | |
2a6e2aba | 74 | Requires: xorg-lib-libXcomposite-devel >= 0.3 |
f0960972 | 75 | Requires: xorg-lib-libXdamage-devel |
25d9cdf9 | 76 | Requires: xorg-lib-libXinerama-devel |
f0960972 | 77 | Requires: xorg-lib-libXrandr-devel |
b36e8018 | 78 | Requires: xorg-lib-libXrender-devel >= 0.8.4 |
25d9cdf9 | 79 | Requires: xorg-proto-glproto-devel |
c60c79aa | 80 | Obsoletes: compiz-quinnstorm-devel |
f0960972 | 81 | |
82 | %description devel | |
83 | Header files for beryl. | |
84 | ||
0a4e8d7e JR |
85 | %description devel -l pl.UTF-8 |
86 | Pliki nagłówkowe dla beryla. | |
f0960972 | 87 | |
aea575d3 JB |
88 | %package gconf |
89 | Summary: GConf settings plugin for beryl | |
5e93a4b9 | 90 | Summary(pl.UTF-8): Wtyczka ustawień GConf dla beryla |
aea575d3 JB |
91 | Group: Libraries |
92 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
93 | ||
94 | %description gconf | |
95 | GConf settings plugin for beryl. | |
96 | ||
0a4e8d7e JR |
97 | %description gconf -l pl.UTF-8 |
98 | Wtyczka ustawień GConf dla beryla. | |
aea575d3 | 99 | |
f0960972 | 100 | %prep |
9c9c57d1 | 101 | %setup -q %{?with_beryl_mesa: -a1} |
25d9cdf9 JB |
102 | %patch0 -p1 |
103 | ||
e415f12f | 104 | mv -f po/{ca_ES,ca}.po |
82beb1be | 105 | mv -f po/{de_DE,de}.po |
9c9c57d1 RT |
106 | mv -f po/{es_ES,es}.po |
107 | mv -f po/{fr_FR,fr}.po | |
108 | mv -f po/{hu_HU,hu}.po | |
109 | mv -f po/{it_IT,it}.po | |
110 | mv -f po/{ja_JP,ja}.po | |
111 | mv -f po/{ko_KR,ko}.po | |
112 | mv -f po/{pt_PT,pt}.po | |
82beb1be | 113 | mv -f po/{ru_RU,ru}.po |
9c9c57d1 | 114 | mv -f po/{sv_SE,sv}.po |
82beb1be | 115 | mv -f po/{uk_UA,uk}.po |
e415f12f | 116 | # sv_FI is identical to sv_SE |
9c9c57d1 | 117 | |
82006fe8 | 118 | # NOTE: check the list after any upgrade! |
9c9c57d1 | 119 | cat > po/LINGUAS <<EOF |
e415f12f | 120 | ca |
82beb1be | 121 | de |
9c9c57d1 | 122 | es |
e415f12f | 123 | es_AR |
9c9c57d1 RT |
124 | fr |
125 | hu | |
126 | it | |
127 | ja | |
128 | ko | |
35e2b8a3 | 129 | nl |
68d444c2 | 130 | pl |
9c9c57d1 RT |
131 | pt_BR |
132 | pt | |
82beb1be | 133 | ru |
9c9c57d1 | 134 | sv |
82beb1be | 135 | uk |
9c9c57d1 RT |
136 | zh_CN |
137 | zh_HK | |
138 | zh_TW | |
139 | EOF | |
f0960972 | 140 | |
e415f12f | 141 | %build |
1c2daae9 | 142 | %{__glib_gettextize} |
ae132915 | 143 | %{__intltoolize} --automake |
e415f12f JB |
144 | %{__libtoolize} |
145 | %{__aclocal} | |
146 | %{__autoconf} | |
147 | %{__autoheader} | |
148 | %{__automake} | |
1c2daae9 | 149 | |
ae132915 | 150 | # bashisms inside |
1c2daae9 | 151 | sed -i -e 's@^#! /bin/sh$@#!/bin/bash@' configure |
f0960972 | 152 | |
153 | %configure \ | |
9c9c57d1 | 154 | %{?with_beryl_mesa:--with-berylmesadir=beryl-mesa} \ |
2c006ab6 | 155 | --disable-static \ |
156 | --enable-gconf | |
157 | ||
f0960972 | 158 | %{__make} |
159 | ||
160 | %install | |
161 | rm -rf $RPM_BUILD_ROOT | |
162 | ||
163 | %{__make} install \ | |
f0960972 | 164 | DESTDIR=$RPM_BUILD_ROOT |
165 | ||
25d9cdf9 JB |
166 | rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/backends/*.la |
167 | ||
168 | # program removed | |
169 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/beryl-settings-dump.1 | |
170 | ||
1c2daae9 | 171 | %find_lang %{name} |
172 | ||
f0960972 | 173 | %clean |
174 | rm -rf $RPM_BUILD_ROOT | |
175 | ||
a043cca3 | 176 | %post -p /sbin/ldconfig |
177 | %postun -p /sbin/ldconfig | |
178 | ||
1c2daae9 | 179 | %files -f %{name}.lang |
f0960972 | 180 | %defattr(644,root,root,755) |
25d9cdf9 | 181 | %doc AUTHORS README TODO |
82beb1be | 182 | %attr(755,root,root) %{_bindir}/beryl |
82beb1be JB |
183 | %attr(755,root,root) %{_libdir}/libberyldecoration.so.*.*.* |
184 | %attr(755,root,root) %{_libdir}/libberylsettings.so.*.*.* | |
1c2daae9 | 185 | %dir %{_libdir}/beryl |
186 | %dir %{_libdir}/beryl/backends | |
aea575d3 | 187 | %attr(755,root,root) %{_libdir}/beryl/backends/libini.so |
f0960972 | 188 | %{_datadir}/beryl |
25d9cdf9 JB |
189 | %{_mandir}/man1/beryl.1* |
190 | %if %{with beryl_mesa} | |
191 | %attr(755,root,root) %{_bindir}/beryl-xgl | |
192 | %{_mandir}/man1/beryl-xgl.1* | |
193 | %endif | |
f0960972 | 194 | |
195 | %files devel | |
196 | %defattr(644,root,root,755) | |
82beb1be | 197 | %attr(755,root,root) %{_libdir}/libberyldecoration.so |
25d9cdf9 | 198 | %attr(755,root,root) %{_libdir}/libberylsettings.so |
82beb1be | 199 | %{_libdir}/libberyldecoration.la |
25d9cdf9 | 200 | %{_libdir}/libberylsettings.la |
d9c145cc | 201 | %{_includedir}/beryl |
25d9cdf9 JB |
202 | %{_pkgconfigdir}/beryl.pc |
203 | %{_pkgconfigdir}/berylsettings.pc | |
82beb1be | 204 | %{_pkgconfigdir}/libberyldecoration.pc |
a043cca3 | 205 | %{_mandir}/man3/*.3* |
aea575d3 JB |
206 | |
207 | %files gconf | |
208 | %defattr(644,root,root,755) | |
209 | %attr(755,root,root) %{_libdir}/beryl/backends/libgconf.so |