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