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