cinnamon-vl.spec 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. Name: cinnamon
  2. Summary: A Linux Desktop featuring a traditional layout and modern technology
  3. Version: 2.4.5
  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-2.4.5-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: eudev-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-preview-gtk-theme
  94. %{_bindir}/cinnamon-screensaver-lock-dialog
  95. %{_bindir}/cinnamon-settings
  96. %{_bindir}/cinnamon-session-cinnamon
  97. %{_bindir}/cinnamon-session-cinnamon2d
  98. %{_bindir}/cinnamon-settings-users
  99. %{_bindir}/cinnamon-slideshow
  100. %{_bindir}/cinnamon2d
  101. %{_prefix}/lib/cinnamon-desktop-editor
  102. %{_prefix}/lib/cinnamon-json-makepot
  103. %{_prefix}/lib/cinnamon-looking-glass
  104. %{_prefix}/lib/cinnamon-menu-editor
  105. %{_prefix}/lib/cinnamon-screensaver-lock-dialog
  106. %{_prefix}/lib/cinnamon-settings
  107. %{_prefix}/lib/cinnamon-settings-users
  108. %{_prefix}/lib/cinnamon-slideshow/cinnamon-slideshow.py
  109. %{_libdir}/%{name}/Cinnamon-0.1.typelib
  110. %{_libdir}/%{name}/CinnamonJS-0.1.typelib
  111. %{_libdir}/%{name}/Gvc-1.0.typelib
  112. %{_libdir}/%{name}/St-1.0.typelib
  113. %{_libdir}/%{name}/libcinnamon.so
  114. %{_libdir}/%{name}/libcinnamon-js.so
  115. %{_libexecdir}/%{name}/cinnamon-hotplug-sniffer
  116. %{_libexecdir}/%{name}/cinnamon-perf-helper
  117. %{_datadir}/applications/cinnamon-menu-editor.desktop
  118. %{_datadir}/applications/cinnamon-settings.desktop
  119. %{_datadir}/applications/cinnamon-settings-applets.desktop
  120. %{_datadir}/applications/cinnamon-settings-backgrounds.desktop
  121. %{_datadir}/applications/cinnamon-settings-calendar.desktop
  122. %{_datadir}/applications/cinnamon-settings-default.desktop
  123. %{_datadir}/applications/cinnamon-settings-desklets.desktop
  124. %{_datadir}/applications/cinnamon-settings-desktop.desktop
  125. %{_datadir}/applications/cinnamon-settings-effects.desktop
  126. %{_datadir}/applications/cinnamon-settings-extensions.desktop
  127. %{_datadir}/applications/cinnamon-settings-fonts.desktop
  128. %{_datadir}/applications/cinnamon-settings-general.desktop
  129. %{_datadir}/applications/cinnamon-settings-hotcorner.desktop
  130. %{_datadir}/applications/cinnamon-settings-info.desktop
  131. %{_datadir}/applications/cinnamon-settings-keyboard.desktop
  132. %{_datadir}/applications/cinnamon-settings-mouse.desktop
  133. %{_datadir}/applications/cinnamon-settings-notifications.desktop
  134. %{_datadir}/applications/cinnamon-settings-panel.desktop
  135. %{_datadir}/applications/cinnamon-settings-power.desktop
  136. %{_datadir}/applications/cinnamon-settings-privacy.desktop
  137. %{_datadir}/applications/cinnamon-settings-screensaver.desktop
  138. %{_datadir}/applications/cinnamon-settings-themes.desktop
  139. %{_datadir}/applications/cinnamon-settings-tiling.desktop
  140. %{_datadir}/applications/cinnamon-settings-user.desktop
  141. %{_datadir}/applications/cinnamon-settings-users.desktop
  142. %{_datadir}/applications/cinnamon-settings-windows.desktop
  143. %{_datadir}/applications/cinnamon-settings-workspaces.desktop
  144. %{_datadir}/applications/cinnamon.desktop
  145. %{_datadir}/applications/cinnamon2d.desktop
  146. %{_datadir}/cinnamon-session/sessions/cinnamon.session
  147. %{_datadir}/cinnamon-session/sessions/cinnamon2d.session
  148. %{_datadir}/%{name}/applets
  149. %{_datadir}/%{name}/bumpmaps
  150. %{_datadir}/%{name}/desklets
  151. %{_datadir}/%{name}/faces
  152. %{_datadir}/%{name}/icons
  153. %{_datadir}/%{name}/js
  154. %{_datadir}/%{name}/search_providers
  155. %{_datadir}/%{name}/theme
  156. %{_datadir}/%{name}/thumbnails
  157. %{_datadir}/dbus-1/services/org.Cinnamon.HotplugSniffer.service
  158. %{_datadir}/dbus-1/services/org.Cinnamon.Melange.service
  159. %{_datadir}/dbus-1/services/org.Cinnamon.Slideshow.service
  160. %{_datadir}/desktop-directories
  161. %{_datadir}/glib-2.0/schemas/org.cinnamon.gschema.xml
  162. %{_datadir}/icons/hicolor/*/*/*
  163. %{_datadir}/polkit-1/actions/org.cinnamon.settings-users.policy
  164. %{_datadir}/xsessions/cinnamon.desktop
  165. %{_datadir}/xsessions/cinnamon2d.desktop
  166. %{_mandir}/man1/*.1.gz
  167. %changelog
  168. * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.5-1
  169. - new upstream release
  170. - update Patch101 (cinnamon-2.4.5-vine-settings.patch)
  171. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.16-1
  172. - new upstream release
  173. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.14-1
  174. - new upstream release
  175. - change BuildRequires: eudev-libgudev1-devel instead of libgudev1-devel
  176. - update Patch101 (cinnamon-vine-settings.patch)
  177. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.3-1
  178. - new upstream release
  179. - remove Patch0 (cinnamon-1.7.6-gjs-1.0.patch)
  180. - remove Patch1 (cinnamon-1.7.6-clutter_disable_xinput.patch)
  181. - remove Patch2 (cinnamon-1.8.8.1-gjs-1.38.x.patch)
  182. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.8.1-2
  183. - rebuild with cogl-1.16.0
  184. - add Patch2 (cinnamon-1.8.8.1-gjs-1.38.x.patch)
  185. * Sun Sep 22 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.8.1-1
  186. - new upstream release
  187. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.2-1
  188. - new upstream release
  189. * Sun Apr 28 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.7.6-1
  190. - new upstream release
  191. - add Patch0 (cinnamon-1.7.6-gjs-1.0.patch)
  192. - add Patch1 (cinnamon-1.7.6-clutter_disable_xinput.patch)
  193. * Sun Nov 11 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.6-1
  194. - new upstream release
  195. * Fri Oct 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.4-1
  196. - new upstream release
  197. - add BuildRequires: ca-certificates
  198. - add Requires: python-imaging
  199. * Wed Oct 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.3-1
  200. - new upstream release
  201. * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.1-1
  202. - new upstream release
  203. - update Patch101 (cinnamon-vine-settings.patch)
  204. - add BuildRequires: GConf2-devel, libcanberra-gtk3-devel
  205. * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4-UP1-1
  206. - initial build for Vine Linux