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

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