]>
Commit | Line | Data |
---|---|---|
2f4017ab | 1 | # |
548fd3ff | 2 | Summary: Enlightened display manager |
7b8a17ad | 3 | Summary(pl.UTF-8): Oświecony zarządca ekranu |
548fd3ff | 4 | Name: entrance |
1115b509 | 5 | Version: 0.9.0.007 |
6b8083ff | 6 | Release: 2 |
548fd3ff | 7 | License: BSD |
8 | Group: X11/Applications | |
a19ce34e | 9 | Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz |
1115b509 | 10 | # Source0-md5: b789d09fa76e76a6466a786f0628d0ff |
ed400c71 | 11 | Source1: %{name}.init |
12 | Source2: %{name}.Xsession | |
13 | Source3: %{name}.gen-conf | |
14 | Patch0: %{name}-conf.in.patch | |
9bed42e4 | 15 | Patch1: %{name}-use_bash.patch |
548fd3ff | 16 | URL: http://enlightenment.org/ |
c25b571f | 17 | BuildRequires: autoconf |
18 | BuildRequires: automake | |
66da4f18 | 19 | BuildRequires: edje |
548fd3ff | 20 | BuildRequires: esmart-devel |
6b8083ff | 21 | BuildRequires: evas-loader-jpeg |
c25b571f | 22 | BuildRequires: libtool |
548fd3ff | 23 | BuildRequires: pam-devel |
ed400c71 | 24 | BuildRequires: sed >= 4.0 |
c3de10a2 | 25 | Requires: %{name}-theme |
a25581bd | 26 | Requires: /bin/bash |
ed400c71 | 27 | Requires(post,preun): /sbin/chkconfig |
66da4f18 | 28 | Requires: ecore |
c3de10a2 | 29 | Requires: evas-engine-software_x11 |
30 | Requires: evas-loader-eet | |
ed400c71 | 31 | Requires: pam |
32 | Requires: sessreg | |
33 | Requires: xinitrc-ng | |
34 | Obsoletes: X11-xdm | |
35 | Obsoletes: kdm | |
36 | Obsoletes: gdm | |
37 | Obsoletes: wdm | |
38 | Obsoletes: xdm | |
548fd3ff | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | Entrance is the Enlightenment Display Manager. And like Enlightenment, | |
43 | it takes beauty and customization to levels that KDM and GDM can only | |
b035a1d1 JB |
44 | dream about... and without the bloat. |
45 | ||
504bc588 JR |
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. | |
548fd3ff | 50 | |
d620690d | 51 | %package theme-default |
52 | Summary: Default Entrance theme | |
7b8a17ad | 53 | Summary(pl.UTF-8): Domyślny motyw Entrance |
d620690d | 54 | Group: X11/Applications |
c89c9823 | 55 | Requires: %{name} = %{version}-%{release} |
d620690d | 56 | Provides: %{name}-theme |
57 | ||
58 | %description theme-default | |
59 | Default Entrance theme. | |
60 | ||
504bc588 JR |
61 | %description theme-default -l pl.UTF-8 |
62 | Domyślny motyw Entrance. | |
c89c9823 | 63 | |
d620690d | 64 | %package theme-Nebulous |
65 | Summary: Nebulous Entrance theme | |
7b8a17ad | 66 | Summary(pl.UTF-8): Motyw Entrance Nebulous |
d620690d | 67 | Group: X11/Applications |
c89c9823 | 68 | Requires: %{name} = %{version}-%{release} |
d620690d | 69 | Provides: %{name}-theme |
70 | ||
71 | %description theme-Nebulous | |
72 | Nebulous Entrance theme. | |
73 | ||
504bc588 | 74 | %description theme-Nebulous -l pl.UTF-8 |
c89c9823 JB |
75 | Motyw Entrance Nebulous. |
76 | ||
d620690d | 77 | %package theme-darkrock |
78 | Summary: Darkrock Entrance theme | |
7b8a17ad | 79 | Summary(pl.UTF-8): Motyw Entrance Darkrock |
d620690d | 80 | Group: X11/Applications |
c89c9823 | 81 | Requires: %{name} = %{version}-%{release} |
d620690d | 82 | Provides: %{name}-theme |
83 | ||
84 | %description theme-darkrock | |
85 | Darkrock Entrance theme. | |
86 | ||
504bc588 | 87 | %description theme-darkrock -l pl.UTF-8 |
c89c9823 JB |
88 | Motyw Entrance Darkrock. |
89 | ||
d620690d | 90 | %package theme-taillights |
91 | Summary: Taillights Entrance theme | |
7b8a17ad | 92 | Summary(pl.UTF-8): Motyw Entrance Taillights |
d620690d | 93 | Group: X11/Applications |
c89c9823 | 94 | Requires: %{name} = %{version}-%{release} |
d620690d | 95 | Provides: %{name}-theme |
96 | ||
97 | %description theme-taillights | |
98 | Taillights Entrance theme. | |
99 | ||
504bc588 | 100 | %description theme-taillights -l pl.UTF-8 |
c89c9823 JB |
101 | Motyw Entrance Taillights. |
102 | ||
548fd3ff | 103 | %prep |
a19ce34e | 104 | %setup -q |
105 | # -n %{name} | |
ed400c71 | 106 | %patch0 -p1 |
9bed42e4 | 107 | %patch1 -p1 |
c25b571f | 108 | mv data/images/sessions/enlightenment{,DR17}.png |
d620690d | 109 | sed 's/enlightenment.png/enlightenmentDR17.png/' \ |
110 | -i data/images/sessions/Makefile.am | |
ed400c71 | 111 | |
112 | sed '/PACKAGE_CFG_DIR/s@"${sysconfdir}"@"${localstatedir}/lib/${PACKAGE}"@' \ | |
113 | -i configure.in | |
114 | sed -n '/xsession="You should reconfigure --with-xsession"/!p' \ | |
115 | -i configure.in | |
548fd3ff | 116 | |
117 | %build | |
c25b571f | 118 | %{__libtoolize} |
119 | %{__aclocal} -I m4 | |
120 | %{__autoconf} | |
121 | %{__autoheader} | |
122 | %{__automake} | |
548fd3ff | 123 | %configure \ |
ed400c71 | 124 | --with-xsession=%{_sysconfdir}/X11/%{name}/Xsession |
548fd3ff | 125 | %{__make} |
126 | ||
127 | %install | |
128 | rm -rf $RPM_BUILD_ROOT | |
b035a1d1 | 129 | |
548fd3ff | 130 | %{__make} install \ |
131 | DESTDIR=$RPM_BUILD_ROOT | |
132 | ||
ed400c71 | 133 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/X11/%{name},/etc/rc.d/init.d,%{_var}/lib/%{name}} |
1177e299 | 134 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/entrance |
135 | install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/Xsession | |
136 | install %{SOURCE3} \ | |
ed400c71 | 137 | $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/generate-config |
138 | install data/config/build_config.sh.in \ | |
139 | $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/ | |
d620690d | 140 | touch $RPM_BUILD_ROOT%{_var}/lib/%{name}/entrance_config.cfg |
ed400c71 | 141 | |
548fd3ff | 142 | %clean |
143 | rm -rf $RPM_BUILD_ROOT | |
144 | ||
ed400c71 | 145 | %post |
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 | |
149 | else | |
150 | echo "Run \"/etc/rc.d/init.d/entrance start\" to start entrance." >&2 | |
151 | fi | |
152 | ||
153 | %preun | |
154 | if [ "$1" = "0" ]; then | |
155 | if [ -f /var/lock/subsys/entrance ]; then | |
156 | /etc/rc.d/init.d/entrance stop >&2 | |
157 | fi | |
158 | /sbin/chkconfig --del entrance | |
159 | fi | |
160 | ||
548fd3ff | 161 | %files |
162 | %defattr(644,root,root,755) | |
163 | %doc AUTHORS COPYING* README | |
ed400c71 | 164 | %attr(754,root,root) /etc/rc.d/init.d/entrance |
b035a1d1 | 165 | %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/entrance |
548fd3ff | 166 | %attr(755,root,root) %{_bindir}/entrance* |
167 | %attr(755,root,root) %{_sbindir}/entranced | |
d620690d | 168 | %dir %{_datadir}/%{name} |
169 | %{_datadir}/%{name}/images | |
170 | %dir %{_datadir}/%{name}/themes | |
171 | %{_datadir}/%{name}/users | |
ed400c71 | 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} | |
d620690d | 177 | %ghost %{_var}/lib/%{name}/entrance_config.cfg |
178 | ||
179 | %files theme-default | |
180 | %defattr(644,root,root,755) | |
181 | %{_datadir}/%{name}/themes/default.edj | |
182 | ||
183 | %files theme-Nebulous | |
184 | %defattr(644,root,root,755) | |
185 | %{_datadir}/%{name}/themes/Nebulous.edj | |
186 | ||
187 | %files theme-darkrock | |
188 | %defattr(644,root,root,755) | |
189 | %{_datadir}/%{name}/themes/darkrock.edj | |
190 | ||
191 | %files theme-taillights | |
192 | %defattr(644,root,root,755) | |
193 | %{_datadir}/%{name}/themes/taillights.edj |