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