mutter-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. %define pkg_version 2.29.1
  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: %{name}-%{version}.tar.bz2
  8. License: GPLv2+
  9. Group: User Interface/Desktops
  10. URL: http://git.gnome.org/browse/mutter
  11. Requires(post,postun): scrollkeeper >= 0.1.4
  12. Requires(post,pre,preun): GConf2 >= 2.14
  13. BuildRequires: pkgconfig
  14. BuildRequires: gtk2-devel
  15. BuildRequires: clutter-devel
  16. BuildRequires: libSM-devel
  17. BuildRequires: GConf2-devel
  18. BuildRequires: gir-repository-devel
  19. BuildRequires: python-devel
  20. BuildRequires: startup-notification-devel
  21. BuildRequires: libcanberra-devel
  22. BuildRequires: gnome-doc-utils
  23. BuildRequires: desktop-file-utils
  24. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. 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.
  30. %package devel
  31. Summary: Development files of the mutter library.
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}-%{release}
  34. Requires: pkgconfig
  35. Requires: gtk-doc
  36. Requires: clutter-devel
  37. %description devel
  38. Development files of the mutter library.
  39. %prep
  40. %setup -q
  41. %build
  42. %configure --disable-static
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  47. %find_lang %{name}
  48. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %post
  52. /sbin/ldconfig
  53. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  54. gconftool-2 --makefile-install-rule \
  55. %{_sysconfdir}/gconf/schemas/mutter.schemas \
  56. > /dev/null || :
  57. /sbin/ldconfig
  58. touch --no-create %{_datadir}/icons/hicolor
  59. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  60. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  61. fi
  62. %pre
  63. if [ "$1" -gt 1 ]; then
  64. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  65. gconftool-2 --makefile-uninstall-rule \
  66. %{_sysconfdir}/gconf/schemas/mutter.schemas \
  67. > /dev/null || :
  68. fi
  69. %preun
  70. if [ "$1" -eq 0 ]; then
  71. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  72. gconftool-2 --makefile-uninstall-rule \
  73. %{_sysconfdir}/gconf/schemas/mutter.schemas \
  74. > /dev/null || :
  75. fi
  76. %postun
  77. scrollkeeper-update -q || :
  78. /sbin/ldconfig
  79. touch --no-create %{_datadir}/icons/hicolor
  80. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  81. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  82. fi
  83. %files -f %{name}.lang
  84. %defattr(-,root,root)
  85. %doc COPYING ChangeLog NEWS README
  86. %{_bindir}/mutter
  87. %{_bindir}/mutter-message
  88. %{_libdir}/lib*.so.*
  89. %{_libdir}/mutter/*
  90. %{_datadir}/applications/*
  91. %{_datadir}/gnome/wm-properties/*
  92. %{_datadir}/mutter/*
  93. %{_sysconfdir}/gconf/schemas/*
  94. %{_mandir}/man1/mutter.1.gz
  95. %{_mandir}/man1/mutter-message.1.gz
  96. %files devel
  97. %defattr(-,root,root,-)
  98. %{_bindir}/mutter-theme-viewer
  99. %{_bindir}/mutter-window-demo
  100. %{_includedir}/mutter/*
  101. %{_libdir}/lib*.so
  102. %{_libdir}/pkgconfig/*
  103. %{_mandir}/man1/mutter-theme-viewer.1.gz
  104. %{_mandir}/man1/mutter-window-demo.1.gz
  105. %changelog
  106. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  107. - rebuild with rpm-4.8.1 for pkg-config file
  108. * Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  109. - new upstream release
  110. - add BuildRequires: libcanberra-devel
  111. - Requires: clutter-devel (devel package)
  112. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  113. - initial build for Vine Linux