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