|
@@ -3,7 +3,7 @@
|
|
#%global alphatag 20091231svn2262
|
|
#%global alphatag 20091231svn2262
|
|
|
|
|
|
Name: lxdm
|
|
Name: lxdm
|
|
-Version: 0.3.0
|
|
+Version: 0.4.1
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Summary: Lightweight X11 Display Manager
|
|
Summary: Lightweight X11 Display Manager
|
|
Summary(ja): 軽量な X11 ディスプレイマネージャ
|
|
Summary(ja): 軽量な X11 ディスプレイマネージャ
|
|
@@ -12,23 +12,24 @@ Group: User Interface/Desktops
|
|
License: GPLv2+ and LGPLv2+
|
|
License: GPLv2+ and LGPLv2+
|
|
URL: http://lxde.org
|
|
URL: http://lxde.org
|
|
Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
|
|
Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
|
|
-## distro specific patches ##
|
|
+Patch0: lxdm_config.patch
|
|
-# we use tty1 by default
|
|
+Patch1: fix_nullpointer_dereference.patch
|
|
-#Patch10: lxdm-svn2145-tty1-patch
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
+BuildRequires: glib2-devel
|
|
BuildRequires: gtk2-devel >= 2.12.0
|
|
BuildRequires: gtk2-devel >= 2.12.0
|
|
BuildRequires: ConsoleKit-devel
|
|
BuildRequires: ConsoleKit-devel
|
|
BuildRequires: gettext
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool >= 0.40.0
|
|
BuildRequires: intltool >= 0.40.0
|
|
BuildRequires: iso-codes
|
|
BuildRequires: iso-codes
|
|
|
|
+BuildRequires: libX11-devel
|
|
BuildRequires: libXmu-devel
|
|
BuildRequires: libXmu-devel
|
|
BuildRequires: pam-devel
|
|
BuildRequires: pam-devel
|
|
BuildRequires: perl-XML-Parser
|
|
BuildRequires: perl-XML-Parser
|
|
Requires: pam
|
|
Requires: pam
|
|
Requires: /sbin/shutdown
|
|
Requires: /sbin/shutdown
|
|
-Requires: desktop-backgrounds
|
|
+#Requires: desktop-backgrounds
|
|
# needed for anaconda to boot into runlevel 5 after install
|
|
# needed for anaconda to boot into runlevel 5 after install
|
|
Provides: service(graphical-login)
|
|
Provides: service(graphical-login)
|
|
|
|
|
|
@@ -46,6 +47,8 @@ LXDM はまだ開発のごく初期の段階にあります。
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
+%patch0 -p1
|
|
|
|
+%patch1 -p1
|
|
#%patch10 -p1 -b .tty7
|
|
#%patch10 -p1 -b .tty7
|
|
|
|
|
|
|
|
|
|
@@ -57,6 +60,9 @@ make %{?_smp_mflags}
|
|
%install
|
|
%install
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
+cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm
|
|
|
|
+rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown
|
|
|
|
+cd -
|
|
|
|
|
|
# these files are not in the package, but should be owned by lxdm
|
|
# these files are not in the package, but should be owned by lxdm
|
|
touch %{buildroot}%{_sysconfdir}/%{name}/xinitrc
|
|
touch %{buildroot}%{_sysconfdir}/%{name}/xinitrc
|
|
@@ -79,16 +85,11 @@ rm -rf %{buildroot}
|
|
%dir %{_sysconfdir}/lxdm
|
|
%dir %{_sysconfdir}/lxdm
|
|
%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/xinitrc
|
|
%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/xinitrc
|
|
%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/Xsession
|
|
%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/Xsession
|
|
-%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/LoginReady
|
|
|
|
-%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/PostLogin
|
|
|
|
-%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/PostLogout
|
|
|
|
-%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/PreLogin
|
|
|
|
-%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/PreReboot
|
|
|
|
-%config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/PreShutdown
|
|
|
|
%config %{_sysconfdir}/%{name}/lxdm.conf
|
|
%config %{_sysconfdir}/%{name}/lxdm.conf
|
|
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
|
|
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
|
|
%{_sbindir}/%{name}
|
|
%{_sbindir}/%{name}
|
|
%{_sbindir}/lxdm-binary
|
|
%{_sbindir}/lxdm-binary
|
|
|
|
+%{_bindir}/%{name}-config
|
|
%{_libexecdir}/lxdm-greeter-gdk
|
|
%{_libexecdir}/lxdm-greeter-gdk
|
|
%{_libexecdir}/lxdm-greeter-gtk
|
|
%{_libexecdir}/lxdm-greeter-gtk
|
|
%{_libexecdir}/lxdm-numlock
|
|
%{_libexecdir}/lxdm-numlock
|
|
@@ -98,6 +99,12 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1
|
|
|
|
+- new upstream release
|
|
|
|
+- added patch0 to configure default setting
|
|
|
|
+- dropt Requires: desktop-backgrounds
|
|
|
|
+- added BuildRequires: glib2-devel, libX11-devel
|
|
|
|
+
|
|
* Thu Sep 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
|
|
* Thu Sep 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
|
|
|