cinnamon-vl.spec 8.7 KB

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