cinnamon-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. Name: cinnamon
  2. Summary: A Linux Desktop featuring a traditional layout and modern technology
  3. Version: 1.6.6
  4. Release: 1%{?_dist_release}
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://cinnamon.linuxmint.com/
  8. Source0: Cinnamon-%{version}.tar.gz
  9. Patch0: cinnamon-1.4-session.patch
  10. # vine patch
  11. Patch101: cinnamon-vine-settings.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: muffin-devel >= 1.1.2
  14. BuildRequires: gjs-devel >= 1.29.18
  15. BuildRequires: gstreamer-plugins-base-devel >= 0.10.16
  16. BuildRequires: folks-devel >= 0.5.2
  17. BuildRequires: evolution-data-server-devel >= 2.32.0
  18. BuildRequires: telepathy-glib-devel >= 0.15.5
  19. BuildRequires: telepathy-logger-devel >= 0.2.4
  20. BuildRequires: polkit-devel >= 0.100
  21. BuildRequires: startup-notification-devel >= 0.11
  22. BuildRequires: gnome-menus-devel
  23. BuildRequires: NetworkManager-glib-devel
  24. BuildRequires: libgnome-keyring-devel
  25. BuildRequires: libcroco-devel >= 0.6.2
  26. BuildRequires: gnome-desktop3-devel >= 2.90.0
  27. BuildRequires: pulseaudio-libs-devel
  28. BuildRequires: libgudev1-devel
  29. BuildRequires: libcanberra-gtk3-devel
  30. BuildRequires: ca-certificates
  31. BuildRequires: GConf2-devel
  32. BuildRequires: gnome-common
  33. Requires(postun,posttrans): glib2
  34. Requires(postun,posttrans): desktop-file-utils
  35. Requires: muffin
  36. Requires: python-imaging
  37. Requires: ca-certificates
  38. %description
  39. Cinnamon is a Linux desktop which provides advanced innovative features and a traditional user experience.
  40. The desktop layout is similar to Gnome 2.
  41. The underlying technology is forked from Gnome Shell.
  42. The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience.
  43. %prep
  44. %setup -q -n Cinnamon-%{version}
  45. %patch0 -p1
  46. %patch101 -p1 -b .vine
  47. %build
  48. NOCONFIGURE=1 ./autogen.sh
  49. %configure \
  50. --disable-static \
  51. --enable-compile-warnings=minimum
  52. make %{?_smp_mflags}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. make install DESTDIR=$RPM_BUILD_ROOT
  56. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  57. %find_lang %{name}
  58. %clean
  59. rm -rf $RPM_BUILD_ROOT
  60. %post
  61. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  62. %postun
  63. if [ $1 -eq 0 ]; then
  64. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  65. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  67. update-desktop-database -q &> /dev/null || :
  68. fi
  69. %posttrans
  70. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  71. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  72. update-desktop-database -q &> /dev/null || :
  73. %files -f %{name}.lang
  74. %defattr(-,root,root)
  75. %doc README NEWS COPYING AUTHORS
  76. %{_sysconfdir}/xdg/menus/cinnamon-applications.menu
  77. %{_sysconfdir}/xdg/menus/cinnamon-settings.menu
  78. %{_bindir}/cinnamon
  79. %{_bindir}/cinnamon-extension-tool
  80. %{_bindir}/cinnamon-launcher
  81. %{_bindir}/cinnamon-menu-editor
  82. %{_bindir}/cinnamon-settings
  83. %{_bindir}/cinnamon2d
  84. %{_bindir}/gnome-session-cinnamon
  85. %{_bindir}/gnome-session-cinnamon2d
  86. %{_prefix}/lib/cinnamon-menu-editor
  87. %{_prefix}/lib/cinnamon-settings
  88. %{_libdir}/%{name}/Cinnamon-0.1.typelib
  89. %{_libdir}/%{name}/Gvc-1.0.typelib
  90. %{_libdir}/%{name}/St-1.0.typelib
  91. %{_libdir}/%{name}/libcinnamon.so
  92. %{_libdir}/mozilla/plugins/libcinnamon-browser-plugin.so
  93. %{_libexecdir}/%{name}/cinnamon-hotplug-sniffer
  94. %{_libexecdir}/%{name}/cinnamon-perf-helper
  95. %{_datadir}/applications/cinnamon-settings.desktop
  96. %{_datadir}/applications/cinnamon.desktop
  97. %{_datadir}/applications/cinnamon2d.desktop
  98. %{_datadir}/%{name}/applets
  99. %{_datadir}/%{name}/js
  100. %{_datadir}/%{name}/search_providers
  101. %{_datadir}/%{name}/shaders
  102. %{_datadir}/%{name}/theme
  103. %{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service
  104. %{_datadir}/desktop-directories
  105. %{_datadir}/glib-2.0/schemas/org.cinnamon.gschema.xml
  106. %{_datadir}/gnome-session/sessions/cinnamon.session
  107. %{_datadir}/gnome-session/sessions/cinnamon2d.session
  108. %{_datadir}/xsessions/cinnamon.desktop
  109. %{_datadir}/xsessions/cinnamon2d.desktop
  110. %{_mandir}/man1/*.1.gz
  111. %changelog
  112. * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.6-1
  113. - new upstream release
  114. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  115. - new upstream release
  116. - add BuildRequires: ca-certificates
  117. - add Requires: python-imaging
  118. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  119. - new upstream release
  120. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  121. - new upstream release
  122. - update Patch101 (cinnamon-vine-settings.patch)
  123. - add BuildRequires: GConf2-devel, libcanberra-gtk3-devel
  124. * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-UP1-1
  125. - initial build for Vine Linux