]> git.pld-linux.org Git - packages/beryl-core.git/blame - beryl-core.spec
- cs lang added
[packages/beryl-core.git] / beryl-core.spec
CommitLineData
a043cca3 1#
ae132915 2# Conditional build:
08ebd211 3%bcond_with beryl_mesa # beryl-xgl statically linked with own libGL
ae132915 4#
f0960972 5Summary: OpenGL window and compositing manager
5e93a4b9 6Summary(pl.UTF-8): OpenGL-owy zarządca okien i składania
f0960972 7Name: beryl-core
8cdb0baf 8Version: 0.1.9999.2
d9c145cc 9Release: 1
ae132915 10Epoch: 1
c56add98 11License: MIT
f0960972 12Group: X11
ae132915 13Source0: 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
17Patch0: %{name}-link.patch
18URL: http://beryl-project.org/
e415f12f 19BuildRequires: GConf2-devel >= 2.0
25d9cdf9 20BuildRequires: OpenGL-GLX-devel
f0960972 21BuildRequires: autoconf >= 2.57
e415f12f 22BuildRequires: automake >= 1:1.9
2a6e2aba 23BuildRequires: glib2-devel >= 2.0
e415f12f 24BuildRequires: intltool >= 0.35.0
f0960972 25BuildRequires: libpng-devel
26BuildRequires: libtool
2a6e2aba 27BuildRequires: pkgconfig
95424525 28BuildRequires: sed >= 4.0
2a6e2aba
JB
29BuildRequires: startup-notification-devel >= 0.7
30BuildRequires: xorg-lib-libSM-devel
31BuildRequires: xorg-lib-libXcomposite-devel >= 0.3
f0960972 32BuildRequires: xorg-lib-libXdamage-devel
230a7b00 33BuildRequires: xorg-lib-libXinerama-devel
f0960972 34BuildRequires: xorg-lib-libXrandr-devel
b36e8018 35BuildRequires: xorg-lib-libXrender-devel >= 0.8.4
f0960972 36BuildRequires: xorg-proto-glproto-devel
b9bba488 37BuildRequires: xorg-util-makedepend
fabab321 38Requires: xorg-app-xvinfo
f0960972 39Provides: compiz
c60c79aa 40Obsoletes: compiz-quinnstorm
f0960972 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44Beryl is an OpenGL compositing manager that use
45GLX_EXT_texture_from_pixmap for binding redirected top-level windows
46to texture objects. It has a flexible plug-in system and it is
47designed to run well on most graphics hardware.
48
49This is an enhanced version of compiz, developed mainly by Quinnstorm.
50Some parts were optimized for speed and there were added few
51additional plugins and patches, delivering even more eyecandy.
52
0a4e8d7e
JR
53%description -l pl.UTF-8
54Beryl jest OpenGL-owym zarządcą składania, używającym rozszerzenia
55GLX_EXT_texture_from_pixmap w celu wiązania przekierowanych okien do
f0960972 56tekstur. Posiada elastyczny system wtyczek i jest tak zaprojektowany,
0a4e8d7e 57by dobrze działać na większości kart graficznych.
f0960972 58
0a4e8d7e
JR
59To jest udoskonalona wersja compiza, tworzona głównie przez
60Quinnstorma. Niektóre części zostały zoptymalizowane pod względem
61prędkości oraz dodano kilka dodatkowych wtyczek i łatek,
62dostarczających jeszcze więcej świecidełek.
f0960972 63
64%package devel
65Summary: Header files for beryl
5e93a4b9 66Summary(pl.UTF-8): Pliki nagłówkowe dla beryla
25d9cdf9 67Group: X11/Development/Libraries
ae132915 68Requires: %{name} = %{epoch}:%{version}-%{release}
25d9cdf9
JB
69Requires: OpenGL-GLX-devel
70Requires: glib2-devel >= 2.0
f0960972 71Requires: libpng-devel
72Requires: startup-notification-devel >= 0.7
73Requires: xorg-lib-libSM-devel
2a6e2aba 74Requires: xorg-lib-libXcomposite-devel >= 0.3
f0960972 75Requires: xorg-lib-libXdamage-devel
25d9cdf9 76Requires: xorg-lib-libXinerama-devel
f0960972 77Requires: xorg-lib-libXrandr-devel
b36e8018 78Requires: xorg-lib-libXrender-devel >= 0.8.4
25d9cdf9 79Requires: xorg-proto-glproto-devel
c60c79aa 80Obsoletes: compiz-quinnstorm-devel
f0960972 81
82%description devel
83Header files for beryl.
84
0a4e8d7e
JR
85%description devel -l pl.UTF-8
86Pliki nagłówkowe dla beryla.
f0960972 87
aea575d3
JB
88%package gconf
89Summary: GConf settings plugin for beryl
5e93a4b9 90Summary(pl.UTF-8): Wtyczka ustawień GConf dla beryla
aea575d3
JB
91Group: Libraries
92Requires: %{name} = %{epoch}:%{version}-%{release}
93
94%description gconf
95GConf settings plugin for beryl.
96
0a4e8d7e
JR
97%description gconf -l pl.UTF-8
98Wtyczka ustawień GConf dla beryla.
aea575d3 99
f0960972 100%prep
9c9c57d1 101%setup -q %{?with_beryl_mesa: -a1}
25d9cdf9
JB
102%patch0 -p1
103
e415f12f 104mv -f po/{ca_ES,ca}.po
82beb1be 105mv -f po/{de_DE,de}.po
9c9c57d1
RT
106mv -f po/{es_ES,es}.po
107mv -f po/{fr_FR,fr}.po
108mv -f po/{hu_HU,hu}.po
109mv -f po/{it_IT,it}.po
110mv -f po/{ja_JP,ja}.po
111mv -f po/{ko_KR,ko}.po
112mv -f po/{pt_PT,pt}.po
82beb1be 113mv -f po/{ru_RU,ru}.po
9c9c57d1 114mv -f po/{sv_SE,sv}.po
82beb1be 115mv -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 119cat > po/LINGUAS <<EOF
e415f12f 120ca
b342219a 121cs
82beb1be 122de
9c9c57d1 123es
e415f12f 124es_AR
9c9c57d1
RT
125fr
126hu
127it
128ja
129ko
35e2b8a3 130nl
68d444c2 131pl
9c9c57d1
RT
132pt_BR
133pt
82beb1be 134ru
9c9c57d1 135sv
82beb1be 136uk
9c9c57d1
RT
137zh_CN
138zh_HK
139zh_TW
140EOF
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 152sed -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
162rm -rf $RPM_BUILD_ROOT
163
164%{__make} install \
f0960972 165 DESTDIR=$RPM_BUILD_ROOT
166
25d9cdf9
JB
167rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/backends/*.la
168
169# program removed
170rm -f $RPM_BUILD_ROOT%{_mandir}/man1/beryl-settings-dump.1
171
1c2daae9 172%find_lang %{name}
173
f0960972 174%clean
175rm -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
This page took 0.751186 seconds and 4 git commands to generate.