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