]>
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 |
8cdb0baf | 8 | Version: 0.1.9999.2 |
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 |
8cdb0baf | 14 | # Source0-md5: f62fd180a1d61dbfe4eba2ae966e9c82 |
08ebd211 | 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 |
b342219a | 121 | cs |
82beb1be | 122 | de |
9c9c57d1 | 123 | es |
e415f12f | 124 | es_AR |
9c9c57d1 RT |
125 | fr |
126 | hu | |
127 | it | |
128 | ja | |
129 | ko | |
35e2b8a3 | 130 | nl |
68d444c2 | 131 | pl |
9c9c57d1 RT |
132 | pt_BR |
133 | pt | |
82beb1be | 134 | ru |
9c9c57d1 | 135 | sv |
82beb1be | 136 | uk |
9c9c57d1 RT |
137 | zh_CN |
138 | zh_HK | |
139 | zh_TW | |
140 | EOF | |
f0960972 | 141 | |
e415f12f | 142 | %build |
1c2daae9 | 143 | %{__glib_gettextize} |
ae132915 | 144 | %{__intltoolize} --automake |
e415f12f JB |
145 | %{__libtoolize} |
146 | %{__aclocal} | |
147 | %{__autoconf} | |
148 | %{__autoheader} | |
149 | %{__automake} | |
1c2daae9 | 150 | |
ae132915 | 151 | # bashisms inside |
1c2daae9 | 152 | sed -i -e 's@^#! /bin/sh$@#!/bin/bash@' configure |
f0960972 | 153 | |
154 | %configure \ | |
9c9c57d1 | 155 | %{?with_beryl_mesa:--with-berylmesadir=beryl-mesa} \ |
2c006ab6 | 156 | --disable-static \ |
157 | --enable-gconf | |
158 | ||
f0960972 | 159 | %{__make} |
160 | ||
161 | %install | |
162 | rm -rf $RPM_BUILD_ROOT | |
163 | ||
164 | %{__make} install \ | |
f0960972 | 165 | DESTDIR=$RPM_BUILD_ROOT |
166 | ||
25d9cdf9 JB |
167 | rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/backends/*.la |
168 | ||
169 | # program removed | |
170 | rm -f $RPM_BUILD_ROOT%{_mandir}/man1/beryl-settings-dump.1 | |
171 | ||
1c2daae9 | 172 | %find_lang %{name} |
173 | ||
f0960972 | 174 | %clean |
175 | rm -rf $RPM_BUILD_ROOT | |
176 | ||
a043cca3 | 177 | %post -p /sbin/ldconfig |
178 | %postun -p /sbin/ldconfig | |
179 | ||
1c2daae9 | 180 | %files -f %{name}.lang |
f0960972 | 181 | %defattr(644,root,root,755) |
25d9cdf9 | 182 | %doc AUTHORS README TODO |
82beb1be | 183 | %attr(755,root,root) %{_bindir}/beryl |
82beb1be JB |
184 | %attr(755,root,root) %{_libdir}/libberyldecoration.so.*.*.* |
185 | %attr(755,root,root) %{_libdir}/libberylsettings.so.*.*.* | |
1c2daae9 | 186 | %dir %{_libdir}/beryl |
187 | %dir %{_libdir}/beryl/backends | |
aea575d3 | 188 | %attr(755,root,root) %{_libdir}/beryl/backends/libini.so |
f0960972 | 189 | %{_datadir}/beryl |
25d9cdf9 JB |
190 | %{_mandir}/man1/beryl.1* |
191 | %if %{with beryl_mesa} | |
192 | %attr(755,root,root) %{_bindir}/beryl-xgl | |
193 | %{_mandir}/man1/beryl-xgl.1* | |
194 | %endif | |
f0960972 | 195 | |
196 | %files devel | |
197 | %defattr(644,root,root,755) | |
82beb1be | 198 | %attr(755,root,root) %{_libdir}/libberyldecoration.so |
25d9cdf9 | 199 | %attr(755,root,root) %{_libdir}/libberylsettings.so |
82beb1be | 200 | %{_libdir}/libberyldecoration.la |
25d9cdf9 | 201 | %{_libdir}/libberylsettings.la |
d9c145cc | 202 | %{_includedir}/beryl |
25d9cdf9 JB |
203 | %{_pkgconfigdir}/beryl.pc |
204 | %{_pkgconfigdir}/berylsettings.pc | |
82beb1be | 205 | %{_pkgconfigdir}/libberyldecoration.pc |
a043cca3 | 206 | %{_mandir}/man3/*.3* |
aea575d3 JB |
207 | |
208 | %files gconf | |
209 | %defattr(644,root,root,755) | |
210 | %attr(755,root,root) %{_libdir}/beryl/backends/libgconf.so |