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