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