[553] | 1 | # Review at https://bugzilla.redhat.com/show_bug.cgi?id=540034 |
---|
| 2 | |
---|
| 3 | #%global alphatag 20091231svn2262 |
---|
| 4 | |
---|
| 5 | Name: lxdm |
---|
[4669] | 6 | Version: 0.4.1 |
---|
[963] | 7 | Release: 1%{?_dist_release} |
---|
[553] | 8 | Summary: Lightweight X11 Display Manager |
---|
| 9 | Summary(ja): 軽量な X11 ディスプレイマネージャ |
---|
| 10 | |
---|
| 11 | Group: User Interface/Desktops |
---|
| 12 | License: GPLv2+ and LGPLv2+ |
---|
| 13 | URL: http://lxde.org |
---|
| 14 | Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz |
---|
[4669] | 15 | Patch0: lxdm_config.patch |
---|
| 16 | Patch1: fix_nullpointer_dereference.patch |
---|
[553] | 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | |
---|
[4669] | 20 | BuildRequires: glib2-devel |
---|
[553] | 21 | BuildRequires: gtk2-devel >= 2.12.0 |
---|
| 22 | BuildRequires: ConsoleKit-devel |
---|
[963] | 23 | BuildRequires: gettext |
---|
[553] | 24 | BuildRequires: intltool >= 0.40.0 |
---|
[963] | 25 | BuildRequires: iso-codes |
---|
[4669] | 26 | BuildRequires: libX11-devel |
---|
[553] | 27 | BuildRequires: libXmu-devel |
---|
| 28 | BuildRequires: pam-devel |
---|
[963] | 29 | BuildRequires: perl-XML-Parser |
---|
[553] | 30 | Requires: pam |
---|
| 31 | Requires: /sbin/shutdown |
---|
[4669] | 32 | #Requires: desktop-backgrounds |
---|
[553] | 33 | # needed for anaconda to boot into runlevel 5 after install |
---|
| 34 | Provides: service(graphical-login) |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | LXDM is the future display manager of LXDE, the Lightweight X11 Desktop |
---|
| 39 | environment. It is designed as a lightweight alternative to replace GDM or |
---|
| 40 | KDM in LXDE distros. It's still in very early stage of development. |
---|
| 41 | |
---|
| 42 | %description -l ja |
---|
| 43 | LXDM は LXDE - Lightweight X11 Desktop environment - の次世代型 |
---|
| 44 | ディスプレイマネージャです。これは LXDE のディストリビューションで |
---|
| 45 | GDM あるいは KDM を置き換える軽量化の代替手段として設計されています。 |
---|
| 46 | LXDM はまだ開発のごく初期の段階にあります。 |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q |
---|
[4669] | 50 | %patch0 -p1 |
---|
| 51 | %patch1 -p1 |
---|
[553] | 52 | #%patch10 -p1 -b .tty7 |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %build |
---|
| 56 | %configure |
---|
| 57 | make %{?_smp_mflags} |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | rm -rf %{buildroot} |
---|
| 62 | make install DESTDIR=%{buildroot} |
---|
[4669] | 63 | cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm |
---|
| 64 | rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown |
---|
| 65 | cd - |
---|
[553] | 66 | |
---|
[1962] | 67 | # these files are not in the package, but should be owned by lxdm |
---|
[963] | 68 | touch %{buildroot}%{_sysconfdir}/%{name}/xinitrc |
---|
| 69 | mkdir -p %{buildroot}%{_localstatedir}/run |
---|
| 70 | touch %{buildroot}%{_localstatedir}/run/%{name}.pid |
---|
| 71 | mkdir -p %{buildroot}%{_localstatedir}/log |
---|
| 72 | touch %{buildroot}%{_localstatedir}/log/%{name}.log |
---|
| 73 | |
---|
[553] | 74 | %find_lang %{name} |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %clean |
---|
| 79 | rm -rf %{buildroot} |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %files -f %{name}.lang |
---|
| 83 | %defattr(-,root,root,-) |
---|
| 84 | %doc AUTHORS COPYING README TODO gpl-2.0.txt lgpl-2.1.txt |
---|
| 85 | %dir %{_sysconfdir}/lxdm |
---|
[963] | 86 | %ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/xinitrc |
---|
| 87 | %config(noreplace) %attr(755,root,root) %{_sysconfdir}/%{name}/Xsession |
---|
| 88 | %config %{_sysconfdir}/%{name}/lxdm.conf |
---|
| 89 | %config(noreplace) %{_sysconfdir}/pam.d/%{name} |
---|
| 90 | %{_sbindir}/%{name} |
---|
| 91 | %{_sbindir}/lxdm-binary |
---|
[4669] | 92 | %{_bindir}/%{name}-config |
---|
[1962] | 93 | %{_libexecdir}/lxdm-greeter-gdk |
---|
[963] | 94 | %{_libexecdir}/lxdm-greeter-gtk |
---|
[1962] | 95 | %{_libexecdir}/lxdm-numlock |
---|
[963] | 96 | %{_datadir}/%{name}/ |
---|
| 97 | %ghost %{_localstatedir}/run/%{name}.pid |
---|
| 98 | %ghost %{_localstatedir}/log/%{name}.log |
---|
[553] | 99 | |
---|
| 100 | |
---|
| 101 | %changelog |
---|
[4669] | 102 | * Sat Aug 27 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.4.1-1 |
---|
| 103 | - new upstream release |
---|
| 104 | - added patch0 to configure default setting |
---|
| 105 | - dropt Requires: desktop-backgrounds |
---|
| 106 | - added BuildRequires: glib2-devel, libX11-devel |
---|
| 107 | |
---|
[1962] | 108 | * Thu Sep 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.3.0-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[963] | 111 | * Sat May 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1 |
---|
| 112 | - new upstream release |
---|
| 113 | - added BuildRequires: gettext, perl-XML-Parser, iso-codes |
---|
| 114 | - almost improved %files section |
---|
| 115 | |
---|
[553] | 116 | * Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-3 |
---|
| 117 | - applied new naming policy to spec |
---|
| 118 | |
---|
| 119 | * Wed Feb 17 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-2 |
---|
| 120 | - dropt Patch10 |
---|
| 121 | - added Japanese description |
---|
| 122 | - added %doc in %files section |
---|
| 123 | |
---|
| 124 | * Tue Feb 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-1 |
---|
| 125 | - initial build for VineSeed |
---|
| 126 | |
---|
| 127 | * Fri Jan 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1 |
---|
| 128 | - Update to 0.1.0 |
---|
| 129 | - Change license to GPLv2+ and LGPLv2+ |
---|
| 130 | - Use tty1 by default |
---|
| 131 | - PAM fixes for SELinux (#552885) |
---|
| 132 | |
---|
| 133 | * Mon Nov 16 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.2.20091116svn2145 |
---|
| 134 | - Review fixes |
---|
| 135 | |
---|
| 136 | * Mon Nov 16 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091116svn2145 |
---|
| 137 | - Update to SVN release 2145 |
---|
| 138 | |
---|
| 139 | * Thu Nov 05 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091105svn2132 |
---|
| 140 | - Update to SVN release 2132 |
---|
| 141 | |
---|
| 142 | * Sat Oct 31 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091031svn2100 |
---|
| 143 | - Update to SVN release 2100 |
---|
| 144 | |
---|
| 145 | * Tue Oct 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.3-0.1.20091020svn2082 |
---|
| 146 | - Update to SVN release 2082 |
---|
| 147 | |
---|
| 148 | * Fri Sep 18 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.0.2-1 |
---|
| 149 | - Initial Fedora package |
---|