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