2 Summary: Enlightened display manager
3 Summary(pl.UTF-8): Oświecony zarządca ekranu
8 Group: X11/Applications
9 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
10 # Source0-md5: b789d09fa76e76a6466a786f0628d0ff
12 Source2: %{name}.Xsession
13 Source3: %{name}.gen-conf
14 Patch0: %{name}-conf.in.patch
15 Patch1: %{name}-use_bash.patch
16 URL: http://enlightenment.org/
17 BuildRequires: autoconf
18 BuildRequires: automake
20 BuildRequires: esmart-devel
21 BuildRequires: evas-loader-jpeg
22 BuildRequires: libtool
23 BuildRequires: pam-devel
24 BuildRequires: sed >= 4.0
25 Requires: %{name}-theme
27 Requires(post,preun): /sbin/chkconfig
29 Requires: evas-engine-software_x11
30 Requires: evas-loader-eet
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Entrance is the Enlightenment Display Manager. And like Enlightenment,
43 it takes beauty and customization to levels that KDM and GDM can only
44 dream about... and without the bloat.
46 %description -l pl.UTF-8
47 Entrance to zarządca ekranu (Display Manager) dla Enlightenmenta.
48 Podobnie jak Enlightenment ma piękno i możliwości konfiguracji, o
49 jakich KDM czy GDM mogą tylko pomarzyć... i to bez narzutu.
51 %package theme-default
52 Summary: Default Entrance theme
53 Summary(pl.UTF-8): Domyślny motyw Entrance
54 Group: X11/Applications
55 Requires: %{name} = %{version}-%{release}
56 Provides: %{name}-theme
58 %description theme-default
59 Default Entrance theme.
61 %description theme-default -l pl.UTF-8
62 Domyślny motyw Entrance.
64 %package theme-Nebulous
65 Summary: Nebulous Entrance theme
66 Summary(pl.UTF-8): Motyw Entrance Nebulous
67 Group: X11/Applications
68 Requires: %{name} = %{version}-%{release}
69 Provides: %{name}-theme
71 %description theme-Nebulous
72 Nebulous Entrance theme.
74 %description theme-Nebulous -l pl.UTF-8
75 Motyw Entrance Nebulous.
77 %package theme-darkrock
78 Summary: Darkrock Entrance theme
79 Summary(pl.UTF-8): Motyw Entrance Darkrock
80 Group: X11/Applications
81 Requires: %{name} = %{version}-%{release}
82 Provides: %{name}-theme
84 %description theme-darkrock
85 Darkrock Entrance theme.
87 %description theme-darkrock -l pl.UTF-8
88 Motyw Entrance Darkrock.
90 %package theme-taillights
91 Summary: Taillights Entrance theme
92 Summary(pl.UTF-8): Motyw Entrance Taillights
93 Group: X11/Applications
94 Requires: %{name} = %{version}-%{release}
95 Provides: %{name}-theme
97 %description theme-taillights
98 Taillights Entrance theme.
100 %description theme-taillights -l pl.UTF-8
101 Motyw Entrance Taillights.
108 mv data/images/sessions/enlightenment{,DR17}.png
109 sed 's/enlightenment.png/enlightenmentDR17.png/' \
110 -i data/images/sessions/Makefile.am
112 sed '/PACKAGE_CFG_DIR/s@"${sysconfdir}"@"${localstatedir}/lib/${PACKAGE}"@' \
114 sed -n '/xsession="You should reconfigure --with-xsession"/!p' \
124 --with-xsession=%{_sysconfdir}/X11/%{name}/Xsession
128 rm -rf $RPM_BUILD_ROOT
131 DESTDIR=$RPM_BUILD_ROOT
133 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/X11/%{name},/etc/rc.d/init.d,%{_var}/lib/%{name}}
134 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/entrance
135 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/Xsession
137 $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/generate-config
138 install data/config/build_config.sh.in \
139 $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/
140 touch $RPM_BUILD_ROOT%{_var}/lib/%{name}/entrance_config.cfg
143 rm -rf $RPM_BUILD_ROOT
146 /sbin/chkconfig --add entrance
147 if [ -f /var/lock/subsys/entrance ]; then
148 echo "Run \"/etc/rc.d/init.d/entrance restart\" to restart entrance." >&2
150 echo "Run \"/etc/rc.d/init.d/entrance start\" to start entrance." >&2
154 if [ "$1" = "0" ]; then
155 if [ -f /var/lock/subsys/entrance ]; then
156 /etc/rc.d/init.d/entrance stop >&2
158 /sbin/chkconfig --del entrance
162 %defattr(644,root,root,755)
163 %doc AUTHORS COPYING* README
164 %attr(754,root,root) /etc/rc.d/init.d/entrance
165 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/entrance
166 %attr(755,root,root) %{_bindir}/entrance*
167 %attr(755,root,root) %{_sbindir}/entranced
168 %dir %{_datadir}/%{name}
169 %{_datadir}/%{name}/images
170 %dir %{_datadir}/%{name}/themes
171 %{_datadir}/%{name}/users
172 %dir %{_sysconfdir}/X11/%{name}
173 %attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/Xsession
174 %attr(755,root,root) %{_sysconfdir}/X11/%{name}/generate-config
175 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/build_config.sh.in
176 %dir %{_var}/lib/%{name}
177 %ghost %{_var}/lib/%{name}/entrance_config.cfg
180 %defattr(644,root,root,755)
181 %{_datadir}/%{name}/themes/default.edj
183 %files theme-Nebulous
184 %defattr(644,root,root,755)
185 %{_datadir}/%{name}/themes/Nebulous.edj
187 %files theme-darkrock
188 %defattr(644,root,root,755)
189 %{_datadir}/%{name}/themes/darkrock.edj
191 %files theme-taillights
192 %defattr(644,root,root,755)
193 %{_datadir}/%{name}/themes/taillights.edj