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