SPECS: kdebase4-workspace.spec - md5sum, pam, pld stuff, lang(en)
pascalek
pascalek at pld-linux.org
Sun Jan 20 16:12:50 CET 2008
Author: pascalek Date: Sun Jan 20 15:12:50 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- md5sum, pam, pld stuff, lang(en)
---- Files affected:
SPECS:
kdebase4-workspace.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/kdebase4-workspace.spec
diff -u SPECS/kdebase4-workspace.spec:1.12 SPECS/kdebase4-workspace.spec:1.13
--- SPECS/kdebase4-workspace.spec:1.12 Sun Jan 20 14:53:40 2008
+++ SPECS/kdebase4-workspace.spec Sun Jan 20 16:12:44 2008
@@ -23,8 +23,13 @@
License: GPL
Group: X11/Applications
Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{oname}-%{version}.tar.bz2
+# Source0-md5: f3d2155ff5ff7472a8884bd3f31bff16
Source1: kdebase-kdesktop.pam
+Source2: kdebase-kdm.pam
+Source3: kdebase-kdm-np.pam
Source4: kdebase-kdm.init
+Source6: kdebase-kdm_pldlogo.png
+Source7: kdebase-kdm_pldwallpaper.png
Source15: %{name}-kde4.desktop
Source16: %{name}-kde4-session
BuildRequires: cmake
@@ -427,7 +432,7 @@
Requires(post,preun): /sbin/chkconfig
Requires: pam >= 0.99.7.1
Requires: rc-scripts
-Requires: kde-kgreet = %{epoch}:%{version}-%{release}
+Requires: kde-kgreet
Provides: XDM
%description -n kdm
@@ -486,15 +491,26 @@
kde_htmldir=%{_kdedocdir}
install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
-install -d $RPM_BUILD_ROOT/etc/{X11,pam.d}
+install -d $RPM_BUILD_ROOT/etc/{X11,pam.d,security}
+install -d $RPM_BUILD_ROOT%{_datadir}/config/kdm
install %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/kdesktop
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/kdm
+install %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/kdm-np
install %{SOURCE4} $RPM_BUILD_ROOT/etc/rc.d/init.d/kdm
+install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/apps/kdm/pics/pldlogo.png
+install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/wallpapers/kdm_pld.png
+
install %{SOURCE15} $RPM_BUILD_ROOT%{_bindir}/kde4-session
install -d $RPM_BUILD_ROOT%{_datadir}/xsessions/
cp %{SOURCE16} $RPM_BUILD_ROOT%{_datadir}/xsessions/kde4.desktop
+$RPM_BUILD_ROOT%{_bindir}/genkdmconf --in $RPM_BUILD_ROOT%{_datadir}/config/kdm
+rm $RPM_BUILD_ROOT%{_datadir}/config/kdm/README
+
+touch $RPM_BUILD_ROOT/etc/security/blacklist.kdm
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -593,7 +609,7 @@
%attr(755,root,root) %{_libdir}/libkdeinit4_kmenuedit.so
%{_desktopdir}/kde4/kmenuedit.desktop
%{_datadir}/apps/kmenuedit
-%{_kdedocdir}/en/kmenuedit
+%lang(en) %{_kdedocdir}/en/kmenuedit
%{_iconsdir}/*/*/apps/kmenuedit.png
# krandrtray
@@ -638,7 +654,7 @@
# kxkb
%attr(755,root,root) %{_bindir}/kxkb
%attr(755,root,root) %{_libdir}/libkdeinit4_kxkb.so
-%{_kdedocdir}/en/kxkb
+%lang(en) %{_kdedocdir}/en/kxkb
%{_iconsdir}/*/*/apps/kxkb.png
# systemsettings
@@ -1017,7 +1033,7 @@
%dir %{_datadir}/apps/plasmoidviewer
%{_datadir}/apps/plasmoidviewer/checker.png
%{_datadir}/autostart/plasma.desktop
-%{_kdedocdir}/en/plasma
+%lang(en) %{_kdedocdir}/en/plasma
%{_datadir}/kde4/services/plasma-animator-default.desktop
%{_datadir}/kde4/services/plasma-applet-analogclock.desktop
%{_datadir}/kde4/services/plasma-applet-devicenotifier.desktop
@@ -1090,7 +1106,7 @@
%{_desktopdir}/kde4/ksysguard.desktop
%{_datadir}/apps/ksysguard
%{_iconsdir}/*/*/apps/ksysguardd.png
-%{_kdedocdir}/en/ksysguard
+%lang(en) %{_kdedocdir}/en/ksysguard
# it looks like kde3 remains
%dir %{_datadir}/apps/kicker
%dir %{_datadir}/apps/kicker/applets
@@ -1098,6 +1114,11 @@
%files -n kdm
%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/kdm
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/kdm-np
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.kdm
+%dir %{_datadir}/config/kdm
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_datadir}/config/kdm/*
%attr(754,root,root) /etc/rc.d/init.d/kdm
%attr(755,root,root) %{_bindir}/genkdmconf
%attr(755,root,root) %{_bindir}/kdm
@@ -1110,8 +1131,9 @@
%{_datadir}/apps/doc/kdm
%{_datadir}/apps/kdm/*
%{_datadir}/config/kdm.knsrc
-%{_kdedocdir}/en/kdm
%{_datadir}/kde4/services/kdm.desktop
+%{_datadir}/wallpapers/kdm_pld.png
+%lang(en) %{_kdedocdir}/en/kdm
%files screensavers
%defattr(644,root,root,755)
@@ -1161,7 +1183,7 @@
%{_desktopdir}/kde4/klipper.desktop
%{_datadir}/autostart/klipper.desktop
%{_datadir}/config/klipperrc
-%{_kdedocdir}/en/klipper
+%lang(en) %{_kdedocdir}/en/klipper
%files -n kde-splash-Default
%defattr(644,root,root,755)
@@ -1264,7 +1286,7 @@
%files infocenter
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/kde4/kcm_info.so
-%{_kdedocdir}/en/kinfocenter/*
+%lang(en) %{_kdedocdir}/en/kinfocenter/*
%{_datadir}/apps/kcmusb/usb.ids
%files session
@@ -1308,6 +1330,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2008-01-20 15:12:44 pascalek
+- md5sum, pam, pld stuff, lang(en)
+
Revision 1.12 2008-01-20 13:53:40 pascalek
- typos
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kdebase4-workspace.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list