lxde-common-vl.spec 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. Name: lxde-common
  2. Version: 0.5.5
  3. Release: 2%{?_dist_release}
  4. Summary: The default settings configuration files of LXDE
  5. Summary(ja): LXDE のデフォルト設定ファイル
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://lxde.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
  10. Source1: lxde-desktop-preferences.desktop
  11. Source2: lxde-screenlock.desktop
  12. #Vine specific customize
  13. Patch0: %{name}-0.5.5-lxpanel-config.patch
  14. Patch1: %{name}-0.5.5-pcmanfm-config.patch
  15. Patch2: %{name}-0.5.5-openbox-menu.patch
  16. Patch3: %{name}-lxde-logout.patch
  17. Patch11: 10_ensure-dbus-launch.patch
  18. Patch12: 11_ensure-desktop-folder.patch
  19. Patch13: 13_ensure-menu-prefix.patch
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. BuildArch: noarch
  22. BuildRequires: desktop-file-utils
  23. BuildRequires: pkgconfig glib2-devel libX11-devel
  24. Requires: lxsession >= 0.4.0
  25. Requires: lxpanel pcmanfm openbox xdg-utils xorg-x11-xsm
  26. Requires: lxmenu-data
  27. Requires: lxde-icon-theme
  28. Requires: xscreensaver
  29. # needed because of new gdm
  30. Requires: xorg-x11-utils
  31. Obsoletes: %{name}-data <= 0.4.2
  32. %description
  33. This package manages the system behavior and functions
  34. to integrate icons and artwork of LXDE.
  35. %description -l ja
  36. このパッケージは LXDE - the Lightweight X11 Desktop Environment - の
  37. アイコンやアートワークを調和するためにシステムの動作や機能を管理します。
  38. %prep
  39. %setup -q
  40. %patch0 -p1 -b .orig
  41. %patch1 -p1 -b .orig
  42. %patch2 -p1 -b .orig
  43. %patch3 -p1 -b .orig
  44. %patch11 -p1
  45. %patch12 -p1
  46. %patch13 -p1
  47. %build
  48. %configure
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  52. # only used by obsolete lxsession, not lxsession-lite
  53. #rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/lxsession/LXDE/default
  54. desktop-file-install \
  55. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  56. lxde-logout.desktop
  57. desktop-file-install \
  58. --dir=%{buildroot}%{_datadir}/applications \
  59. %{SOURCE2}
  60. install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/
  61. %clean
  62. rm -rf $RPM_BUILD_ROOT
  63. %files
  64. %defattr(-,root,root,-)
  65. %doc AUTHORS COPYING
  66. %dir %{_sysconfdir}/xdg/lxsession/LXDE/
  67. %config(noreplace) %{_sysconfdir}/xdg/lxsession/LXDE/autostart
  68. %config(noreplace) %{_sysconfdir}/xdg/lxsession/LXDE/desktop.conf
  69. %dir %{_sysconfdir}/xdg/pcmanfm/
  70. %config(noreplace) %{_sysconfdir}/xdg/pcmanfm/LXDE/pcmanfm.conf
  71. %{_bindir}/startlxde
  72. %{_bindir}/lxde-logout
  73. %{_bindir}/openbox-lxde
  74. %{_datadir}/lxde/*
  75. %{_datadir}/lxpanel/profile/LXDE/
  76. %{_mandir}/man1/*.1.gz
  77. %{_datadir}/xsessions/LXDE.desktop
  78. %{_datadir}/applications/lxde-*.desktop
  79. %changelog
  80. * Sun Apr 01 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-2
  81. - fixed Patch2
  82. * Wed Feb 15 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.5-1
  83. - new upstream release
  84. - removed patch1-6
  85. - recreated and renumbered patch 0,1,2,3
  86. - added Patch11,12,13 from Debian sid
  87. - added Source1,2 from Fedora rawhide
  88. - modified a little
  89. - added Requires: xscreensaver
  90. * Mon May 10 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-3
  91. - recreated and renamed Patch0
  92. - dropt Requires: lxde-settings-daemon
  93. * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-2
  94. - applied new naming policy to spec
  95. * Thu Mar 4 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.5.0-1
  96. - new upstream release
  97. - replaced patch4 from Fedora
  98. - dropt Patch5
  99. - added Patch6 from Fedora
  100. - added Requires: lxde-icon-theme
  101. - changed Requires: lxsession >= 0.4.0
  102. - didn't generate lxde-icon-theme in this package
  103. * Wed Aug 5 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-2vl5
  104. - cleaned up spec
  105. - added Patch4 again
  106. - changed BuildArch: noarch
  107. - new splitted lxde-icon-theme, instead of lxde-common
  108. -added Obsoletes: lxde-common-data <= 0.4.2
  109. * Sat Jul 11 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.2-1vl5
  110. - new upstream release
  111. - dropt Patch4
  112. * Sat Jun 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-5vl5
  113. - cleaned up spec
  114. - renumbered Patch
  115. - added Patch5 (to fixed lxde-logout.desktop)
  116. - added BuildRequires: desktop-file-utils
  117. - added Requires: lxmenu-data lxde-settings-daemon
  118. - included lxde-logout.desktop
  119. - dropt %{_sysconfdir}/xdg/lxsession/LXDE/default (not used)
  120. * Sun Jun 7 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-4vl5
  121. - deleted Obsoletes: lxsession-lite < 0.3.8
  122. * Tue May 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-3vl5
  123. - reverted Requires: lxsession
  124. - changed Obsoletes: lxsession-lite < 0.3.8
  125. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-2vl5
  126. - changed Summary, description
  127. - changed Requires: lxsession to lxsession-lite
  128. - added Obsoletes: lxsession <= 0.3.2
  129. - rebuilt with lxsession-lite
  130. * Wed May 6 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1vl5
  131. - Update to 0.4.1
  132. * Mon May 4 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4-1vl5
  133. - Update to 0.4
  134. - updated Patch0,1,11
  135. - spec in UTF-8
  136. * Thu Mar 26 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2.1-2vl5
  137. - added Requires:xorg-x11-xsm
  138. * Mon Mar 23 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.2.1-1vl5
  139. - initial build for VineSeed (import from Fedora package)
  140. * Fri Mar 06 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2.1-4
  141. - Workaround for new gdm
  142. - Add Pulseaudio support
  143. - Add mixer plugin to the panel
  144. - Require xdg-utils
  145. * Fri Oct 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2.1-3
  146. - Require fedora-icon-theme and system-logos
  147. * Thu Oct 09 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2.1-2
  148. - Rebase patches for rpm's new fuzz=0 behaviour
  149. * Thu Jul 10 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.2.1-1
  150. - Update to 0.3.2.1
  151. - Switch from ROXTerm to LXterminal
  152. - Rebased most patches
  153. - Add mixer to the panel
  154. * Mon Apr 14 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0.1-2
  155. - Make a separate package for lxde-icon-theme
  156. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0.1-1
  157. - Update to 0.3.0.1
  158. - Use distros default artwork
  159. * Sat Mar 29 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.0.0-1
  160. - Initial Fedora RPM
  161. - Use roxterm instead of gnome-terminal and xterm
  162. - Patch default panel config