e16-vl.spec 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: The Enlightenment window manager, DR16.
  2. Summary(ja): Enlightenment ウィンドウマネージャ(DR16)
  3. Name: e16
  4. Version: 1.0.7
  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: esound-devel 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: pango-devel dbus-devel desktop-file-utils
  17. Obsoletes: enlightenment < 0.16.8
  18. Requires: imlib2 >= 1.2.0
  19. Provides: e16-edox
  20. %description
  21. Enlightenment is a window manager for the X Window System that
  22. is designed to be powerful, extensible, configurable and
  23. pretty darned good looking! It is one of the more graphically
  24. intense window managers.
  25. This package will install the Enlightenment window manager.
  26. You have chosen Enlightment window manager in GNOME/KDE,
  27. if would like to revert default window manager, please edit this file.
  28. ~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
  29. %description -l ja
  30. Enlightenment は迫力があり、拡張性に富み、高度に設定可能で
  31. 非常に見栄え良く繕えるよう設計されている X Window System 用の
  32. ウィンドウマネージャです。より視覚的に鮮烈であるウィンドウマネージャの
  33. ひとつです。
  34. このパッケージは Enlightenment ウィンドウマネージャをインストールします。
  35. GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、
  36. 標準のウィンドウマネージャに戻したい場合は、次のファイルを修正してください。
  37. ~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
  38. %prep
  39. %setup -q
  40. %build
  41. %configure --enable-pango \
  42. --enable-mans \
  43. --enable-modules \
  44. --enable-visibility-hiding
  45. %{__make} %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
  49. rm -f $RPM_BUILD_ROOT/usr/lib*/e16/*.la
  50. rm -rf $RPM_BUILD_ROOT/usr/share/doc
  51. mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d
  52. cp $RPM_BUILD_ROOT/usr/share/e16/misc/Xclients.* $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d/
  53. %find_lang %{name}
  54. # Desktop file
  55. %{__rm} -f %{buildroot}%{_datadir}/applications/%{name}.desktop
  56. %{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \
  57. %{buildroot}%{_datadir}/applications/%{name}.desktop
  58. desktop-file-install --dir %{buildroot}%{_datadir}/applications \
  59. %{buildroot}%{_datadir}/applications/%{name}.desktop
  60. %clean
  61. rm -rf $RPM_BUILD_ROOT
  62. %post
  63. if [ "$LANG" = "ja_JP.utf8" ]; then
  64. echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
  65. echo "標準のウィンドウマネージャに戻したい場合は、"
  66. echo "次のファイルを修正してください。"
  67. echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
  68. else
  69. echo "You have chosen Enlightment window manager in GNOME/KDE,"
  70. echo "if would like to revert default window manager,"
  71. echo "please edit this file."
  72. echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
  73. fi
  74. %files
  75. %defattr(-, root, root)
  76. %doc AUTHORS COPYING ChangeLog docs/e16.html
  77. %{_bindir}/*
  78. %{_libdir}/e16/*.so
  79. %{_datadir}/%{name}/*
  80. %{_datadir}/locale/*
  81. %{_datadir}/applications/*
  82. %{_datadir}/xsessions/*
  83. %{_sysconfdir}/X11/xinit/Xclients.d/*
  84. %{_mandir}/*
  85. %changelog
  86. * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1
  87. - initial build for VineSeed