source: projects/specs/branches/6/e/e16/e16-vl.spec @ 3788

Revision 3788, 3.9 KB checked in by kudoh, 13 years ago (diff)
Line 
1Summary: The Enlightenment window manager, DR16.
2Summary(ja): Enlightenment ウィンドウマネージャ(DR16)
3Name: e16
4Version: 1.0.8
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: esound-devel 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 desktop-file-utils
20
21Obsoletes: enlightenment < 0.16.8
22Requires: imlib2 >= 1.2.0
23Provides: e16-edox
24
25%description
26Enlightenment is a window manager for the X Window System that
27is designed to be powerful, extensible, configurable and
28pretty darned good looking! It is one of the more graphically
29intense window managers.
30
31This package will install the Enlightenment window manager.
32You have chosen Enlightment window manager in GNOME/KDE,
33if would like to revert default window manager, please edit this file.
34~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
35
36%description -l ja
37Enlightenment は迫力があり、拡張性に富み、高度に設定可能で
38非常に見栄え良く繕えるよう設計されている X Window System 用の
39ウィンドウマネージャです。より視覚的に鮮烈であるウィンドウマネージャの
40ひとつです。
41
42このパッケージは Enlightenment ウィンドウマネージャをインストールします。
43GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、
44標準のウィンドウマネージャに戻したい場合は、次のファイルを修正してください。
45~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml
46
47%prep
48%setup -q
49
50%build
51%configure --enable-pango   \
52           --enable-mans    \
53           --enable-modules \
54           --enable-visibility-hiding
55%{__make} %{?_smp_mflags}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
60rm -f $RPM_BUILD_ROOT/usr/lib*/e16/*.la
61rm -rf $RPM_BUILD_ROOT/usr/share/doc
62mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d
63cp $RPM_BUILD_ROOT/usr/share/e16/misc/Xclients.* $RPM_BUILD_ROOT/etc/X11/xinit/Xclients.d/
64
65%find_lang %{name}
66
67# Desktop file
68%{__rm} -f %{buildroot}%{_datadir}/applications/%{name}.desktop
69%{__cp} %{buildroot}%{_datadir}/e16/misc/e16.desktop-app \
70    %{buildroot}%{_datadir}/applications/%{name}.desktop
71desktop-file-install --dir %{buildroot}%{_datadir}/applications \
72    %{buildroot}%{_datadir}/applications/%{name}.desktop
73
74%clean
75rm -rf $RPM_BUILD_ROOT
76
77%post
78if [ "$LANG" = "ja_JP.utf8" ]; then
79  echo "GNOME/KDE のウィンドウマネージャに Enlightment を選択した後、"
80  echo "標準のウィンドウマネージャに戻したい場合は、"
81  echo "次のファイルを修正してください。"
82  echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
83else
84  echo "You have chosen Enlightment window manager in GNOME/KDE,"
85  echo "if would like to revert default window manager,"
86  echo "please edit this file."
87  echo "~/.gconf/desktop/gnome/sessionrequired-components/%gconf.xml"
88fi
89
90%files
91%defattr(-, root, root)
92%doc AUTHORS COPYING ChangeLog docs/e16.html
93%{_bindir}/*
94%{_libdir}/e16/*.so
95%{_datadir}/%{name}/*
96%{_datadir}/locale/*
97%{_datadir}/applications/*
98%{_datadir}/xsessions/*
99%{_sysconfdir}/X11/xinit/Xclients.d/*
100%{_mandir}/*
101
102%changelog
103* Wed May 4 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.8-1
104- new upstream release
105
106* Mon Dec 13 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.7-2
107- add BuildRequires: libXinerama-devel
108
109* Sun Dec 12 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.0.7-1
110- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.