mutter-vl.spec 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. %define pkg_version 3.20.3
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: Window and compositing manager based on Clutter
  4. Name: mutter
  5. Version: %{pkg_version}
  6. Release: %{pkg_release}
  7. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz
  8. Patch100: mutter-3.18.1-roundf.patch
  9. License: GPLv2+
  10. Group: User Interface/Desktops
  11. URL: http://git.gnome.org/browse/mutter
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: pkgconfig
  14. BuildRequires: gtk3-devel
  15. BuildRequires: clutter-devel
  16. BuildRequires: mesa-libgbm-devel >= 10.3
  17. BuildRequires: libSM-devel
  18. BuildRequires: libxkbfile-devel
  19. BuildRequires: xkeyboard-config
  20. BuildRequires: libxkbcommon-devel
  21. BuildRequires: python-devel
  22. BuildRequires: gnome-desktop3-devel
  23. BuildRequires: gobject-introspection-devel
  24. BuildRequires: startup-notification-devel
  25. BuildRequires: libcanberra-gtk3-devel
  26. BuildRequires: upower-devel >= 0.9.11
  27. BuildRequires: desktop-file-utils
  28. BuildRequires: zenity
  29. BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0
  30. Requires: %{name}-libs = %{version}-%{release}
  31. Requires(postun,posttrans): desktop-file-utils
  32. Vendor: Project Vine
  33. Distribution: Vine Linux
  34. Packager: Takemikaduchi
  35. %description
  36. 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.
  37. %package devel
  38. Summary: Development files of the mutter library.
  39. Group: Development/Libraries
  40. Requires: %{name}-libs = %{version}-%{release}
  41. Requires: pkgconfig
  42. Requires: gtk3-devel
  43. Requires: clutter-devel
  44. Requires: libX11-devel
  45. %description devel
  46. Development files of the mutter library.
  47. %package libs
  48. Summary: Libraries for %{name}
  49. Summary(ja): %{name} の共有ライブラリ
  50. Group: System Environment/Libraries
  51. %description libs
  52. The %{name}-libs package contains the runtime shared libraries for
  53. %{name}.
  54. %prep
  55. %setup -q
  56. %patch100 -p1
  57. %build
  58. export CFLAGS="$RPM_OPT_FLAGS -Wno-error=unused-variable -Wno-error=sign-compare -Wno-error=format"
  59. intltoolize --force --copy
  60. autoreconf -if
  61. %configure --disable-static
  62. %{__make} %{?_smp_mflags}
  63. %install
  64. %{__rm} -rf ${RPM_BUILD_ROOT}
  65. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  66. %find_lang %{name}
  67. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  68. %clean
  69. %{__rm} -rf ${RPM_BUILD_ROOT}
  70. %post
  71. touch --no-create %{_datadir}/icons/hicolor
  72. %postun
  73. if [ "$1" -eq 0 ]; then
  74. touch --no-create %{_datadir}/icons/hicolor
  75. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  76. update-desktop-database -q > /dev/null || :
  77. fi
  78. %posttrans
  79. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  80. update-desktop-database -q > /dev/null || :
  81. %post libs -p /sbin/ldconfig
  82. %postun libs -p /sbin/ldconfig
  83. %files -f %{name}.lang
  84. %defattr(-,root,root)
  85. %doc COPYING ChangeLog NEWS README
  86. %{_bindir}/mutter
  87. %{_libdir}/mutter/plugins/default.so
  88. %{_libexecdir}/mutter-restart-helper
  89. %{_datadir}/GConf/gsettings/mutter-schemas.convert
  90. %{_datadir}/applications/*
  91. %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
  92. %{_datadir}/glib-2.0/schemas/org.gnome.mutter.wayland.gschema.xml
  93. %{_datadir}/gnome-control-center/keybindings/50-mutter-navigation.xml
  94. %{_datadir}/gnome-control-center/keybindings/50-mutter-system.xml
  95. %{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml
  96. %{_mandir}/man1/mutter.1.gz
  97. %files libs
  98. %defattr(-,root,root,-)
  99. %{_libdir}/lib*.so.*
  100. %{_libdir}/mutter/Meta-3.0.typelib
  101. %files devel
  102. %defattr(-,root,root,-)
  103. %{_includedir}/mutter/*
  104. %{_libdir}/lib*.so
  105. %{_libdir}/pkgconfig/*
  106. %{_libdir}/mutter/Meta-3.0.gir
  107. %changelog
  108. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.3-1
  109. - new upstream release
  110. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  111. - new upstream release
  112. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  113. - new upstream release
  114. - add Patch100 (mutter-3.18.1-roundf.patch)
  115. - remove %%{name}-docs subpackage
  116. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  117. - new upstream release
  118. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  119. - new upstream release
  120. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1.1-1
  121. - new upstream release
  122. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  123. - new upstream release
  124. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  125. - new upstream release
  126. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  127. - new upstream release
  128. * Sat Nov 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1.5-1
  129. - new upstream release
  130. - add BuildRequires: mesa-libgbm-devel, libxkbfile-devel, xkeyboard-config, libxkbcommon-devel
  131. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-2
  132. - rebuild with upower-0.99.1
  133. * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  134. - new upstream release
  135. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  136. - new upstream release
  137. * Sat Apr 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  138. - new upstream release
  139. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.3-1
  140. - new upstream release
  141. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  142. - new upstream release
  143. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1.1-1
  144. - new upstream release
  145. - add BuildRequires: gnome-desktop3-devel, upower-devel
  146. - create libs subpackage
  147. - add Patch0 (mutter-3.10.0.1-introspection.patch)
  148. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  149. - new upstream release
  150. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  151. - new upstream release
  152. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  153. - new upstream release
  154. - remove Patch101 (mutter-vine-customize.patch)
  155. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  156. - new upstream release
  157. - create %%{name}-doc subpackage
  158. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  159. - new upstream release
  160. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  161. - new upstream release
  162. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  163. - new upstream release
  164. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  165. - new upstream release
  166. - remove BuildRequires: GConf2-devel
  167. * Sat Apr 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  168. - new upstream release
  169. - update Patch101 (mutter-vine-customize.patch)
  170. - add BuildRequires: gsettings-desktop-schemas-devel
  171. * Sat Jan 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  172. - new upstream release
  173. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  174. - new upstream release
  175. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  176. - new upstream release
  177. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  178. - new upstream release
  179. * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91.1-1
  180. - new upstream release
  181. - add Requires: gtk3-devel, libX11-devel (-devel package)
  182. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  183. - new upstream release
  184. - add BuildRequires: zenity
  185. * Fri Aug 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  186. - new upstream release
  187. - change BuildRequires: gobject-introspection-devel instead of gir-repository-devel
  188. - change BuildRequires: gtk3-devel instead of gtk2-devel
  189. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  190. - add Patch101 (mutter-vine-customize.patch)
  191. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  192. - rebuild with rpm-4.8.1 for pkg-config file
  193. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  194. - new upstream release
  195. - add BuildRequires: libcanberra-devel
  196. - Requires: clutter-devel (devel package)
  197. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  198. - initial build for Vine Linux