]> git.pld-linux.org Git - packages/entrance.git/blame - entrance.spec
- it was packager error - package name updated in upstream
[packages/entrance.git] / entrance.spec
CommitLineData
42138fe8 1#
5105bcf6
BZ
2
3%define ecore_ver 0.9.9.043
4%define edje_ver 0.9.9.043
5%define esmart_ver 0.9.0.042
6%define evas_ver 0.9.9.043
7
548fd3ff 8Summary: Enlightened display manager
7b8a17ad 9Summary(pl.UTF-8): Oświecony zarządca ekranu
76e812d6 10Name: entrance
5105bcf6 11Version: 0.9.9.042
44ce2e35 12Release: 1
548fd3ff 13License: BSD
14Group: X11/Applications
76e812d6 15Source0: http://download.enlightenment.org/snapshots/2008-01-25/entrace-%{version}.tar.bz2
5105bcf6 16# Source0-md5: ad11d899f6bb06641d1eec72651a0e3d
76e812d6
BZ
17Source1: %{name}.init
18Source2: %{name}.Xsession
19Source3: %{name}.gen-conf
20Patch0: %{name}-conf.in.patch
21Patch1: %{name}-use_bash.patch
548fd3ff 22URL: http://enlightenment.org/
44ce2e35
JB
23BuildRequires: autoconf >= 2.59-9
24BuildRequires: automake >= 1.4
25# ecore-evas ecore-file ecore-ipc ecore-config ecore-desktop
42138fe8
BZ
26BuildRequires: ecore-devel >= %{ecore_ver}
27BuildRequires: edje >= %{edje_ver}
28BuildRequires: edje-devel >= %{edje_ver}
29BuildRequires: esmart-devel >= %{esmart_ver}
30BuildRequires: evas-devel >= %{evas_ver}
31BuildRequires: evas-loader-jpeg >= %{evas_ver}
c25b571f 32BuildRequires: libtool
548fd3ff 33BuildRequires: pam-devel
e1470167 34BuildRequires: pkgconfig
ed400c71 35BuildRequires: sed >= 4.0
36Requires(post,preun): /sbin/chkconfig
44ce2e35
JB
37Requires: %{name}-libs = %{version}-%{release}
38Requires: %{name}-theme
39#Requires: /bin/bash
42138fe8
BZ
40Requires: ecore >= %{ecore_ver}
41Requires: evas-engine-software_x11 >= %{evas_ver}
42Requires: evas-loader-eet >= %{evas_ver}
ed400c71 43Requires: pam
44Requires: sessreg
45Requires: xinitrc-ng
44ce2e35
JB
46Provides: XDM
47# disappeared from 0.9.0.009
48Obsoletes: entrance-theme-Nebulous < 0.9.0.009
49Obsoletes: entrance-theme-taillights < 0.9.0.009
548fd3ff 50BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52%description
53Entrance is the Enlightenment Display Manager. And like Enlightenment,
54it takes beauty and customization to levels that KDM and GDM can only
b035a1d1
JB
55dream about... and without the bloat.
56
504bc588
JR
57%description -l pl.UTF-8
58Entrance to zarządca ekranu (Display Manager) dla Enlightenmenta.
59Podobnie jak Enlightenment ma piękno i możliwości konfiguracji, o
60jakich KDM czy GDM mogą tylko pomarzyć... i to bez narzutu.
548fd3ff 61
44ce2e35
JB
62%package libs
63Summary: Entrance library
64Summary(pl.UTF-8): Biblioteka Entrance
65Group: X11/Libraries
42138fe8
BZ
66Requires: ecore-config >= %{ecore_ver}
67Requires: ecore-desktop >= %{ecore_ver}
68Requires: ecore-evas >= %{ecore_ver}
69Requires: ecore-file >= %{ecore_ver}
70Requires: ecore-ipc >= %{ecore_ver}
44ce2e35
JB
71
72%description libs
73Entrance library.
74
75%description libs -l pl.UTF-8
76Biblioteka Entrance.
77
78%package devel
79Summary: Header file for Entrance library
80Summary(pl.UTF-8): Plik nagłówkowy biblioteki Entrance
81Group: X11/Development/Libraries
82Requires: %{name}-libs = %{version}-%{release}
83# ecore-evas ecore-file ecore-ipc ecore-config ecore-desktop
42138fe8 84Requires: ecore-devel >= %{ecore_ver}
44ce2e35
JB
85
86%description devel
87Header file for Entrance library.
88
89%description devel -l pl.UTF-8
90Plik nagłówkowy biblioteki Entrance.
91
92%package static
93Summary: Static Entrance library
94Summary(pl.UTF-8): Statyczna biblioteka Entrance
95Group: X11/Development/Libraries
96Requires: %{name}-devel = %{version}-%{release}
97
98%description static
99Static Entrance library.
100
101%description static -l pl.UTF-8
102Statyczna biblioteka Entrance.
103
d620690d 104%package theme-default
105Summary: Default Entrance theme
7b8a17ad 106Summary(pl.UTF-8): Domyślny motyw Entrance
d620690d 107Group: X11/Applications
c89c9823 108Requires: %{name} = %{version}-%{release}
d620690d 109Provides: %{name}-theme
110
111%description theme-default
112Default Entrance theme.
113
504bc588
JR
114%description theme-default -l pl.UTF-8
115Domyślny motyw Entrance.
c89c9823 116
d620690d 117%package theme-darkrock
118Summary: Darkrock Entrance theme
7b8a17ad 119Summary(pl.UTF-8): Motyw Entrance Darkrock
d620690d 120Group: X11/Applications
c89c9823 121Requires: %{name} = %{version}-%{release}
d620690d 122Provides: %{name}-theme
123
124%description theme-darkrock
125Darkrock Entrance theme.
126
504bc588 127%description theme-darkrock -l pl.UTF-8
c89c9823
JB
128Motyw Entrance Darkrock.
129
548fd3ff 130%prep
76e812d6 131%setup -q -n entrace-%{version}
ed400c71 132%patch0 -p1
44ce2e35
JB
133# no-no-no, find real problem
134#%patch1 -p1
c25b571f 135mv data/images/sessions/enlightenment{,DR17}.png
d620690d 136sed 's/enlightenment.png/enlightenmentDR17.png/' \
137 -i data/images/sessions/Makefile.am
ed400c71 138
139sed '/PACKAGE_CFG_DIR/s@"${sysconfdir}"@"${localstatedir}/lib/${PACKAGE}"@' \
140 -i configure.in
141sed -n '/xsession="You should reconfigure --with-xsession"/!p' \
142 -i configure.in
548fd3ff 143
76e812d6
BZ
144#just for this release - updated in upstream
145sed 's/AC_INIT(entrace,/AC_INIT(entrance,/' \
146 -i configure.in
147
548fd3ff 148%build
c25b571f 149%{__libtoolize}
150%{__aclocal} -I m4
151%{__autoconf}
152%{__autoheader}
153%{__automake}
548fd3ff 154%configure \
44ce2e35
JB
155 --with-pam-config=entrance \
156 --with-vt=auto \
ed400c71 157 --with-xsession=%{_sysconfdir}/X11/%{name}/Xsession
548fd3ff 158%{__make}
159
160%install
161rm -rf $RPM_BUILD_ROOT
b035a1d1 162
548fd3ff 163%{__make} install \
164 DESTDIR=$RPM_BUILD_ROOT
165
ed400c71 166install -d $RPM_BUILD_ROOT{%{_sysconfdir}/X11/%{name},/etc/rc.d/init.d,%{_var}/lib/%{name}}
1177e299 167install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/entrance
168install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/Xsession
169install %{SOURCE3} \
ed400c71 170 $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/generate-config
171install data/config/build_config.sh.in \
44ce2e35 172 $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}
d620690d 173touch $RPM_BUILD_ROOT%{_var}/lib/%{name}/entrance_config.cfg
ed400c71 174
548fd3ff 175%clean
176rm -rf $RPM_BUILD_ROOT
177
ed400c71 178%post
179/sbin/chkconfig --add entrance
180if [ -f /var/lock/subsys/entrance ]; then
76e812d6 181 echo "Run \"service entrance restart\" to restart entrance." >&2
ed400c71 182else
76e812d6 183 echo "Run \"service entrance start\" to start entrance." >&2
ed400c71 184fi
185
186%preun
187if [ "$1" = "0" ]; then
188 if [ -f /var/lock/subsys/entrance ]; then
189 /etc/rc.d/init.d/entrance stop >&2
190 fi
191 /sbin/chkconfig --del entrance
192fi
193
44ce2e35
JB
194%post libs -p /sbin/ldconfig
195%postun libs -p /sbin/ldconfig
196
548fd3ff 197%files
198%defattr(644,root,root,755)
44ce2e35 199%doc AUTHORS COPYING ChangeLog README README.edje TODO
ed400c71 200%attr(754,root,root) /etc/rc.d/init.d/entrance
b035a1d1 201%config(noreplace) %verify(not md5 mtime size) /etc/pam.d/entrance
44ce2e35
JB
202%attr(755,root,root) %{_bindir}/entrance
203%attr(755,root,root) %{_bindir}/entrance_edit
204%attr(755,root,root) %{_bindir}/entrance_edit-config
205%attr(755,root,root) %{_bindir}/entrance_wrapper
548fd3ff 206%attr(755,root,root) %{_sbindir}/entranced
44ce2e35
JB
207%dir %{_libdir}/%{name}
208%attr(755,root,root) %{_libdir}/%{name}/entrance_login
d620690d 209%dir %{_datadir}/%{name}
210%{_datadir}/%{name}/images
211%dir %{_datadir}/%{name}/themes
212%{_datadir}/%{name}/users
ed400c71 213%dir %{_sysconfdir}/X11/%{name}
214%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/Xsession
215%attr(755,root,root) %{_sysconfdir}/X11/%{name}/generate-config
216%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/build_config.sh.in
217%dir %{_var}/lib/%{name}
d620690d 218%ghost %{_var}/lib/%{name}/entrance_config.cfg
219
44ce2e35 220%files libs
d620690d 221%defattr(644,root,root,755)
5105bcf6 222%attr(755,root,root) %{_libdir}/libentrance_edit.so.*
d620690d 223
44ce2e35 224%files devel
d620690d 225%defattr(644,root,root,755)
44ce2e35
JB
226%attr(755,root,root) %{_libdir}/libentrance_edit.so
227%{_libdir}/libentrance_edit.la
228%{_includedir}/Entrance_Edit.h
d620690d 229
44ce2e35 230%files static
d620690d 231%defattr(644,root,root,755)
44ce2e35
JB
232%{_libdir}/libentrance_edit.a
233
234%files theme-default
235%defattr(644,root,root,755)
236%{_datadir}/%{name}/themes/default.edj
d620690d 237
44ce2e35 238%files theme-darkrock
d620690d 239%defattr(644,root,root,755)
44ce2e35 240%{_datadir}/%{name}/themes/darkrock.edj
This page took 0.151876 seconds and 4 git commands to generate.