e16-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. Summary: The Enlightenment window manager, DR16.
  2. Summary(ja): Enlightenment ウィンドウマネージャ(DR16)
  3. Name: e16
  4. Version: 1.0.17
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: User Interface/Desktops
  8. URL: http://www.enlightenment.org/
  9. Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: imlib2-devel freetype2-devel xorg-x11-xbitmaps
  12. BuildRequires: alsa-lib-devel audiofile-devel
  13. BuildRequires: libXrandr-devel libSM-devel xorg-x11-proto-devel
  14. BuildRequires: libXfixes-devel libXrender-devel libXdamage-devel
  15. BuildRequires: libXcomposite-devel libXft-devel libXxf86vm-devel
  16. BuildRequires: libXinerama-devel
  17. BuildRequires: pango-devel dbus-devel
  18. BuildRequires: pulseaudio-libs-devel
  19. BuildRequires: desktop-file-utils
  20. #BuildRequires: esound-devel
  21. Obsoletes: enlightenment < 0.16.8
  22. Requires: imlib2 >= 1.2.0
  23. Provides: e16-edox
  24. %description
  25. Enlightenment is a window manager for the X Window System that
  26. is designed to be powerful, extensible, configurable and
  27. pretty darned good looking! It is one of the more graphically
  28. intense window managers.
  29. This package will install the Enlightenment window manager.
  30. You have chosen Enlightment window manager in GNOME/KDE,
  31. if would like to revert default window manager, please edit this file.
  32. ~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
  33. %description -l ja
  34. Enlightenment は迫力があり、拡張性に富み、高度に設定可能で
  35. 非常に見栄え良く繕えるよう設計されている X Window System 用の
  36. ウィンドウマネージャです。より視覚的に鮮烈であるウィンドウマネージャの
  37. ひとつです。
  38. このパッケージは Enlightenment ウィンドウマネージャをインストールします。
  39. GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、
  40. 標準のウィンドウマネージャに戻したい場合は、次のファイルを修正してください。
  41. ~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
  42. %prep
  43. %setup -q
  44. %build
  45. %configure --enable-pango \
  46. --enable-mans \
  47. --enable-modules \
  48. --enable-visibility-hiding \
  49. --enable-sound-pulse \
  50. --enable-sound-esound=no \
  51. --disable-rpath
  52. %{__make} %{?_smp_mflags}
  53. %install
  54. rm -rf $RPM_BUILD_ROOT
  55. %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
  56. rm -f $RPM_BUILD_ROOT/usr/lib*/e16/*.la
  57. rm -rf $RPM_BUILD_ROOT/usr/share/doc
  58. mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d
  59. cp $RPM_BUILD_ROOT/usr/share/e16/misc/Xclients.* $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d/
  60. %find_lang %{name}
  61. %if %{?_dist_release} == "vl6"
  62. # remove gnome3 desktop file
  63. %{__rm} -f %{buildroot}%{_datadir}/xsessions/e16-gnome3-session.desktop
  64. %else
  65. # remove gnome2 desktop file
  66. %{__rm} -f %{buildroot}%{_datadir}/xsessions/e16-gnome2-session.desktop
  67. %endif
  68. # Desktop file
  69. #%{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \
  70. # %{buildroot}%{_datadir}/applications/%{name}.desktop
  71. desktop-file-install --dir %{buildroot}%{_datadir}/applications \
  72. %{buildroot}%{_datadir}/applications/%{name}.desktop
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. %post
  76. if [ "$LANG" = "ja_JP.UTF-8" ]; then
  77. echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
  78. echo "標準のウィンドウマネージャに戻したい場合は、"
  79. echo "次のファイルを修正してください。"
  80. echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
  81. elif [ "$LANG" = "ja_JP.utf8" ]; then
  82. echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
  83. echo "標準のウィンドウマネージャに戻したい場合は、"
  84. echo "次のファイルを修正してください。"
  85. echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
  86. else
  87. echo "You have chosen Enlightment window manager in GNOME/KDE,"
  88. echo "if would like to revert default window manager,"
  89. echo "please edit this file."
  90. echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
  91. fi
  92. %files
  93. %defattr(-, root, root)
  94. %doc AUTHORS COPYING ChangeLog docs/e16.html
  95. %{_bindir}/*
  96. %{_libdir}/e16/*.so
  97. %{_datadir}/%{name}/*
  98. %{_datadir}/locale/*
  99. %{_datadir}/applications/*
  100. %{_datadir}/gnome-session/*
  101. %{_datadir}/xsessions/*
  102. %{_sysconfdir}/X11/xinit/Xclients.d/*
  103. %{_mandir}/*
  104. %changelog
  105. * Wed Nov 18 2015 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.17-1
  106. - new upstream release
  107. * Sat Jan 18 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.13.003-1
  108. - new upstream release
  109. * Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.13-1
  110. - new upstream release
  111. * Sat Mar 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.12-1
  112. - new upstream release
  113. * Thu Oct 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.11-1
  114. - new upstream release
  115. * Fri Sep 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.002-1
  116. - new upstream snapshot
  117. * Tue Jul 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.001-1
  118. - new upstream snapshot
  119. - added %%configure option --disable-rpath
  120. * Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10-1
  121. - new upstream release
  122. - dropt BuildRequires: esound-devel
  123. - added BuildRequires: pulseaudio-libs-devel
  124. - added configure option --enable-sound-pulse and --enable-sound-esound=no
  125. - set contitional branch for GNOME session
  126. - deleted GNOME3 session (for Vine 6), GNOME2 session (for VineSeed)
  127. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
  128. - new upstream release
  129. * Mon Dec 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
  130. - add BuildRequires: libXinerama-devel
  131. * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1
  132. - initial build for VineSeed