source: projects/specs/trunk/l/lxdm/lxdm-vl.spec @ 8934

Revision 8934, 4.9 KB checked in by kudoh, 10 years ago (diff)

new upstream and rebuilt

Line 
1# Review at https://bugzilla.redhat.com/show_bug.cgi?id=540034
2
3#%global alphatag 20091231svn2262
4
5Name:           lxdm
6Version:        0.4.1
7Release:        3%{?_dist_release}
8Summary:        Lightweight X11 Display Manager
9Summary(ja):    軽量な X11 ディスプレイマネージャ
10
11Group:          User Interface/Desktops
12License:        GPLv2+ and LGPLv2+
13URL:            http://lxde.org
14Source0:        http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz
15Patch0:         lxdm_config.patch
16Patch1:         fix_nullpointer_dereference.patch
17Patch10:         lxdm-0.4.1-fix-event-check-bug.patch
18
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21BuildRequires:  glib2-devel
22BuildRequires:  gtk2-devel >= 2.12.0
23BuildRequires:  ConsoleKit-devel
24BuildRequires:  gettext
25BuildRequires:  intltool >= 0.40.0
26BuildRequires:  iso-codes
27BuildRequires:  libX11-devel
28BuildRequires:  libXmu-devel
29BuildRequires:  pam-devel
30BuildRequires:  perl-XML-Parser
31Requires:       pam
32Requires:       /sbin/shutdown
33#Requires:       desktop-backgrounds
34# needed for anaconda to boot into runlevel 5 after install
35Provides:       service(graphical-login)
36
37
38%description
39LXDM is the future display manager of LXDE, the Lightweight X11 Desktop
40environment. It is designed as a lightweight alternative to replace GDM or
41KDM in LXDE distros. It's still in very early stage of development.
42
43%description -l ja
44LXDM は LXDE - Lightweight X11 Desktop environment - の次世代型
45ディスプレイマネージャです。これは LXDE のディストリビューションで
46GDM あるいは KDM を置き換える軽量化の代替手段として設計されています。
47LXDM はまだ開発のごく初期の段階にあります。
48
49%prep
50%setup -q
51%patch0 -p1
52%patch1 -p1
53%patch10 -p1
54
55
56%build
57%configure
58make %{?_smp_mflags}
59
60
61%install
62rm -rf %{buildroot}
63make install DESTDIR=%{buildroot}
64cd ${RPM_BUILD_ROOT}/%{_sysconfdir}/lxdm
65rm -rf LoginReady PostLogin PreLogin PostLogout PreReboot PreShutdown
66cd -
67
68# these files are not in the package, but should be owned by lxdm
69touch %{buildroot}%{_sysconfdir}/%{name}/xinitrc
70mkdir -p %{buildroot}%{_localstatedir}/run
71touch %{buildroot}%{_localstatedir}/run/%{name}.pid
72mkdir -p %{buildroot}%{_localstatedir}/log
73touch %{buildroot}%{_localstatedir}/log/%{name}.log
74
75%find_lang %{name}
76
77
78
79%clean
80rm -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
Note: See TracBrowser for help on using the repository browser.