]>
Commit | Line | Data |
---|---|---|
1 | Summary: Window and compositing manager based on Clutter | |
2 | Summary(pl.UTF-8): Zarządca okien i składania oparty na bibliotece Clutter | |
3 | Name: mutter | |
4 | Version: 3.30.2 | |
5 | Release: 1 | |
6 | License: GPL v2+ | |
7 | Group: X11/Window Managers | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/mutter/3.30/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: d74b9bf421b2b82ebfe11cccc055a760 | |
10 | URL: http://git.gnome.org/cgit/mutter | |
11 | BuildRequires: EGL-devel | |
12 | BuildRequires: OpenGL-GLX-devel | |
13 | BuildRequires: Mesa-libgbm-devel >= 10.3 | |
14 | BuildRequires: atk-devel >= 1:2.6 | |
15 | BuildRequires: autoconf >= 2.63 | |
16 | BuildRequires: automake >= 1:1.11 | |
17 | BuildRequires: cairo-devel >= 1.10.0 | |
18 | BuildRequires: cairo-gobject-devel >= 1.14.0 | |
19 | BuildRequires: gdk-pixbuf2-devel >= 2.0 | |
20 | BuildRequires: gettext-tools >= 0.19.6 | |
21 | BuildRequires: glib2-devel >= 1:2.50.0 | |
22 | BuildRequires: gnome-desktop-devel >= 3.0 | |
23 | BuildRequires: gobject-introspection-devel >= 1.40.0 | |
24 | BuildRequires: gsettings-desktop-schemas-devel >= 3.22.0 | |
25 | BuildRequires: gtk+3-devel >= 3.20.0 | |
26 | BuildRequires: json-glib-devel >= 0.12.0 | |
27 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
28 | BuildRequires: libdrm-devel | |
29 | BuildRequires: libinput-devel >= 1.4.0 | |
30 | BuildRequires: libtool >= 2:2.2.6 | |
31 | BuildRequires: libwacom-devel >= 0.13 | |
32 | # xcb-randr, xcb-res | |
33 | BuildRequires: libxcb-devel | |
34 | BuildRequires: pango-devel >= 1:1.30 | |
35 | BuildRequires: pkgconfig >= 1:0.21 | |
36 | BuildRequires: rpmbuild(macros) >= 1.98 | |
37 | BuildRequires: startup-notification-devel >= 0.7 | |
38 | BuildRequires: systemd-devel | |
39 | BuildRequires: tar >= 1:1.22 | |
40 | BuildRequires: libgudev-devel >= 232 | |
41 | BuildRequires: upower-devel >= 0.99.0 | |
42 | BuildRequires: wayland-devel >= 1.13.0 | |
43 | BuildRequires: wayland-egl-devel | |
44 | BuildRequires: wayland-protocols >= 1.7 | |
45 | BuildRequires: xkeyboard-config | |
46 | BuildRequires: xorg-lib-libICE-devel | |
47 | BuildRequires: xorg-lib-libSM-devel | |
48 | BuildRequires: xorg-lib-libX11-devel | |
49 | BuildRequires: xorg-lib-libXcomposite-devel >= 0.4 | |
50 | BuildRequires: xorg-lib-libXcursor-devel | |
51 | BuildRequires: xorg-lib-libXdamage-devel | |
52 | BuildRequires: xorg-lib-libXext-devel | |
53 | BuildRequires: xorg-lib-libXfixes-devel >= 3 | |
54 | BuildRequires: xorg-lib-libXi-devel >= 1.7 | |
55 | BuildRequires: xorg-lib-libXinerama-devel | |
56 | BuildRequires: xorg-lib-libXrandr-devel >= 1.5.0 | |
57 | BuildRequires: xorg-lib-libXrender-devel | |
58 | BuildRequires: xorg-lib-libxkbcommon-devel >= 0.4.3 | |
59 | BuildRequires: xorg-lib-libxkbcommon-x11-devel | |
60 | BuildRequires: xorg-lib-libxkbfile-devel | |
61 | BuildRequires: xz | |
62 | Requires(post,postun): glib2 >= 1:2.50.0 | |
63 | Requires: %{name}-libs = %{version}-%{release} | |
64 | Requires: gsettings-desktop-schemas >= 3.22.0 | |
65 | Requires: zenity | |
66 | Provides: gnome-wm | |
67 | Obsoletes: mutter-apidocs < 3.18 | |
68 | Obsoletes: mutter-wayland < 3.14 | |
69 | Obsoletes: mutter-wayland-apidocs < 3.14 | |
70 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
71 | ||
72 | %description | |
73 | Mutter is a window and compositing manager that displays and manages | |
74 | your desktop via OpenGL. Mutter combines a sophisticated display | |
75 | engine using the Clutter toolkit with solid window-management logic | |
76 | inherited from the Metacity window manager. | |
77 | ||
78 | %description -l pl.UTF-8 | |
79 | Mutter to zarządca okien i składania wyświetlający pulpit i | |
80 | zarządzający nim poprzez OpenGL. Łączy wyszukany silnik wyświetlania | |
81 | wykorzystujący toolkit Clutter z solidną logiką zarządcy okien | |
82 | odziedziczoną z zarządcy okien Metacity. | |
83 | ||
84 | %package libs | |
85 | Summary: Mutter shared library | |
86 | Summary(pl.UTF-8): Biblioteka współdzielona zarządcy okien Mutter | |
87 | Group: Libraries | |
88 | Requires: Mesa-libgbm >= 10.3 | |
89 | Requires: atk >= 1:2.6 | |
90 | Requires: cairo >= 1.10.0 | |
91 | Requires: cairo-gobject >= 1.14.0 | |
92 | Requires: glib2 >= 1:2.50.0 | |
93 | Requires: gnome-desktop >= 3.0 | |
94 | Requires: gtk+3 >= 3.20.0 | |
95 | Requires: json-glib >= 0.12.0 | |
96 | Requires: libcanberra-gtk3 >= 0.26 | |
97 | Requires: libinput >= 1.4.0 | |
98 | Requires: libwacom >= 0.13 | |
99 | Requires: pango >= 1:1.30 | |
100 | Requires: startup-notification >= 0.7 | |
101 | Requires: libgudev >= 232 | |
102 | Requires: upower-libs >= 0.99.0 | |
103 | Requires: wayland >= 1.13.0 | |
104 | Requires: xorg-lib-libXcomposite >= 0.4 | |
105 | Requires: xorg-lib-libXfixes >= 3 | |
106 | Requires: xorg-lib-libXi >= 1.7 | |
107 | Requires: xorg-lib-libXrandr >= 1.5.0 | |
108 | Obsoletes: mutter-wayland-libs < 3.14 | |
109 | Conflicts: mutter < 3.4.0-2 | |
110 | ||
111 | %description libs | |
112 | Mutter shared library. | |
113 | ||
114 | %description libs -l pl.UTF-8 | |
115 | Biblioteka współdzielona zarządcy okien i składania Mutter. | |
116 | ||
117 | %package devel | |
118 | Summary: Development package for Mutter | |
119 | Summary(pl.UTF-8): Pakiet programistyczny do wtyczek zarządcy okien Mutter | |
120 | Group: X11/Development/Libraries | |
121 | Requires: %{name}-libs = %{version}-%{release} | |
122 | Requires: EGL-devel | |
123 | Requires: Mesa-libgbm-devel >= 10.3 | |
124 | Requires: cairo-devel >= 1.10.0 | |
125 | Requires: cairo-gobject-devel >= 1.14.0 | |
126 | Requires: gdk-pixbuf2-devel >= 2.0 | |
127 | Requires: glib2-devel >= 1:2.50.0 | |
128 | Requires: gtk+3-devel >= 3.20.0 | |
129 | Requires: libcanberra-gtk3-devel >= 0.26 | |
130 | Requires: libdrm-devel | |
131 | Requires: startup-notification-devel >= 0.7 | |
132 | Requires: wayland-devel >= 1.6.90 | |
133 | Requires: wayland-egl-devel | |
134 | Requires: xorg-lib-libX11-devel | |
135 | Requires: xorg-lib-libXcomposite-devel >= 0.4 | |
136 | Requires: xorg-lib-libXcursor-devel | |
137 | Requires: xorg-lib-libXdamage-devel | |
138 | Requires: xorg-lib-libXext-devel | |
139 | Requires: xorg-lib-libXfixes-devel >= 3 | |
140 | Requires: xorg-lib-libXi-devel >= 1.7 | |
141 | Requires: xorg-lib-libXrandr-devel >= 1.5.0 | |
142 | Requires: xorg-lib-libXrender-devel | |
143 | Requires: xorg-lib-libxkbcommon-devel | |
144 | Obsoletes: mutter-wayland-devel < 3.14 | |
145 | ||
146 | %description devel | |
147 | Header files for developing Mutter plugins. | |
148 | ||
149 | %description devel -l pl.UTF-8 | |
150 | Pliki nagłówkowe do tworzenia wtyczek zarządcy okien i składania | |
151 | Mutter. | |
152 | ||
153 | %prep | |
154 | %setup -q | |
155 | ||
156 | %build | |
157 | %{__libtoolize} | |
158 | %{__aclocal} | |
159 | %{__autoconf} | |
160 | %{__autoheader} | |
161 | %{__automake} | |
162 | %configure \ | |
163 | ZENITY=/usr/bin/zenity \ | |
164 | --enable-compile-warnings=maximum \ | |
165 | --disable-silent-rules \ | |
166 | --disable-static | |
167 | %{__make} | |
168 | ||
169 | %install | |
170 | rm -rf $RPM_BUILD_ROOT | |
171 | ||
172 | %{__make} install \ | |
173 | DESTDIR=$RPM_BUILD_ROOT | |
174 | ||
175 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
176 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mutter/*.la | |
177 | ||
178 | %find_lang %{name} | |
179 | ||
180 | %clean | |
181 | rm -rf $RPM_BUILD_ROOT | |
182 | ||
183 | %post | |
184 | %glib_compile_schemas | |
185 | ||
186 | %postun | |
187 | %glib_compile_schemas | |
188 | ||
189 | %post libs -p /sbin/ldconfig | |
190 | %postun libs -p /sbin/ldconfig | |
191 | ||
192 | %files -f %{name}.lang | |
193 | %defattr(644,root,root,755) | |
194 | %doc NEWS doc/*.txt | |
195 | %attr(755,root,root) %{_bindir}/mutter | |
196 | %dir %{_libdir}/mutter/plugins | |
197 | %attr(755,root,root) %{_libdir}/mutter/plugins/default.so | |
198 | %attr(755,root,root) %{_libexecdir}/mutter-restart-helper | |
199 | %{_desktopdir}/mutter.desktop | |
200 | %{_datadir}/GConf/gsettings/mutter-schemas.convert | |
201 | %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml | |
202 | %{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml | |
203 | %{_datadir}/gnome-control-center/keybindings/50-mutter-wayland.xml | |
204 | %{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml | |
205 | %{_datadir}/gnome-control-center/keybindings/50-mutter-navigation.xml | |
206 | %{_datadir}/gnome-control-center/keybindings/50-mutter-system.xml | |
207 | %{_mandir}/man1/mutter.1* | |
208 | ||
209 | %files libs | |
210 | %defattr(644,root,root,755) | |
211 | %attr(755,root,root) %{_libdir}/libmutter-3.so.*.*.* | |
212 | %attr(755,root,root) %ghost %{_libdir}/libmutter-3.so.0 | |
213 | %dir %{_libdir}/mutter | |
214 | %attr(755,root,root) %{_libdir}/mutter/libmutter-clutter-3.so | |
215 | %attr(755,root,root) %{_libdir}/mutter/libmutter-cogl-pango-3.so | |
216 | %attr(755,root,root) %{_libdir}/mutter/libmutter-cogl-path-3.so | |
217 | %attr(755,root,root) %{_libdir}/mutter/libmutter-cogl-3.so | |
218 | # intentionally installed in package-private dir | |
219 | %{_libdir}/mutter/Cally-*.typelib | |
220 | %{_libdir}/mutter/Clutter-*.typelib | |
221 | %{_libdir}/mutter/ClutterX11-*.typelib | |
222 | %{_libdir}/mutter/Cogl-*.typelib | |
223 | %{_libdir}/mutter/CoglPango-*.typelib | |
224 | %{_libdir}/mutter/Meta-*.typelib | |
225 | ||
226 | %files devel | |
227 | %defattr(644,root,root,755) | |
228 | %attr(755,root,root) %{_libdir}/libmutter-3.so | |
229 | %{_includedir}/mutter | |
230 | # intentionally installed in package-private dir | |
231 | %{_libdir}/mutter/Cally-*.gir | |
232 | %{_libdir}/mutter/Clutter-*.gir | |
233 | %{_libdir}/mutter/ClutterX11-*.gir | |
234 | %{_libdir}/mutter/Cogl-*.gir | |
235 | %{_libdir}/mutter/CoglPango-*.gir | |
236 | %{_libdir}/mutter/Meta-*.gir | |
237 | %{_pkgconfigdir}/libmutter-3.pc | |
238 | %{_pkgconfigdir}/mutter-clutter-3.pc | |
239 | %{_pkgconfigdir}/mutter-clutter-x11-3.pc | |
240 | %{_pkgconfigdir}/mutter-cogl-3.pc | |
241 | %{_pkgconfigdir}/mutter-cogl-pango-3.pc | |
242 | %{_pkgconfigdir}/mutter-cogl-path-3.pc |