source: projects/specs/trunk/e/e16/e16-vl.spec @ 5403

Revision 5403, 5.0 KB checked in by kudoh, 12 years ago (diff)

e16-vl.spec

Line 
1Summary: The Enlightenment window manager, DR16.
2Summary(ja): Enlightenment ウィンドウマネージャ(DR16)
3Name: e16
4Version: 1.0.10
5Release: 1%{?_dist_release}
6License: BSD
7Group: User Interface/Desktops
8URL: http://www.enlightenment.org/
9Source: http://prdownloads.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz
10
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12
13BuildRequires: imlib2-devel freetype2-devel xorg-x11-xbitmaps
14BuildRequires: alsa-lib-devel audiofile-devel
15BuildRequires: libXrandr-devel libSM-devel xorg-x11-proto-devel
16BuildRequires: libXfixes-devel libXrender-devel libXdamage-devel
17BuildRequires: libXcomposite-devel libXft-devel libXxf86vm-devel
18BuildRequires: libXinerama-devel
19BuildRequires: pango-devel dbus-devel
20BuildRequires: pulseaudio-libs-devel
21BuildRequires: desktop-file-utils
22#BuildRequires: esound-devel
23
24Obsoletes: enlightenment < 0.16.8
25Requires: imlib2 >= 1.2.0
26Provides: e16-edox
27
28%description
29Enlightenment is a window manager for the X Window System that
30is designed to be powerful, extensible, configurable and
31pretty darned good looking! It is one of the more graphically
32intense window managers.
33
34This package will install the Enlightenment window manager.
35You have chosen Enlightment window manager in GNOME/KDE,
36if would like to revert default window manager, please edit this file.
37~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
38
39%description -l ja
40Enlightenment は迫力があり、拡張性に富み、高度に設定可能で
41非常に見栄え良く繕えるよう設計されている X Window System 用の
42ウィンドウマネージャです。より視覚的に鮮烈であるウィンドウマネージャの
43ひとつです。
44
45このパッケージは Enlightenment ウィンドウマネージャをインストールします。
46GNOME/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 \
57           --enable-visibility-hiding \
58           --enable-sound-pulse \
59           --enable-sound-esound=no
60%{__make} %{?_smp_mflags}
61
62%install
63rm -rf $RPM_BUILD_ROOT
64%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
65rm -f $RPM_BUILD_ROOT/usr/lib*/e16/*.la
66rm -rf $RPM_BUILD_ROOT/usr/share/doc
67mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d
68cp $RPM_BUILD_ROOT/usr/share/e16/misc/Xclients.* $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d/
69
70%find_lang %{name}
71
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
80# Desktop file
81#%{__rm} -f %{buildroot}%{_datadir}/applications/%{name}.desktop
82
83#%{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \
84#    %{buildroot}%{_datadir}/applications/%{name}.desktop
85desktop-file-install --dir %{buildroot}%{_datadir}/applications \
86    %{buildroot}%{_datadir}/applications/%{name}.desktop
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post
92if [ "$LANG" = "ja_JP.UTF-8" ]; then
93  echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
94  echo "標準のウィンドウマネージャに戻したい場合は、"
95  echo "次のファイルを修正してください。"
96  echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
97elif [ "$LANG" = "ja_JP.utf8" ]; then
98  echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
99  echo "標準のウィンドウマネージャに戻したい場合は、"
100  echo "次のファイルを修正してください。"
101  echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
102else
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"
107fi
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/*
117%{_datadir}/gnome-session/*
118%{_datadir}/xsessions/*
119%{_sysconfdir}/X11/xinit/Xclients.d/*
120%{_mandir}/*
121
122%changelog
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
131* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
132- new upstream release
133
134* Mon Dec 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
135- add BuildRequires: libXinerama-devel
136
137* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1
138- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.