cinnamon-vl.spec 4.5 KB

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