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