gnome-shell-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. %define pkg_version 2.29.1
  2. %define pkg_release 2%{?_dist_release}
  3. Summary: Window management and application launching for GNOME
  4. Name: gnome-shell
  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://live.gnome.org/GnomeShell
  11. Requires(post,postun): scrollkeeper >= 0.1.4
  12. Requires(post,pre,preun): GConf2 >= 2.14
  13. Requires: mutter
  14. BuildRequires: gnome-common
  15. BuildRequires: libtool
  16. BuildRequires: automake
  17. BuildRequires: autoconf
  18. BuildRequires: pkgconfig
  19. BuildRequires: gtk2-devel
  20. BuildRequires: clutter-devel
  21. BuildRequires: mutter-devel
  22. BuildRequires: gjs-devel
  23. BuildRequires: gnome-desktop-devel
  24. BuildRequires: gnome-menus-devel
  25. BuildRequires: libSM-devel
  26. BuildRequires: libffi-devel
  27. BuildRequires: GConf2-devel
  28. BuildRequires: startup-notification-devel
  29. BuildRequires: gnome-doc-utils
  30. BuildRequires: desktop-file-utils
  31. BuildRequires: xulrunner-devel
  32. BuildRequires: libcroco-devel
  33. BuildRequires: librsvg2-devel
  34. BuildRequires: gir-repository-devel
  35. BuildRequires: gobject-introspection-devel
  36. BuildRequires: gstreamer-devel
  37. BuildRequires: dbus-glib-devel
  38. BuildRequires: intltool
  39. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  40. Vendor: Project Vine
  41. Distribution: Vine Linux
  42. Packager: Takemikaduchi
  43. %description
  44. GNOME Shell is the defining technology of the GNOME 3 desktop user experience. It provides core interface functions like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a delightful and easy to use experience.
  45. %prep
  46. %setup -q
  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. %{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/*.la
  55. %clean
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %post
  58. /sbin/ldconfig
  59. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  60. gconftool-2 --makefile-install-rule \
  61. %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
  62. > /dev/null || :
  63. /sbin/ldconfig
  64. touch --no-create %{_datadir}/icons/hicolor
  65. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  66. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  67. fi
  68. %pre
  69. if [ "$1" -gt 1 ]; then
  70. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  71. gconftool-2 --makefile-uninstall-rule \
  72. %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
  73. > /dev/null || :
  74. fi
  75. %preun
  76. if [ "$1" -eq 0 ]; then
  77. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  78. gconftool-2 --makefile-uninstall-rule \
  79. %{_sysconfdir}/gconf/schemas/gnome-shell.schemas \
  80. > /dev/null || :
  81. fi
  82. %postun
  83. scrollkeeper-update -q || :
  84. /sbin/ldconfig
  85. touch --no-create %{_datadir}/icons/hicolor
  86. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  87. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  88. fi
  89. %files -f %{name}.lang
  90. %defattr(-,root,root)
  91. %doc COPYING ChangeLog NEWS README
  92. %{_bindir}/gnome-shell
  93. %{_libdir}/gnome-shell/*
  94. %{_libdir}/mutter/plugins/*
  95. %{_datadir}/applications/*
  96. %{_datadir}/gnome-shell/*
  97. %{_datadir}/man/man1/*.1.gz
  98. %{_sysconfdir}/gconf/schemas/*
  99. %changelog
  100. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-2
  101. - add Requires: mutter
  102. * Sun May 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.29.1-1
  103. - new upstream release
  104. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1
  105. - initial build for Vine Linux