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