e16-vl.spec 3.9 KB

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