mutter-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. %define pkg_version 3.10.2
  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.10/%{name}-%{version}.tar.xz
  8. License: GPLv2+
  9. Group: User Interface/Desktops
  10. URL: http://git.gnome.org/browse/mutter
  11. Patch0: mutter-3.10.0.1-introspection.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: pkgconfig
  14. BuildRequires: gtk3-devel
  15. BuildRequires: clutter-devel
  16. BuildRequires: libSM-devel
  17. BuildRequires: python-devel
  18. BuildRequires: gnome-desktop3-devel
  19. BuildRequires: gobject-introspection-devel
  20. BuildRequires: startup-notification-devel
  21. BuildRequires: libcanberra-gtk3-devel
  22. BuildRequires: upower-devel
  23. BuildRequires: gnome-doc-utils
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: zenity
  26. BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0
  27. Requires: %{name}-libs = %{version}-%{release}
  28. Requires(postun,posttrans): desktop-file-utils
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. Packager: Takemikaduchi
  32. %description
  33. 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.
  34. %package devel
  35. Summary: Development files of the mutter library.
  36. Group: Development/Libraries
  37. Requires: %{name}-libs = %{version}-%{release}
  38. Requires: pkgconfig
  39. Requires: gtk3-devel
  40. Requires: clutter-devel
  41. Requires: libX11-devel
  42. %description devel
  43. Development files of the mutter library.
  44. %package libs
  45. Summary: Libraries for %{name}
  46. Summary(ja): %{name} の共有ライブラリ
  47. Group: System Environment/Libraries
  48. %description libs
  49. The %{name}-libs package contains the runtime shared libraries for
  50. %{name}.
  51. %package docs
  52. Summary: Documentation for mutter
  53. Summary(ja): mutter 用のドキュメント
  54. Group: Documentation
  55. Provides: %{name}-doc = %{version}-%{release}
  56. BuildArch: noarch
  57. Requires: %{name} = %{version}-%{release}
  58. %description docs
  59. This package contains documentation for mutter.
  60. %prep
  61. %setup -q
  62. %patch0 -p1 -b .introspec
  63. %build
  64. intltoolize --force --copy
  65. autoreconf -if
  66. %configure --disable-static
  67. %{__make} %{?_smp_mflags}
  68. %install
  69. %{__rm} -rf ${RPM_BUILD_ROOT}
  70. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  71. %find_lang %{name}
  72. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  73. %clean
  74. %{__rm} -rf ${RPM_BUILD_ROOT}
  75. %post
  76. touch --no-create %{_datadir}/icons/hicolor
  77. %postun
  78. if [ "$1" -eq 0 ]; then
  79. touch --no-create %{_datadir}/icons/hicolor
  80. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  81. update-desktop-database -q > /dev/null || :
  82. fi
  83. %posttrans
  84. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  85. update-desktop-database -q > /dev/null || :
  86. %post libs -p /sbin/ldconfig
  87. %postun libs -p /sbin/ldconfig
  88. %files -f %{name}.lang
  89. %defattr(-,root,root)
  90. %doc COPYING ChangeLog NEWS README
  91. %{_bindir}/mutter
  92. %{_libdir}/mutter/plugins/default.so
  93. %{_datadir}/GConf/gsettings/mutter-schemas.convert
  94. %{_datadir}/applications/*
  95. %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
  96. %{_datadir}/gnome/wm-properties/*
  97. %{_datadir}/gnome-control-center/keybindings/50-mutter-navigation.xml
  98. %{_datadir}/gnome-control-center/keybindings/50-mutter-system.xml
  99. %{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml
  100. %{_mandir}/man1/mutter.1.gz
  101. %files libs
  102. %defattr(-,root,root,-)
  103. %{_libdir}/lib*.so.*
  104. %{_libdir}/girepository-1.0/Meta-3.0.typelib
  105. %files devel
  106. %defattr(-,root,root,-)
  107. %{_includedir}/mutter/*
  108. %{_libdir}/lib*.so
  109. %{_libdir}/pkgconfig/*
  110. %{_datadir}/gir-1.0/Meta-3.0.gir
  111. %files docs
  112. %defattr(-,root,root,-)
  113. %{_datadir}/gtk-doc/html/meta
  114. %changelog
  115. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  116. - new upstream release
  117. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1.1-1
  118. - new upstream release
  119. - add BuildRequires: gnome-desktop3-devel, upower-devel
  120. - create libs subpackage
  121. - add Patch0 (mutter-3.10.0.1-introspection.patch)
  122. * Sun Aug 11 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.4-1
  123. - new upstream release
  124. * Sun Jun 09 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.3-1
  125. - new upstream release
  126. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  127. - new upstream release
  128. - remove Patch101 (mutter-vine-customize.patch)
  129. * Thu Apr 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
  130. - new upstream release
  131. - create %%{name}-doc subpackage
  132. * Sun Feb 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.3-1
  133. - new upstream release
  134. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  135. - new upstream release
  136. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  137. - new upstream release
  138. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  139. - new upstream release
  140. - remove BuildRequires: GConf2-devel
  141. * Sat Apr 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  142. - new upstream release
  143. - update Patch101 (mutter-vine-customize.patch)
  144. - add BuildRequires: gsettings-desktop-schemas-devel
  145. * Sat Jan 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  146. - new upstream release
  147. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  148. - new upstream release
  149. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  150. - new upstream release
  151. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  152. - new upstream release
  153. * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91.1-1
  154. - new upstream release
  155. - add Requires: gtk3-devel, libX11-devel (-devel package)
  156. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  157. - new upstream release
  158. - add BuildRequires: zenity
  159. * Fri Aug 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  160. - new upstream release
  161. - change BuildRequires: gobject-introspection-devel instead of gir-repository-devel
  162. - change BuildRequires: gtk3-devel instead of gtk2-devel
  163. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  164. - add Patch101 (mutter-vine-customize.patch)
  165. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  166. - rebuild with rpm-4.8.1 for pkg-config file
  167. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  168. - new upstream release
  169. - add BuildRequires: libcanberra-devel
  170. - Requires: clutter-devel (devel package)
  171. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  172. - initial build for Vine Linux