[2333] | 1 | Summary: The Enlightenment window manager, DR16. |
---|
| 2 | Summary(ja): Enlightenment ウィンドウマネージャ(DR16) |
---|
| 3 | Name: e16 |
---|
[6812] | 4 | Version: 1.0.10.002 |
---|
[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 \ |
---|
[6637] | 59 | --enable-sound-esound=no \ |
---|
| 60 | --disable-rpath |
---|
[2333] | 61 | %{__make} %{?_smp_mflags} |
---|
| 62 | |
---|
| 63 | %install |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install} |
---|
| 66 | rm -f $RPM_BUILD_ROOT/usr/lib*/e16/*.la |
---|
| 67 | rm -rf $RPM_BUILD_ROOT/usr/share/doc |
---|
| 68 | mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d |
---|
| 69 | cp $RPM_BUILD_ROOT/usr/share/e16/misc/Xclients.* $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d/ |
---|
| 70 | |
---|
| 71 | %find_lang %{name} |
---|
| 72 | |
---|
[5403] | 73 | %if %{?_dist_release} == "vl6" |
---|
| 74 | # remove gnome3 desktop file |
---|
| 75 | %{__rm} -f %{buildroot}%{_datadir}/xsessions/e16-gnome3-session.desktop |
---|
| 76 | %else |
---|
| 77 | # remove gnome2 desktop file |
---|
| 78 | %{__rm} -f %{buildroot}%{_datadir}/xsessions/e16-gnome2-session.desktop |
---|
| 79 | %endif |
---|
| 80 | |
---|
[2333] | 81 | # Desktop file |
---|
[5403] | 82 | #%{__rm} -f %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
| 83 | |
---|
| 84 | #%{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \ |
---|
| 85 | # %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
[2333] | 86 | desktop-file-install --dir %{buildroot}%{_datadir}/applications \ |
---|
| 87 | %{buildroot}%{_datadir}/applications/%{name}.desktop |
---|
| 88 | |
---|
| 89 | %clean |
---|
| 90 | rm -rf $RPM_BUILD_ROOT |
---|
| 91 | |
---|
| 92 | %post |
---|
[5403] | 93 | if [ "$LANG" = "ja_JP.UTF-8" ]; then |
---|
[2333] | 94 | echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、" |
---|
| 95 | echo "標準のウィンドウマネージャに戻したい場合は、" |
---|
| 96 | echo "次のファイルを修正してください。" |
---|
| 97 | echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml" |
---|
[5403] | 98 | elif [ "$LANG" = "ja_JP.utf8" ]; then |
---|
| 99 | echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、" |
---|
| 100 | echo "標準のウィンドウマネージャに戻したい場合は、" |
---|
| 101 | echo "次のファイルを修正してください。" |
---|
| 102 | echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml" |
---|
[2333] | 103 | else |
---|
| 104 | echo "You have chosen Enlightment window manager in GNOME/KDE," |
---|
| 105 | echo "if would like to revert default window manager," |
---|
| 106 | echo "please edit this file." |
---|
| 107 | echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml" |
---|
| 108 | fi |
---|
| 109 | |
---|
| 110 | %files |
---|
| 111 | %defattr(-, root, root) |
---|
| 112 | %doc AUTHORS COPYING ChangeLog docs/e16.html |
---|
| 113 | %{_bindir}/* |
---|
| 114 | %{_libdir}/e16/*.so |
---|
| 115 | %{_datadir}/%{name}/* |
---|
| 116 | %{_datadir}/locale/* |
---|
| 117 | %{_datadir}/applications/* |
---|
[5403] | 118 | %{_datadir}/gnome-session/* |
---|
[2333] | 119 | %{_datadir}/xsessions/* |
---|
| 120 | %{_sysconfdir}/X11/xinit/Xclients.d/* |
---|
| 121 | %{_mandir}/* |
---|
| 122 | |
---|
| 123 | %changelog |
---|
[6812] | 124 | * Fri Sep 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.002-1 |
---|
| 125 | - new upstream snapshot |
---|
| 126 | |
---|
[6637] | 127 | * Tue Jul 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.001-1 |
---|
| 128 | - new upstream snapshot |
---|
| 129 | - added %%configure option --disable-rpath |
---|
| 130 | |
---|
[5403] | 131 | * Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10-1 |
---|
| 132 | - new upstream release |
---|
| 133 | - dropt BuildRequires: esound-devel |
---|
| 134 | - added BuildRequires: pulseaudio-libs-devel |
---|
| 135 | - added configure option --enable-sound-pulse and --enable-sound-esound=no |
---|
| 136 | - set contitional branch for GNOME session |
---|
| 137 | - deleted GNOME3 session (for Vine 6), GNOME2 session (for VineSeed) |
---|
| 138 | |
---|
[3788] | 139 | * Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[2341] | 142 | * Mon Dec 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2 |
---|
| 143 | - add BuildRequires: libXinerama-devel |
---|
| 144 | |
---|
[2333] | 145 | * Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1 |
---|
| 146 | - initial build for VineSeed |
---|