]>
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 |
41c83d1a MB |
4 | Version: 3.14.0 |
5 | Release: 1 | |
25d9769d PZ |
6 | License: GPL v2+ |
7 | Group: X11/Window Managers | |
41c83d1a MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/mutter/3.14/%{name}-%{version}.tar.xz |
9 | # Source0-md5: f980505e4198399aa2224343dd0a9f3e | |
25d9769d | 10 | URL: http://git.gnome.org/cgit/mutter |
41c83d1a MB |
11 | BuildRequires: Mesa-libgbm-devel |
12 | BuildRequires: autoconf >= 2.62 | |
011c8734 | 13 | BuildRequires: automake >= 1:1.11 |
0591ebfb | 14 | BuildRequires: cairo-devel >= 1.10.0 |
41c83d1a | 15 | BuildRequires: clutter-devel >= 1.20.0 |
87f9b190 | 16 | BuildRequires: cogl-devel >= 1.18.0 |
d7ee70a8 MB |
17 | BuildRequires: gdk-pixbuf2-devel |
18 | BuildRequires: gettext-devel | |
3ba512a2 | 19 | BuildRequires: glib2-devel >= 1:2.26.0 |
25d9769d | 20 | BuildRequires: gnome-common |
e9a83890 | 21 | BuildRequires: gnome-desktop-devel >= 3.0 |
d7ee70a8 | 22 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
41c83d1a MB |
23 | BuildRequires: gsettings-desktop-schemas-devel >= 3.8.0 |
24 | BuildRequires: gtk+3-devel >= 3.10.0 | |
d0d1f3ea | 25 | BuildRequires: gtk-doc >= 1.15 |
41c83d1a | 26 | BuildRequires: intltool >= 0.41.0 |
d7ee70a8 | 27 | BuildRequires: libcanberra-gtk3-devel >= 0.26 |
25d9769d | 28 | BuildRequires: libtool |
e9a83890 | 29 | BuildRequires: pango-devel >= 1:1.2.0 |
25d9769d | 30 | BuildRequires: pkgconfig |
5e452dc4 | 31 | BuildRequires: rpmbuild(macros) >= 1.98 |
d7ee70a8 | 32 | BuildRequires: startup-notification-devel >= 0.7 |
011c8734 | 33 | BuildRequires: tar >= 1:1.22 |
87f9b190 | 34 | BuildRequires: upower-devel >= 0.99.0 |
41c83d1a | 35 | BuildRequires: xkeyboard-config |
d7ee70a8 MB |
36 | BuildRequires: xorg-lib-libICE-devel |
37 | BuildRequires: xorg-lib-libSM-devel | |
25d9769d | 38 | BuildRequires: xorg-lib-libX11-devel |
d7ee70a8 | 39 | BuildRequires: xorg-lib-libXcomposite-devel >= 0.2 |
25d9769d PZ |
40 | BuildRequires: xorg-lib-libXcursor-devel |
41 | BuildRequires: xorg-lib-libXdamage-devel | |
42 | BuildRequires: xorg-lib-libXext-devel | |
d7ee70a8 | 43 | BuildRequires: xorg-lib-libXfixes-devel |
d0d1f3ea | 44 | BuildRequires: xorg-lib-libXi-devel >= 1.7 |
d7ee70a8 | 45 | BuildRequires: xorg-lib-libXinerama-devel |
25d9769d PZ |
46 | BuildRequires: xorg-lib-libXrandr-devel |
47 | BuildRequires: xorg-lib-libXrender-devel | |
41c83d1a MB |
48 | BuildRequires: xorg-lib-libxkbcommon-devel |
49 | BuildRequires: xorg-lib-libxkbcommon-x11-devel | |
011c8734 | 50 | BuildRequires: xz |
3ba512a2 | 51 | Requires(post,postun): glib2 >= 1:2.26.0 |
2d2fcd08 | 52 | Requires: %{name}-libs = %{version}-%{release} |
41c83d1a | 53 | Requires: gsettings-desktop-schemas >= 3.8.0 |
25d9769d | 54 | Requires: zenity |
d7ee70a8 | 55 | Provides: gnome-wm |
25d9769d PZ |
56 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
57 | ||
58 | %description | |
d7ee70a8 MB |
59 | Mutter is a window and compositing manager that displays and manages |
60 | your desktop via OpenGL. Mutter combines a sophisticated display | |
61 | engine using the Clutter toolkit with solid window-management logic | |
62 | inherited from the Metacity window manager. | |
25d9769d | 63 | |
2d2fcd08 JB |
64 | %description -l pl.UTF-8 |
65 | Mutter to zarządca okien i składania wyświetlający pulpit i | |
66 | zarządzający nim poprzez OpenGL. Łączy wyszukany silnik wyświetlania | |
67 | wykorzystujący toolkit Clutter z solidną logiką zarządcy okien | |
68 | odziedziczoną z zarządcy okien Metacity. | |
69 | ||
70 | %package libs | |
71 | Summary: Mutter shared library | |
72 | Summary(pl.UTF-8): Biblioteka współdzielona zarządcy okien Mutter | |
73 | Group: Libraries | |
0591ebfb | 74 | Requires: cairo >= 1.10.0 |
41c83d1a | 75 | Requires: clutter >= 1.20.0 |
87f9b190 | 76 | Requires: cogl >= 1.18.0 |
2d2fcd08 | 77 | Requires: glib2 >= 1:2.26.0 |
e9a83890 | 78 | Requires: gnome-desktop >= 3.0 |
41c83d1a | 79 | Requires: gtk+3 >= 3.10.0 |
2d2fcd08 JB |
80 | Requires: libcanberra-gtk3 >= 0.26 |
81 | Requires: startup-notification >= 0.7 | |
87f9b190 | 82 | Requires: upower-libs >= 0.99.0 |
2d2fcd08 | 83 | Requires: xorg-lib-libXcomposite >= 0.2 |
0591ebfb | 84 | Requires: xorg-lib-libXi >= 1.7 |
2d2fcd08 JB |
85 | Conflicts: mutter < 3.4.0-2 |
86 | ||
87 | %description libs | |
88 | Mutter shared library. | |
89 | ||
90 | %description libs -l pl.UTF-8 | |
91 | Biblioteka współdzielona zarządcy okien i składania Mutter. | |
92 | ||
25d9769d | 93 | %package devel |
d7ee70a8 | 94 | Summary: Development package for Mutter |
2d2fcd08 | 95 | Summary(pl.UTF-8): Pakiet programistyczny do wtyczek zarządcy okien Mutter |
d7ee70a8 | 96 | Group: X11/Development/Libraries |
2d2fcd08 | 97 | Requires: %{name}-libs = %{version}-%{release} |
0591ebfb | 98 | Requires: cairo-devel >= 1.10.0 |
41c83d1a | 99 | Requires: clutter-devel >= 1.20.0 |
87f9b190 | 100 | Requires: cogl-devel >= 1.18.0 |
2d2fcd08 | 101 | Requires: glib2-devel >= 1:2.26.0 |
41c83d1a | 102 | Requires: gtk+3-devel >= 3.10.0 |
2d2fcd08 JB |
103 | Requires: libcanberra-gtk3-devel >= 0.26 |
104 | Requires: startup-notification-devel >= 0.7 | |
105 | Requires: xorg-lib-libXcomposite-devel >= 0.2 | |
106 | Requires: xorg-lib-libXcursor-devel | |
107 | Requires: xorg-lib-libXdamage-devel | |
108 | Requires: xorg-lib-libXfixes-devel | |
109 | Requires: xorg-lib-libXrender-devel | |
25d9769d PZ |
110 | |
111 | %description devel | |
2d2fcd08 JB |
112 | Header files for developing Mutter plugins. |
113 | ||
114 | %description devel -l pl.UTF-8 | |
115 | Pliki nagłówkowe do tworzenia wtyczek zarządcy okien i składania | |
116 | Mutter. | |
25d9769d | 117 | |
5e452dc4 JB |
118 | %package apidocs |
119 | Summary: Mutter (Meta) API documentation | |
120 | Summary(pl.UTF-8): Dokumentacja API Mutter (Meta) | |
121 | Group: Documentation | |
122 | Requires: gtk-doc-common | |
21bcf820 ER |
123 | %if "%{_rpmversion}" >= "5" |
124 | BuildArch: noarch | |
125 | %endif | |
5e452dc4 JB |
126 | |
127 | %description apidocs | |
128 | Mutter (Meta) API documentation. | |
129 | ||
130 | %description apidocs -l pl.UTF-8 | |
131 | Dokumentacja API Mutter (Meta). | |
132 | ||
25d9769d PZ |
133 | %prep |
134 | %setup -q | |
25d9769d PZ |
135 | |
136 | %build | |
137 | %{__intltoolize} | |
138 | %{__libtoolize} | |
139 | %{__aclocal} | |
140 | %{__autoconf} | |
141 | %{__autoheader} | |
142 | %{__automake} | |
143 | %configure \ | |
2d2fcd08 | 144 | ZENITY=/usr/bin/zenity \ |
b4b16ff1 | 145 | --disable-silent-rules \ |
5e452dc4 JB |
146 | --disable-static \ |
147 | --with-html-dir=%{_gtkdocdir} | |
25d9769d PZ |
148 | %{__make} |
149 | ||
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | ||
25d9769d PZ |
153 | %{__make} install \ |
154 | DESTDIR=$RPM_BUILD_ROOT | |
155 | ||
d7ee70a8 | 156 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
25d9769d | 157 | |
d7ee70a8 | 158 | %find_lang %{name} |
25d9769d PZ |
159 | |
160 | %clean | |
161 | rm -rf $RPM_BUILD_ROOT | |
162 | ||
163 | %post | |
3ba512a2 | 164 | %glib_compile_schemas |
25d9769d | 165 | |
3ba512a2 | 166 | %postun |
3ba512a2 | 167 | %glib_compile_schemas |
25d9769d | 168 | |
2d2fcd08 JB |
169 | %post libs -p /sbin/ldconfig |
170 | %postun libs -p /sbin/ldconfig | |
171 | ||
25d9769d PZ |
172 | %files -f %{name}.lang |
173 | %defattr(644,root,root,755) | |
41c83d1a | 174 | %doc NEWS doc/*.txt |
25d9769d | 175 | %attr(755,root,root) %{_bindir}/mutter |
25d9769d PZ |
176 | %dir %{_libdir}/mutter/plugins |
177 | %attr(755,root,root) %{_libdir}/mutter/plugins/default.so | |
41c83d1a | 178 | %attr(755,root,root) %{_libexecdir}/mutter-restart-helper |
d7ee70a8 | 179 | %{_desktopdir}/mutter.desktop |
41c83d1a | 180 | %{_desktopdir}/mutter-wayland.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 | |
5e452dc4 JB |
204 | |
205 | %files apidocs | |
206 | %defattr(644,root,root,755) | |
207 | %{_gtkdocdir}/meta |