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