cinnamon-vl.spec 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. Name: cinnamon
  2. Summary: A Linux Desktop featuring a traditional layout and modern technology
  3. Version: 2.2.3
  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. # patch from alt
  10. # http://git.altlinux.org/people/cow/packages/?p=cinnamon.git;a=summary
  11. # vine patch
  12. Patch101: cinnamon-vine-settings.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: muffin-devel >= 1.9.1
  15. BuildRequires: cjs-devel >= 1.9.0
  16. BuildRequires: gstreamer-plugins-base-devel >= 0.10.16
  17. BuildRequires: folks-devel >= 0.5.2
  18. BuildRequires: evolution-data-server-devel >= 2.32.0
  19. BuildRequires: telepathy-glib-devel >= 0.15.5
  20. BuildRequires: telepathy-logger-devel >= 0.2.4
  21. BuildRequires: polkit-devel >= 0.100
  22. BuildRequires: startup-notification-devel >= 0.11
  23. BuildRequires: cinnamon-menus-devel
  24. BuildRequires: NetworkManager-glib-devel
  25. BuildRequires: libgnome-keyring-devel
  26. BuildRequires: libcroco-devel >= 0.6.2
  27. BuildRequires: cinnamon-desktop-devel
  28. BuildRequires: pulseaudio-libs-devel
  29. BuildRequires: libgudev1-devel
  30. BuildRequires: libcanberra-gtk3-devel
  31. BuildRequires: ca-certificates
  32. BuildRequires: GConf2-devel
  33. BuildRequires: gnome-common
  34. Requires(postun,posttrans): glib2
  35. Requires(postun,posttrans): desktop-file-utils
  36. Requires: muffin
  37. Requires: cinnamon-session
  38. Requires: cinnamon-menus
  39. Requires: python-imaging
  40. Requires: python-pam
  41. Requires: python-pexpect
  42. Requires: ca-certificates
  43. Vendor: Project Vine
  44. Distribution: Vine Linux
  45. Packager: Takemikaduchi
  46. %description
  47. Cinnamon is a Linux desktop which provides advanced innovative features and a traditional user experience.
  48. The desktop layout is similar to Gnome 2.
  49. The underlying technology is forked from Gnome Shell.
  50. The emphasis is put on making users feel at home and providing them with an easy to use and comfortable desktop experience.
  51. %prep
  52. %setup -q -n Cinnamon-%{version}
  53. %patch101 -p1 -b .vine
  54. # fix PAM module
  55. sed -i 's:import PAM:import pam:' files/usr/lib/cinnamon-settings/modules/cs_user.py
  56. %build
  57. NOCONFIGURE=1 ./autogen.sh
  58. %configure \
  59. --disable-static \
  60. --enable-compile-warnings=minimum
  61. make %{?_smp_mflags}
  62. %install
  63. rm -rf $RPM_BUILD_ROOT
  64. make install DESTDIR=$RPM_BUILD_ROOT
  65. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  66. %clean
  67. rm -rf $RPM_BUILD_ROOT
  68. %post
  69. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  70. %postun
  71. if [ $1 -eq 0 ]; then
  72. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  73. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  74. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  75. update-desktop-database -q &> /dev/null || :
  76. fi
  77. %posttrans
  78. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  79. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  80. update-desktop-database -q &> /dev/null || :
  81. %files
  82. %defattr(-,root,root)
  83. %doc README NEWS COPYING AUTHORS
  84. %{_sysconfdir}/xdg/menus/cinnamon-applications.menu
  85. %{_sysconfdir}/xdg/menus/cinnamon-applications-merged
  86. %{_bindir}/cinnamon
  87. %{_bindir}/cinnamon-desktop-editor
  88. %{_bindir}/cinnamon-extension-tool
  89. %{_bindir}/cinnamon-json-makepot
  90. %{_bindir}/cinnamon-launcher
  91. %{_bindir}/cinnamon-looking-glass
  92. %{_bindir}/cinnamon-menu-editor
  93. %{_bindir}/cinnamon-screensaver-lock-dialog
  94. %{_bindir}/cinnamon-settings
  95. %{_bindir}/cinnamon-session-cinnamon
  96. %{_bindir}/cinnamon-session-cinnamon2d
  97. %{_bindir}/cinnamon-settings-users
  98. %{_bindir}/cinnamon2d
  99. %{_prefix}/lib/cinnamon-desktop-editor
  100. %{_prefix}/lib/cinnamon-json-makepot
  101. %{_prefix}/lib/cinnamon-looking-glass
  102. %{_prefix}/lib/cinnamon-menu-editor
  103. %{_prefix}/lib/cinnamon-screensaver-lock-dialog
  104. %{_prefix}/lib/cinnamon-settings
  105. %{_prefix}/lib/cinnamon-settings-users
  106. %{_libdir}/%{name}/Cinnamon-0.1.typelib
  107. %{_libdir}/%{name}/Gvc-1.0.typelib
  108. %{_libdir}/%{name}/St-1.0.typelib
  109. %{_libdir}/%{name}/libcinnamon.so
  110. %{_libexecdir}/%{name}/cinnamon-hotplug-sniffer
  111. %{_libexecdir}/%{name}/cinnamon-perf-helper
  112. %{_datadir}/applications/cinnamon-add-panel-launcher.desktop
  113. %{_datadir}/applications/cinnamon-menu-editor.desktop
  114. %{_datadir}/applications/cinnamon-settings.desktop
  115. %{_datadir}/applications/cinnamon-settings-applets.desktop
  116. %{_datadir}/applications/cinnamon-settings-backgrounds.desktop
  117. %{_datadir}/applications/cinnamon-settings-calendar.desktop
  118. %{_datadir}/applications/cinnamon-settings-default.desktop
  119. %{_datadir}/applications/cinnamon-settings-desklets.desktop
  120. %{_datadir}/applications/cinnamon-settings-desktop.desktop
  121. %{_datadir}/applications/cinnamon-settings-effects.desktop
  122. %{_datadir}/applications/cinnamon-settings-extensions.desktop
  123. %{_datadir}/applications/cinnamon-settings-fonts.desktop
  124. %{_datadir}/applications/cinnamon-settings-general.desktop
  125. %{_datadir}/applications/cinnamon-settings-hotcorner.desktop
  126. %{_datadir}/applications/cinnamon-settings-info.desktop
  127. %{_datadir}/applications/cinnamon-settings-keyboard.desktop
  128. %{_datadir}/applications/cinnamon-settings-mouse.desktop
  129. %{_datadir}/applications/cinnamon-settings-panel.desktop
  130. %{_datadir}/applications/cinnamon-settings-power.desktop
  131. %{_datadir}/applications/cinnamon-settings-screensaver.desktop
  132. %{_datadir}/applications/cinnamon-settings-themes.desktop
  133. %{_datadir}/applications/cinnamon-settings-tiling.desktop
  134. %{_datadir}/applications/cinnamon-settings-user.desktop
  135. %{_datadir}/applications/cinnamon-settings-users.desktop
  136. %{_datadir}/applications/cinnamon-settings-windows.desktop
  137. %{_datadir}/applications/cinnamon-settings-workspaces.desktop
  138. %{_datadir}/applications/cinnamon.desktop
  139. %{_datadir}/applications/cinnamon2d.desktop
  140. %{_datadir}/cinnamon-session/sessions/cinnamon.session
  141. %{_datadir}/cinnamon-session/sessions/cinnamon2d.session
  142. %{_datadir}/%{name}/applets
  143. %{_datadir}/%{name}/bumpmaps
  144. %{_datadir}/%{name}/desklets
  145. %{_datadir}/%{name}/faces
  146. %{_datadir}/%{name}/icons
  147. %{_datadir}/%{name}/js
  148. %{_datadir}/%{name}/search_providers
  149. %{_datadir}/%{name}/shaders
  150. %{_datadir}/%{name}/theme
  151. %{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service
  152. %{_datadir}/desktop-directories
  153. %{_datadir}/glib-2.0/schemas/org.cinnamon.gschema.xml
  154. %{_datadir}/icons/hicolor/*/*/*
  155. %{_datadir}/polkit-1/actions/org.cinnamon.settings-users.policy
  156. %{_datadir}/xsessions/cinnamon.desktop
  157. %{_datadir}/xsessions/cinnamon2d.desktop
  158. %{_mandir}/man1/*.1.gz
  159. %changelog
  160. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1
  161. - new upstream release
  162. - remove Patch0 (cinnamon-1.7.6-gjs-1.0.patch)
  163. - remove Patch1 (cinnamon-1.7.6-clutter_disable_xinput.patch)
  164. - remove Patch2 (cinnamon-1.8.8.1-gjs-1.38.x.patch)
  165. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.8.1-2
  166. - rebuild with cogl-1.16.0
  167. - add Patch2 (cinnamon-1.8.8.1-gjs-1.38.x.patch)
  168. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.8.1-1
  169. - new upstream release
  170. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  171. - new upstream release
  172. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
  173. - new upstream release
  174. - add Patch0 (cinnamon-1.7.6-gjs-1.0.patch)
  175. - add Patch1 (cinnamon-1.7.6-clutter_disable_xinput.patch)
  176. * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.6-1
  177. - new upstream release
  178. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  179. - new upstream release
  180. - add BuildRequires: ca-certificates
  181. - add Requires: python-imaging
  182. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  183. - new upstream release
  184. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  185. - new upstream release
  186. - update Patch101 (cinnamon-vine-settings.patch)
  187. - add BuildRequires: GConf2-devel, libcanberra-gtk3-devel
  188. * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-UP1-1
  189. - initial build for Vine Linux