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