]> git.pld-linux.org Git - packages/beryl-core.git/blame - beryl-core.spec
- tabs in preamble
[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
08ebd211 8Version: 0.1.9999.1
d9c145cc 9Release: 1
ae132915 10Epoch: 1
c56add98 11License: MIT
f0960972 12Group: X11
ae132915 13Source0: 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
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
82beb1be 121de
9c9c57d1 122es
e415f12f 123es_AR
9c9c57d1
RT
124fr
125hu
126it
127ja
128ko
35e2b8a3 129nl
68d444c2 130pl
9c9c57d1
RT
131pt_BR
132pt
82beb1be 133ru
9c9c57d1 134sv
82beb1be 135uk
9c9c57d1
RT
136zh_CN
137zh_HK
138zh_TW
139EOF
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 151sed -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
161rm -rf $RPM_BUILD_ROOT
162
163%{__make} install \
f0960972 164 DESTDIR=$RPM_BUILD_ROOT
165
25d9cdf9
JB
166rm -f $RPM_BUILD_ROOT%{_libdir}/beryl/backends/*.la
167
168# program removed
169rm -f $RPM_BUILD_ROOT%{_mandir}/man1/beryl-settings-dump.1
170
1c2daae9 171%find_lang %{name}
172
f0960972 173%clean
174rm -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
This page took 0.54939 seconds and 4 git commands to generate.