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