mutter-vl.spec 7.6 KB

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