mutter-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. %define pkg_version 3.4.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.4/%{name}-%{version}.tar.xz
  8. Patch101: mutter-vine-customize.patch
  9. License: GPLv2+
  10. Group: User Interface/Desktops
  11. URL: http://git.gnome.org/browse/mutter
  12. Requires(post,postun): scrollkeeper >= 0.1.4
  13. Requires(post,pre,preun): GConf2 >= 2.14
  14. BuildRequires: pkgconfig
  15. BuildRequires: gtk3-devel
  16. BuildRequires: clutter-devel
  17. BuildRequires: libSM-devel
  18. BuildRequires: GConf2-devel
  19. BuildRequires: gobject-introspection-devel
  20. BuildRequires: python-devel
  21. BuildRequires: startup-notification-devel
  22. BuildRequires: libcanberra-gtk3-devel
  23. BuildRequires: gnome-doc-utils
  24. BuildRequires: desktop-file-utils
  25. BuildRequires: zenity
  26. BuildRequires: gsettings-desktop-schemas-devel >= 3.4.0
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  28. Vendor: Project Vine
  29. Distribution: Vine Linux
  30. Packager: Takemikaduchi
  31. %description
  32. 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.
  33. %package devel
  34. Summary: Development files of the mutter library.
  35. Group: Development/Libraries
  36. Requires: %{name} = %{version}-%{release}
  37. Requires: pkgconfig
  38. Requires: gtk-doc
  39. Requires: gtk3-devel
  40. Requires: clutter-devel
  41. Requires: libX11-devel
  42. %description devel
  43. Development files of the mutter library.
  44. %prep
  45. %setup -q
  46. %patch101 -p1 -b .vine
  47. %build
  48. %configure --disable-static
  49. %{__make} %{?_smp_mflags}
  50. %install
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  53. %find_lang %{name}
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
  55. %clean
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %post
  58. /sbin/ldconfig
  59. touch --no-create %{_datadir}/icons/hicolor
  60. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  61. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  62. fi
  63. %postun
  64. /sbin/ldconfig
  65. touch --no-create %{_datadir}/icons/hicolor
  66. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  67. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  68. fi
  69. %files -f %{name}.lang
  70. %defattr(-,root,root)
  71. %doc COPYING ChangeLog NEWS README
  72. %{_bindir}/mutter
  73. %{_bindir}/mutter-message
  74. %{_libdir}/lib*.so.*
  75. %{_libdir}/mutter/*
  76. %{_datadir}/GConf/gsettings/mutter-schemas.convert
  77. %{_datadir}/applications/*
  78. %{_datadir}/glib-2.0/schemas/org.gnome.mutter.gschema.xml
  79. %{_datadir}/gnome/wm-properties/*
  80. %{_datadir}/gnome-control-center/keybindings/50-mutter-windows.xml
  81. %{_datadir}/mutter/*
  82. %{_mandir}/man1/mutter.1.gz
  83. %{_mandir}/man1/mutter-message.1.gz
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_bindir}/mutter-theme-viewer
  87. %{_bindir}/mutter-window-demo
  88. %{_includedir}/mutter/*
  89. %{_libdir}/lib*.so
  90. %{_libdir}/pkgconfig/*
  91. %{_mandir}/man1/mutter-theme-viewer.1.gz
  92. %{_mandir}/man1/mutter-window-demo.1.gz
  93. %changelog
  94. * Sat Apr 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  95. - new upstream release
  96. - update Patch101 (mutter-vine-customize.patch)
  97. - add BuildRequires: gsettings-desktop-schemas-devel
  98. * Sat Jan 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  99. - new upstream release
  100. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  101. - new upstream release
  102. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  103. - new upstream release
  104. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  105. - new upstream release
  106. * Sun Sep 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.91.1-1
  107. - new upstream release
  108. - add Requires: gtk3-devel, libX11-devel (-devel package)
  109. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90.1-1
  110. - new upstream release
  111. - add BuildRequires: zenity
  112. * Fri Aug 12 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  113. - new upstream release
  114. - change BuildRequires: gobject-introspection-devel instead of gir-repository-devel
  115. - change BuildRequires: gtk3-devel instead of gtk2-devel
  116. - change BuildRequires: libcanberra-gtk3-devel instead of libcanberra-devel
  117. - add Patch101 (mutter-vine-customize.patch)
  118. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  119. - rebuild with rpm-4.8.1 for pkg-config file
  120. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  121. - new upstream release
  122. - add BuildRequires: libcanberra-devel
  123. - Requires: clutter-devel (devel package)
  124. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  125. - initial build for Vine Linux