mutter-vl.spec 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. %bcond_with systemd
  2. Summary: Window and compositing manager based on Clutter
  3. Name: mutter
  4. Version: 40.0
  5. Release: 1%{?_dist_release}%{?with_systemd:.systemd}
  6. Group: deskotp-gnome
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv2+
  10. URL: http://git.gnome.org/browse/mutter
  11. %global shortver %(echo %{version} | cut -d . -f 1)
  12. Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  13. Patch100: mutter-3.18.1-roundf.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: meson
  16. BuildRequires: pkgconfig
  17. BuildRequires: intltool
  18. BuildRequires: gtk3-devel
  19. BuildRequires: clutter-devel
  20. BuildRequires: mesa-libgbm-devel >= 10.3
  21. BuildRequires: mesa-libGLES-devel
  22. BuildRequires: libSM-devel
  23. BuildRequires: libxkbfile-devel
  24. BuildRequires: xkeyboard-config
  25. BuildRequires: libxkbcommon-devel
  26. BuildRequires: python-devel
  27. BuildRequires: gnome-desktop3-devel
  28. BuildRequires: gobject-introspection-devel
  29. BuildRequires: startup-notification-devel
  30. BuildRequires: libcanberra-gtk3-devel
  31. BuildRequires: upower-devel >= 0.9.11
  32. BuildRequires: desktop-file-utils
  33. BuildRequires: zenity
  34. BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0
  35. BuildRequires: libXtst-devel
  36. BuildRequires: libgudev-devel
  37. BuildRequires: graphene-devel
  38. BuildRequires: gnome-settings-daemon-devel
  39. BuildRequires: libwacom-devel
  40. BuildRequires: pipewire-devel
  41. BuildRequires: xorg-x11-server-Xorg
  42. %if %{with systemd}
  43. BuildRequires: systemd-devel
  44. %else
  45. BuildRequires: elogind-devel
  46. %endif
  47. BuildRequires: pkgconfig(wayland-server)
  48. BuildRequires: pkgconfig(wayland-eglstream)
  49. BuildRequires: pkgconfig(xwayland)
  50. BuildRequires: pkgconfig(wayland-protocols)
  51. Requires: %{name}-libs = %{version}-%{release}
  52. Requires(postun,posttrans): desktop-file-utils
  53. %description
  54. Mutter is a minimal X window manager aimed at nontechnical users and is designed to integrate well with the GNOME desktop. Mutter lacks some features that may be expected by traditional UNIX or other technical users; these users may want to investigate other available window managers for use with GNOME or standalone.
  55. %package devel
  56. Summary: Development files of the mutter library.
  57. Group: programming
  58. Requires: %{name}-libs = %{version}-%{release}
  59. Requires: pkgconfig
  60. Requires: gtk3-devel
  61. Requires: clutter-devel
  62. Requires: libX11-devel
  63. %description devel
  64. Development files of the mutter library.
  65. %package libs
  66. Summary: Libraries for %{name}
  67. Summary(ja): %{name} の共有ライブラリ
  68. Group: system
  69. %description libs
  70. The %{name}-libs package contains the runtime shared libraries for
  71. %{name}.
  72. %debug_package
  73. %prep
  74. %setup -q
  75. %patch100 -p1
  76. %build
  77. export CFLAGS="$RPM_OPT_FLAGS -Wno-error=unused-variable -Wno-error=sign-compare -Wno-error=format"
  78. #intltoolize --force --copy
  79. %meson \
  80. -Dprofiler=false \
  81. -Dtests=false \
  82. -Dinstalled_tests=false \
  83. -Degl_device=true \
  84. -Dwayland_eglstream=true
  85. %meson_build
  86. %install
  87. %{__rm} -rf ${RPM_BUILD_ROOT}
  88. %meson_install
  89. %find_lang %{name}
  90. %post
  91. touch --no-create %{_datadir}/icons/hicolor
  92. %postun
  93. if [ "$1" -eq 0 ]; then
  94. touch --no-create %{_datadir}/icons/hicolor
  95. fi
  96. %files -f %{name}.lang
  97. %defattr(-,root,root)
  98. %license COPYING
  99. %doc NEWS
  100. %{_bindir}/mutter
  101. %{_libdir}/mutter-*/plugins/libdefault.so
  102. %{_libexecdir}/mutter-restart-helper
  103. /lib/udev/rules.d/61-mutter.rules
  104. %{_datadir}/GConf/gsettings/mutter-schemas.convert
  105. %{_datadir}/applications/*
  106. %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
  107. %{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
  108. %{_datadir}/gnome-control-center/keybindings/50-mutter-navigation.xml
  109. %{_datadir}/gnome-control-center/keybindings/50-mutter-system.xml
  110. %{_datadir}/gnome-control-center/keybindings/50-mutter-wayland.xml
  111. %{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml
  112. %{_mandir}/man1/mutter.1.gz
  113. %files libs
  114. %defattr(-,root,root,-)
  115. %{_libdir}/lib*.so.*
  116. %dir %{_libdir}/mutter-*
  117. %dir %{_libdir}/mutter-*/plugins
  118. %{_libdir}/mutter-*/lib*.so.*
  119. %{_libdir}/mutter-*/*.so
  120. %{_libdir}/mutter-*/*.typelib
  121. %files devel
  122. %defattr(-,root,root,-)
  123. %{_includedir}/mutter-*/*
  124. %{_libdir}/lib*.so
  125. %{_libdir}/pkgconfig/*
  126. %{_libdir}/mutter-*/*.gir
  127. %changelog
  128. * Sun Mar 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 40.0-1
  129. - new upstream release.
  130. - built with wayland.
  131. * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.4-1
  132. - new upstream release.
  133. - added systemd support (disabled as default).
  134. - dropped Patch0: fixed in upstream.
  135. * Sun Dec 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.30.2-1
  136. - new upstream release.
  137. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.3-1
  138. - new upstream release
  139. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  140. - new upstream release
  141. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  142. - new upstream release
  143. - add Patch100 (mutter-3.18.1-roundf.patch)
  144. - remove %%{name}-docs subpackage
  145. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  146. - new upstream release
  147. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  148. - new upstream release
  149. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1.1-1
  150. - new upstream release
  151. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  152. - new upstream release
  153. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  154. - new upstream release
  155. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  156. - new upstream release
  157. * Sat Nov 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1.5-1
  158. - new upstream release
  159. - add BuildRequires: mesa-libgbm-devel, libxkbfile-devel, xkeyboard-config, libxkbcommon-devel
  160. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-2
  161. - rebuild with upower-0.99.1
  162. * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  163. - new upstream release
  164. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  165. - new upstream release
  166. * Sat Apr 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  167. - new upstream release
  168. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.3-1
  169. - new upstream release
  170. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  171. - new upstream release
  172. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1.1-1
  173. - new upstream release
  174. - add BuildRequires: gnome-desktop3-devel, upower-devel
  175. - create libs subpackage
  176. - add Patch0 (mutter-3.10.0.1-introspection.patch)
  177. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  178. - new upstream release
  179. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  180. - new upstream release
  181. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  182. - new upstream release
  183. - remove Patch101 (mutter-vine-customize.patch)
  184. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  185. - new upstream release
  186. - create %%{name}-doc subpackage
  187. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  188. - new upstream release
  189. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  190. - new upstream release
  191. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  192. - new upstream release
  193. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  194. - new upstream release
  195. - remove BuildRequires: GConf2-devel
  196. * Sat Apr 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  197. - new upstream release
  198. - update Patch101 (mutter-vine-customize.patch)
  199. - add BuildRequires: gsettings-desktop-schemas-devel
  200. * Sat Jan 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  201. - new upstream release
  202. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  203. - new upstream release
  204. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  205. - new upstream release
  206. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  207. - new upstream release
  208. * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91.1-1
  209. - new upstream release
  210. - add Requires: gtk3-devel, libX11-devel (-devel package)
  211. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  212. - new upstream release
  213. - add BuildRequires: zenity
  214. * Fri Aug 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  215. - new upstream release
  216. - change BuildRequires: gobject-introspection-devel instead of gir-repository-devel
  217. - change BuildRequires: gtk3-devel instead of gtk2-devel
  218. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  219. - add Patch101 (mutter-vine-customize.patch)
  220. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  221. - rebuild with rpm-4.8.1 for pkg-config file
  222. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  223. - new upstream release
  224. - add BuildRequires: libcanberra-devel
  225. - Requires: clutter-devel (devel package)
  226. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  227. - initial build for Vine Linux