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

Revision 6637, 5.1 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.10.001
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#%{__rm} -f %{buildroot}%{_datadir}/applications/%{name}.desktop
83
84#%{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \
85#    %{buildroot}%{_datadir}/applications/%{name}.desktop
86desktop-file-install --dir %{buildroot}%{_datadir}/applications \
87    %{buildroot}%{_datadir}/applications/%{name}.desktop
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%post
93if [ "$LANG" = "ja_JP.UTF-8" ]; then
94  echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
95  echo "標準のウィンドウマネージャに戻したい場合は、"
96  echo "次のファイルを修正してください。"
97  echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
98elif [ "$LANG" = "ja_JP.utf8" ]; then
99  echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
100  echo "標準のウィンドウマネージャに戻したい場合は、"
101  echo "次のファイルを修正してください。"
102  echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
103else
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"
108fi
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/*
118%{_datadir}/gnome-session/*
119%{_datadir}/xsessions/*
120%{_sysconfdir}/X11/xinit/Xclients.d/*
121%{_mandir}/*
122
123%changelog
124* Tue Jul 24 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10.001-1
125- new upstream snapshot
126- added %%configure option --disable-rpath
127
128* Sat Jan 14 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.10-1
129- new upstream release
130- dropt BuildRequires: esound-devel
131- added BuildRequires: pulseaudio-libs-devel
132- added configure option --enable-sound-pulse and --enable-sound-esound=no
133- set contitional branch for GNOME session
134  - deleted GNOME3 session (for Vine 6), GNOME2 session (for VineSeed)
135
136* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
137- new upstream release
138
139* Mon Dec 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
140- add BuildRequires: libXinerama-devel
141
142* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1
143- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.