|
@@ -3,8 +3,8 @@
|
|
#%global alphatag 20091231svn2262
|
|
#%global alphatag 20091231svn2262
|
|
|
|
|
|
Name: lxdm
|
|
Name: lxdm
|
|
-Version: 0.1.0
|
|
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Version: 0.2.0
|
|
|
|
+Release: 1%{?_dist_release}
|
|
Summary: Lightweight X11 Display Manager
|
|
Summary: Lightweight X11 Display Manager
|
|
Summary(ja): 軽量な X11 ディスプレイマネージャ
|
|
Summary(ja): 軽量な X11 ディスプレイマネージャ
|
|
|
|
|
|
@@ -20,9 +20,12 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: gtk2-devel >= 2.12.0
|
|
BuildRequires: gtk2-devel >= 2.12.0
|
|
BuildRequires: ConsoleKit-devel
|
|
BuildRequires: ConsoleKit-devel
|
|
|
|
+BuildRequires: gettext
|
|
BuildRequires: intltool >= 0.40.0
|
|
BuildRequires: intltool >= 0.40.0
|
|
|
|
+BuildRequires: iso-codes
|
|
BuildRequires: libXmu-devel
|
|
BuildRequires: libXmu-devel
|
|
BuildRequires: pam-devel
|
|
BuildRequires: pam-devel
|
|
|
|
+BuildRequires: perl-XML-Parser
|
|
Requires: pam
|
|
Requires: pam
|
|
Requires: /sbin/shutdown
|
|
Requires: /sbin/shutdown
|
|
Requires: desktop-backgrounds
|
|
Requires: desktop-backgrounds
|
|
@@ -55,6 +58,13 @@ make %{?_smp_mflags}
|
|
rm -rf %{buildroot}
|
|
rm -rf %{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
|
|
|
|
+# these files are not in the package, but should be owned by lxdm
|
|
|
|
+touch %{buildroot}%{_sysconfdir}/%{name}/xinitrc
|
|
|
|
+mkdir -p %{buildroot}%{_localstatedir}/run
|
|
|
|
+touch %{buildroot}%{_localstatedir}/run/%{name}.pid
|
|
|
|
+mkdir -p %{buildroot}%{_localstatedir}/log
|
|
|
|
+touch %{buildroot}%{_localstatedir}/log/%{name}.log
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
@@ -67,14 +77,30 @@ rm -rf %{buildroot}
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING README TODO gpl-2.0.txt lgpl-2.1.txt
|
|
%doc AUTHORS COPYING README TODO gpl-2.0.txt lgpl-2.1.txt
|
|
%dir %{_sysconfdir}/lxdm
|
|
%dir %{_sysconfdir}/lxdm
|
|
-%{_sysconfdir}/lxdm/Xsession
|
|
|
|
-%config(noreplace) %{_sysconfdir}/lxdm/lxdm.conf
|
|
|
|
-%{_sysconfdir}/pam.d/*
|
|
|
|
-%{_bindir}/*
|
|
|
|
-%{_datadir}/%{name}
|
|
|
|
|
|
+%ghost %config(noreplace,missingok) %{_sysconfdir}/%{name}/xinitrc
|
|
|
|
+%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(noreplace) %{_sysconfdir}/pam.d/%{name}
|
|
|
|
+%{_sbindir}/%{name}
|
|
|
|
+%{_sbindir}/lxdm-binary
|
|
|
|
+%{_libexecdir}/lxdm-greeter-gtk
|
|
|
|
+%{_datadir}/%{name}/
|
|
|
|
+%ghost %{_localstatedir}/run/%{name}.pid
|
|
|
|
+%ghost %{_localstatedir}/log/%{name}.log
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat May 8 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0-1
|
|
|
|
+- new upstream release
|
|
|
|
+- added BuildRequires: gettext, perl-XML-Parser, iso-codes
|
|
|
|
+- almost improved %files section
|
|
|
|
+
|
|
* Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-3
|
|
* Sat Mar 13 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.1.0-3
|
|
- applied new naming policy to spec
|
|
- applied new naming policy to spec
|
|
|
|
|