]> git.pld-linux.org Git - packages/entrance.git/blame - entrance.spec
- up to 0.9.9.042
[packages/entrance.git] / entrance.spec
CommitLineData
42138fe8 1#
5105bcf6
BZ
2# TODO:
3# - move to entrace.spec on CVS
4
5%define ecore_ver 0.9.9.043
6%define edje_ver 0.9.9.043
7%define esmart_ver 0.9.0.042
8%define evas_ver 0.9.9.043
9
10%define src_name entrance
42138fe8 11
548fd3ff 12Summary: Enlightened display manager
7b8a17ad 13Summary(pl.UTF-8): Oświecony zarządca ekranu
5105bcf6
BZ
14Name: entrace
15Version: 0.9.9.042
44ce2e35 16Release: 1
548fd3ff 17License: BSD
18Group: X11/Applications
5105bcf6
BZ
19Source0: http://download.enlightenment.org/snapshots/2008-01-25/%{name}-%{version}.tar.bz2
20# Source0-md5: ad11d899f6bb06641d1eec72651a0e3d
21Source1: %{src_name}.init
22Source2: %{src_name}.Xsession
23Source3: %{src_name}.gen-conf
24Patch0: %{src_name}-conf.in.patch
25Patch1: %{src_name}-use_bash.patch
548fd3ff 26URL: http://enlightenment.org/
44ce2e35
JB
27BuildRequires: autoconf >= 2.59-9
28BuildRequires: automake >= 1.4
29# ecore-evas ecore-file ecore-ipc ecore-config ecore-desktop
42138fe8
BZ
30BuildRequires: ecore-devel >= %{ecore_ver}
31BuildRequires: edje >= %{edje_ver}
32BuildRequires: edje-devel >= %{edje_ver}
33BuildRequires: esmart-devel >= %{esmart_ver}
34BuildRequires: evas-devel >= %{evas_ver}
35BuildRequires: evas-loader-jpeg >= %{evas_ver}
c25b571f 36BuildRequires: libtool
548fd3ff 37BuildRequires: pam-devel
e1470167 38BuildRequires: pkgconfig
ed400c71 39BuildRequires: sed >= 4.0
40Requires(post,preun): /sbin/chkconfig
44ce2e35
JB
41Requires: %{name}-libs = %{version}-%{release}
42Requires: %{name}-theme
43#Requires: /bin/bash
42138fe8
BZ
44Requires: ecore >= %{ecore_ver}
45Requires: evas-engine-software_x11 >= %{evas_ver}
46Requires: evas-loader-eet >= %{evas_ver}
ed400c71 47Requires: pam
48Requires: sessreg
49Requires: xinitrc-ng
44ce2e35
JB
50Provides: XDM
51# disappeared from 0.9.0.009
52Obsoletes: entrance-theme-Nebulous < 0.9.0.009
53Obsoletes: entrance-theme-taillights < 0.9.0.009
548fd3ff 54BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56%description
57Entrance is the Enlightenment Display Manager. And like Enlightenment,
58it takes beauty and customization to levels that KDM and GDM can only
b035a1d1
JB
59dream about... and without the bloat.
60
504bc588
JR
61%description -l pl.UTF-8
62Entrance to zarządca ekranu (Display Manager) dla Enlightenmenta.
63Podobnie jak Enlightenment ma piękno i możliwości konfiguracji, o
64jakich KDM czy GDM mogą tylko pomarzyć... i to bez narzutu.
548fd3ff 65
44ce2e35
JB
66%package libs
67Summary: Entrance library
68Summary(pl.UTF-8): Biblioteka Entrance
69Group: X11/Libraries
42138fe8
BZ
70Requires: ecore-config >= %{ecore_ver}
71Requires: ecore-desktop >= %{ecore_ver}
72Requires: ecore-evas >= %{ecore_ver}
73Requires: ecore-file >= %{ecore_ver}
74Requires: ecore-ipc >= %{ecore_ver}
44ce2e35
JB
75
76%description libs
77Entrance library.
78
79%description libs -l pl.UTF-8
80Biblioteka Entrance.
81
82%package devel
83Summary: Header file for Entrance library
84Summary(pl.UTF-8): Plik nagłówkowy biblioteki Entrance
85Group: X11/Development/Libraries
86Requires: %{name}-libs = %{version}-%{release}
87# ecore-evas ecore-file ecore-ipc ecore-config ecore-desktop
42138fe8 88Requires: ecore-devel >= %{ecore_ver}
44ce2e35
JB
89
90%description devel
91Header file for Entrance library.
92
93%description devel -l pl.UTF-8
94Plik nagłówkowy biblioteki Entrance.
95
96%package static
97Summary: Static Entrance library
98Summary(pl.UTF-8): Statyczna biblioteka Entrance
99Group: X11/Development/Libraries
100Requires: %{name}-devel = %{version}-%{release}
101
102%description static
103Static Entrance library.
104
105%description static -l pl.UTF-8
106Statyczna biblioteka Entrance.
107
d620690d 108%package theme-default
109Summary: Default Entrance theme
7b8a17ad 110Summary(pl.UTF-8): Domyślny motyw Entrance
d620690d 111Group: X11/Applications
c89c9823 112Requires: %{name} = %{version}-%{release}
d620690d 113Provides: %{name}-theme
114
115%description theme-default
116Default Entrance theme.
117
504bc588
JR
118%description theme-default -l pl.UTF-8
119Domyślny motyw Entrance.
c89c9823 120
d620690d 121%package theme-darkrock
122Summary: Darkrock Entrance theme
7b8a17ad 123Summary(pl.UTF-8): Motyw Entrance Darkrock
d620690d 124Group: X11/Applications
c89c9823 125Requires: %{name} = %{version}-%{release}
d620690d 126Provides: %{name}-theme
127
128%description theme-darkrock
129Darkrock Entrance theme.
130
504bc588 131%description theme-darkrock -l pl.UTF-8
c89c9823
JB
132Motyw Entrance Darkrock.
133
548fd3ff 134%prep
a19ce34e 135%setup -q
ed400c71 136%patch0 -p1
44ce2e35
JB
137# no-no-no, find real problem
138#%patch1 -p1
c25b571f 139mv data/images/sessions/enlightenment{,DR17}.png
d620690d 140sed 's/enlightenment.png/enlightenmentDR17.png/' \
141 -i data/images/sessions/Makefile.am
ed400c71 142
143sed '/PACKAGE_CFG_DIR/s@"${sysconfdir}"@"${localstatedir}/lib/${PACKAGE}"@' \
144 -i configure.in
145sed -n '/xsession="You should reconfigure --with-xsession"/!p' \
146 -i configure.in
548fd3ff 147
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
181 echo "Run \"/etc/rc.d/init.d/entrance restart\" to restart entrance." >&2
182else
183 echo "Run \"/etc/rc.d/init.d/entrance start\" to start entrance." >&2
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 3.843972 seconds and 4 git commands to generate.