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