e16-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. Summary: The Enlightenment window manager, DR16.
  2. Summary(ja): Enlightenment ウィンドウマネージャ(DR16)
  3. Name: e16
  4. Version: 1.0.12
  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. * Sat Mar 30 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.12-1
  106. - new upstream release
  107. * Thu Oct 04 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.11-1
  108. - new upstream release
  109. * Fri Sep 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.002-1
  110. - new upstream snapshot
  111. * Tue Jul 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.001-1
  112. - new upstream snapshot
  113. - added %%configure option --disable-rpath
  114. * Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10-1
  115. - new upstream release
  116. - dropt BuildRequires: esound-devel
  117. - added BuildRequires: pulseaudio-libs-devel
  118. - added configure option --enable-sound-pulse and --enable-sound-esound=no
  119. - set contitional branch for GNOME session
  120. - deleted GNOME3 session (for Vine 6), GNOME2 session (for VineSeed)
  121. * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
  122. - new upstream release
  123. * Mon Dec 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
  124. - add BuildRequires: libXinerama-devel
  125. * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1
  126. - initial build for VineSeed