]>
Commit | Line | Data |
---|---|---|
01dfc256 JR |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with gnome2 # build with support for GNOME2 wm-properties | |
4 | # | |
25d9769d | 5 | Summary: Window and compositing manager based on Clutter |
2d2fcd08 | 6 | Summary(pl.UTF-8): Zarządca okien i składania oparty na bibliotece Clutter |
25d9769d | 7 | Name: mutter |
7b3e5cc2 | 8 | Version: 3.8.2 |
ba88a5d2 | 9 | Release: 1 |
25d9769d PZ |
10 | License: GPL v2+ |
11 | Group: X11/Window Managers | |
d0d1f3ea | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/mutter/3.8/%{name}-%{version}.tar.xz |
7b3e5cc2 | 13 | # Source0-md5: b61374f2b8f978c99c2e8d00b7774255 |
25d9769d | 14 | URL: http://git.gnome.org/cgit/mutter |
d7ee70a8 | 15 | BuildRequires: autoconf >= 2.50 |
011c8734 | 16 | BuildRequires: automake >= 1:1.11 |
d7ee70a8 | 17 | BuildRequires: cairo-devel >= 1.10 |
d0d1f3ea AF |
18 | BuildRequires: clutter-devel >= 1.13.5 |
19 | BuildRequires: cogl-devel >= 1.13.3 | |
d7ee70a8 MB |
20 | BuildRequires: gdk-pixbuf2-devel |
21 | BuildRequires: gettext-devel | |
3ba512a2 | 22 | BuildRequires: glib2-devel >= 1:2.26.0 |
25d9769d | 23 | BuildRequires: gnome-common |
d7ee70a8 | 24 | BuildRequires: gobject-introspection-devel >= 0.10.0 |
d0d1f3ea | 25 | BuildRequires: gsettings-desktop-schemas-devel >= 3.7.3 |
3ba512a2 | 26 | BuildRequires: gtk+3-devel >= 3.3.7 |
d0d1f3ea | 27 | BuildRequires: gtk-doc >= 1.15 |
d7ee70a8 MB |
28 | BuildRequires: intltool >= 0.35.0 |
29 | BuildRequires: libcanberra-gtk3-devel >= 0.26 | |
25d9769d | 30 | BuildRequires: libtool |
d7ee70a8 | 31 | BuildRequires: pango-devel >= 1.2.0 |
25d9769d | 32 | BuildRequires: pkgconfig |
5e452dc4 | 33 | BuildRequires: rpmbuild(macros) >= 1.98 |
d7ee70a8 | 34 | BuildRequires: startup-notification-devel >= 0.7 |
011c8734 | 35 | BuildRequires: tar >= 1:1.22 |
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 | |
011c8734 | 48 | BuildRequires: xz |
3ba512a2 | 49 | Requires(post,postun): glib2 >= 1:2.26.0 |
2d2fcd08 | 50 | Requires: %{name}-libs = %{version}-%{release} |
d0d1f3ea | 51 | Requires: gsettings-desktop-schemas >= 3.7.3 |
25d9769d | 52 | Requires: zenity |
d7ee70a8 | 53 | Provides: gnome-wm |
25d9769d PZ |
54 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
55 | ||
56 | %description | |
d7ee70a8 MB |
57 | Mutter is a window and compositing manager that displays and manages |
58 | your desktop via OpenGL. Mutter combines a sophisticated display | |
59 | engine using the Clutter toolkit with solid window-management logic | |
60 | inherited from the Metacity window manager. | |
25d9769d | 61 | |
2d2fcd08 JB |
62 | %description -l pl.UTF-8 |
63 | Mutter to zarządca okien i składania wyświetlający pulpit i | |
64 | zarządzający nim poprzez OpenGL. Łączy wyszukany silnik wyświetlania | |
65 | wykorzystujący toolkit Clutter z solidną logiką zarządcy okien | |
66 | odziedziczoną z zarządcy okien Metacity. | |
67 | ||
68 | %package libs | |
69 | Summary: Mutter shared library | |
70 | Summary(pl.UTF-8): Biblioteka współdzielona zarządcy okien Mutter | |
71 | Group: Libraries | |
72 | Requires: cairo >= 1.10 | |
d0d1f3ea AF |
73 | Requires: clutter >= 1.13.5 |
74 | Requires: cogl >= 1.13.3 | |
2d2fcd08 JB |
75 | Requires: glib2 >= 1:2.26.0 |
76 | Requires: gtk+3 >= 3.3.7 | |
77 | Requires: libcanberra-gtk3 >= 0.26 | |
78 | Requires: startup-notification >= 0.7 | |
79 | Requires: xorg-lib-libXcomposite >= 0.2 | |
547e5cab | 80 | Requires: xorg-lib-libXi >= 1.6 |
2d2fcd08 JB |
81 | Conflicts: mutter < 3.4.0-2 |
82 | ||
83 | %description libs | |
84 | Mutter shared library. | |
85 | ||
86 | %description libs -l pl.UTF-8 | |
87 | Biblioteka współdzielona zarządcy okien i składania Mutter. | |
88 | ||
25d9769d | 89 | %package devel |
d7ee70a8 | 90 | Summary: Development package for Mutter |
2d2fcd08 | 91 | Summary(pl.UTF-8): Pakiet programistyczny do wtyczek zarządcy okien Mutter |
d7ee70a8 | 92 | Group: X11/Development/Libraries |
2d2fcd08 JB |
93 | Requires: %{name}-libs = %{version}-%{release} |
94 | Requires: cairo-devel >= 1.10 | |
5e452dc4 JB |
95 | Requires: clutter-devel >= 1.13.5 |
96 | Requires: cogl-devel >= 1.13.3 | |
2d2fcd08 JB |
97 | Requires: glib2-devel >= 1:2.26.0 |
98 | Requires: gtk+3-devel >= 3.3.7 | |
99 | Requires: libcanberra-gtk3-devel >= 0.26 | |
100 | Requires: startup-notification-devel >= 0.7 | |
101 | Requires: xorg-lib-libXcomposite-devel >= 0.2 | |
102 | Requires: xorg-lib-libXcursor-devel | |
103 | Requires: xorg-lib-libXdamage-devel | |
104 | Requires: xorg-lib-libXfixes-devel | |
105 | Requires: xorg-lib-libXrender-devel | |
25d9769d PZ |
106 | |
107 | %description devel | |
2d2fcd08 JB |
108 | Header files for developing Mutter plugins. |
109 | ||
110 | %description devel -l pl.UTF-8 | |
111 | Pliki nagłówkowe do tworzenia wtyczek zarządcy okien i składania | |
112 | Mutter. | |
25d9769d | 113 | |
5e452dc4 JB |
114 | %package apidocs |
115 | Summary: Mutter (Meta) API documentation | |
116 | Summary(pl.UTF-8): Dokumentacja API Mutter (Meta) | |
117 | Group: Documentation | |
118 | Requires: gtk-doc-common | |
119 | ||
120 | %description apidocs | |
121 | Mutter (Meta) API documentation. | |
122 | ||
123 | %description apidocs -l pl.UTF-8 | |
124 | Dokumentacja API Mutter (Meta). | |
125 | ||
25d9769d PZ |
126 | %prep |
127 | %setup -q | |
25d9769d PZ |
128 | |
129 | %build | |
130 | %{__intltoolize} | |
131 | %{__libtoolize} | |
132 | %{__aclocal} | |
133 | %{__autoconf} | |
134 | %{__autoheader} | |
135 | %{__automake} | |
136 | %configure \ | |
2d2fcd08 | 137 | ZENITY=/usr/bin/zenity \ |
b4b16ff1 | 138 | --disable-silent-rules \ |
5e452dc4 JB |
139 | --disable-static \ |
140 | --with-html-dir=%{_gtkdocdir} | |
25d9769d PZ |
141 | %{__make} |
142 | ||
143 | %install | |
144 | rm -rf $RPM_BUILD_ROOT | |
145 | ||
25d9769d PZ |
146 | %{__make} install \ |
147 | DESTDIR=$RPM_BUILD_ROOT | |
148 | ||
4a829738 | 149 | %{!?with_gnome2:%{__rm} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties/mutter-wm.desktop} |
01dfc256 | 150 | |
d7ee70a8 | 151 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
25d9769d | 152 | |
d7ee70a8 | 153 | %find_lang %{name} |
25d9769d PZ |
154 | |
155 | %clean | |
156 | rm -rf $RPM_BUILD_ROOT | |
157 | ||
158 | %post | |
3ba512a2 | 159 | %glib_compile_schemas |
25d9769d | 160 | |
3ba512a2 | 161 | %postun |
3ba512a2 | 162 | %glib_compile_schemas |
25d9769d | 163 | |
2d2fcd08 JB |
164 | %post libs -p /sbin/ldconfig |
165 | %postun libs -p /sbin/ldconfig | |
166 | ||
25d9769d PZ |
167 | %files -f %{name}.lang |
168 | %defattr(644,root,root,755) | |
d7ee70a8 | 169 | %doc README AUTHORS NEWS HACKING doc/theme-format.txt rationales.txt |
25d9769d PZ |
170 | %attr(755,root,root) %{_bindir}/mutter |
171 | %attr(755,root,root) %{_bindir}/mutter-message | |
d7ee70a8 MB |
172 | %attr(755,root,root) %{_bindir}/mutter-theme-viewer |
173 | %attr(755,root,root) %{_bindir}/mutter-window-demo | |
25d9769d PZ |
174 | %dir %{_libdir}/mutter/plugins |
175 | %attr(755,root,root) %{_libdir}/mutter/plugins/default.so | |
d7ee70a8 | 176 | %{_desktopdir}/mutter.desktop |
01dfc256 | 177 | %{?with_gnome2:%{_datadir}/gnome/wm-properties/mutter-wm.desktop} |
d7ee70a8 | 178 | %{_datadir}/mutter |
3ba512a2 ŁK |
179 | %{_datadir}/GConf/gsettings/mutter-schemas.convert |
180 | %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml | |
181 | %{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml | |
d0d1f3ea AF |
182 | %{_datadir}/gnome-control-center/keybindings/50-mutter-navigation.xml |
183 | %{_datadir}/gnome-control-center/keybindings/50-mutter-system.xml | |
d7ee70a8 MB |
184 | %{_mandir}/man1/mutter.1* |
185 | %{_mandir}/man1/mutter-message.1* | |
186 | %{_mandir}/man1/mutter-theme-viewer.1* | |
187 | %{_mandir}/man1/mutter-window-demo.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 | |
204 | %{_pkgconfigdir}/mutter-plugins.pc | |
5e452dc4 JB |
205 | |
206 | %files apidocs | |
207 | %defattr(644,root,root,755) | |
208 | %{_gtkdocdir}/meta |