mutter-vl.spec 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. %define pkg_version 3.18.4
  2. %define pkg_release 2%{?_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.18/%{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"
  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 3 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.18.4-2
  109. - rebuilt with libxkbcommon-0.6.1.
  110. * Sun Apr 24 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.4-1
  111. - new upstream release
  112. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1
  113. - new upstream release
  114. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  115. - new upstream release
  116. - add Patch100 (mutter-3.18.1-roundf.patch)
  117. - remove %%{name}-docs subpackage
  118. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  119. - new upstream release
  120. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  121. - new upstream release
  122. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1.1-1
  123. - new upstream release
  124. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  125. - new upstream release
  126. * Mon Dec 22 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  127. - new upstream release
  128. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  129. - new upstream release
  130. * Sat Nov 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1.5-1
  131. - new upstream release
  132. - add BuildRequires: mesa-libgbm-devel, libxkbfile-devel, xkeyboard-config, libxkbcommon-devel
  133. * Sun Sep 21 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-2
  134. - rebuild with upower-0.99.1
  135. * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  136. - new upstream release
  137. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  138. - new upstream release
  139. * Sat Apr 12 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  140. - new upstream release
  141. * Sat Jan 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.3-1
  142. - new upstream release
  143. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  144. - new upstream release
  145. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1.1-1
  146. - new upstream release
  147. - add BuildRequires: gnome-desktop3-devel, upower-devel
  148. - create libs subpackage
  149. - add Patch0 (mutter-3.10.0.1-introspection.patch)
  150. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  151. - new upstream release
  152. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  153. - new upstream release
  154. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  155. - new upstream release
  156. - remove Patch101 (mutter-vine-customize.patch)
  157. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  158. - new upstream release
  159. - create %%{name}-doc subpackage
  160. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  161. - new upstream release
  162. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  163. - new upstream release
  164. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  165. - new upstream release
  166. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  167. - new upstream release
  168. - remove BuildRequires: GConf2-devel
  169. * Sat Apr 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  170. - new upstream release
  171. - update Patch101 (mutter-vine-customize.patch)
  172. - add BuildRequires: gsettings-desktop-schemas-devel
  173. * Sat Jan 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  174. - new upstream release
  175. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  176. - new upstream release
  177. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  178. - new upstream release
  179. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  180. - new upstream release
  181. * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91.1-1
  182. - new upstream release
  183. - add Requires: gtk3-devel, libX11-devel (-devel package)
  184. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  185. - new upstream release
  186. - add BuildRequires: zenity
  187. * Fri Aug 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  188. - new upstream release
  189. - change BuildRequires: gobject-introspection-devel instead of gir-repository-devel
  190. - change BuildRequires: gtk3-devel instead of gtk2-devel
  191. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  192. - add Patch101 (mutter-vine-customize.patch)
  193. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  194. - rebuild with rpm-4.8.1 for pkg-config file
  195. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  196. - new upstream release
  197. - add BuildRequires: libcanberra-devel
  198. - Requires: clutter-devel (devel package)
  199. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  200. - initial build for Vine Linux