re-sync with f16 (manually, since it all seems too confused for git merge)
This commit is contained in:
parent
2df566f1cf
commit
4b5a78d511
44
gdm.spec
44
gdm.spec
@ -14,8 +14,8 @@
|
|||||||
|
|
||||||
Summary: The GNOME Display Manager
|
Summary: The GNOME Display Manager
|
||||||
Name: gdm
|
Name: gdm
|
||||||
Version: 3.2.1
|
Version: 3.2.1.1
|
||||||
Release: 3%{?dist}
|
Release: 8%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: User Interface/X
|
Group: User Interface/X
|
||||||
@ -24,6 +24,7 @@ URL: http://download.gnome.org/sources/gdm
|
|||||||
Source: http://download.gnome.org/sources/gdm/3.2/gdm-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/gdm/3.2/gdm-%{version}.tar.xz
|
||||||
Source1: gdm-pam
|
Source1: gdm-pam
|
||||||
Source2: gdm-autologin-pam
|
Source2: gdm-autologin-pam
|
||||||
|
Source11: gdm-welcome-pam
|
||||||
Source3: gdm-password.pam
|
Source3: gdm-password.pam
|
||||||
Source4: gdm-smartcard.pam
|
Source4: gdm-smartcard.pam
|
||||||
Source5: gdm-fingerprint.pam
|
Source5: gdm-fingerprint.pam
|
||||||
@ -32,7 +33,6 @@ Source7: gdm-smartcard-48.png
|
|||||||
Source8: gdm-fingerprint-16.png
|
Source8: gdm-fingerprint-16.png
|
||||||
Source9: gdm-fingerprint-48.png
|
Source9: gdm-fingerprint-48.png
|
||||||
Source10: org.gnome.login-screen.gschema.override
|
Source10: org.gnome.login-screen.gschema.override
|
||||||
Source11: gdm-welcome-pam
|
|
||||||
|
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
|
|
||||||
@ -53,6 +53,9 @@ Requires: gnome-keyring-pam
|
|||||||
Requires: pulseaudio-gdm-hooks
|
Requires: pulseaudio-gdm-hooks
|
||||||
# We need 1.0.4-5 since it lets us use "localhost" in auth cookies
|
# We need 1.0.4-5 since it lets us use "localhost" in auth cookies
|
||||||
Requires: libXau >= 1.0.4-4
|
Requires: libXau >= 1.0.4-4
|
||||||
|
# RH #746693: gdm's fallback session specifies metacity as the WM
|
||||||
|
# and refuses to run if metacity is not present
|
||||||
|
Requires: metacity
|
||||||
BuildRequires: pkgconfig(libcanberra-gtk)
|
BuildRequires: pkgconfig(libcanberra-gtk)
|
||||||
BuildRequires: scrollkeeper >= 0:%{scrollkeeper_version}
|
BuildRequires: scrollkeeper >= 0:%{scrollkeeper_version}
|
||||||
BuildRequires: pango-devel >= 0:%{pango_version}
|
BuildRequires: pango-devel >= 0:%{pango_version}
|
||||||
@ -85,11 +88,7 @@ BuildRequires: GConf2-devel
|
|||||||
BuildRequires: pkgconfig(accountsservice) >= 0.6.3
|
BuildRequires: pkgconfig(accountsservice) >= 0.6.3
|
||||||
|
|
||||||
# these are all just for rewriting gdm.d/00-upstream-settings
|
# these are all just for rewriting gdm.d/00-upstream-settings
|
||||||
Requires(posttrans): dbus-x11
|
|
||||||
Requires(posttrans): dconf
|
Requires(posttrans): dconf
|
||||||
Requires(posttrans): gnome-power-manager
|
|
||||||
Requires(posttrans): gsettings-desktop-schemas
|
|
||||||
Requires(posttrans): gnome-settings-daemon
|
|
||||||
|
|
||||||
Provides: service(graphical-login) = %{name}
|
Provides: service(graphical-login) = %{name}
|
||||||
|
|
||||||
@ -106,6 +105,9 @@ Provides: gdm-plugin-smartcard = %{epoch}:%{version}-%{release}
|
|||||||
Obsoletes: gdm-plugin-fingerprint < 1:3.2.1
|
Obsoletes: gdm-plugin-fingerprint < 1:3.2.1
|
||||||
Provides: gdm-plugin-fingerprint = %{epoch}:%{version}-%{release}
|
Provides: gdm-plugin-fingerprint = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
# already upstream
|
||||||
|
Patch0: auth-fixes.patch
|
||||||
|
|
||||||
# Fedora-specific
|
# Fedora-specific
|
||||||
Patch98: plymouth.patch
|
Patch98: plymouth.patch
|
||||||
Patch99: gdm-3.0.0-fedora-logo.patch
|
Patch99: gdm-3.0.0-fedora-logo.patch
|
||||||
@ -137,6 +139,7 @@ Development files and headers for writing GDM greeters.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1 -b .auth-fixes
|
||||||
%patch98 -p1 -b .plymouth
|
%patch98 -p1 -b .plymouth
|
||||||
%patch99 -p1 -b .fedora-logo
|
%patch99 -p1 -b .fedora-logo
|
||||||
|
|
||||||
@ -145,10 +148,10 @@ autoreconf -i -f
|
|||||||
%build
|
%build
|
||||||
cp -f %{SOURCE1} data/gdm
|
cp -f %{SOURCE1} data/gdm
|
||||||
cp -f %{SOURCE2} data/gdm-autologin
|
cp -f %{SOURCE2} data/gdm-autologin
|
||||||
cp -f %{SOURCE11} data/gdm-welcome
|
|
||||||
cp -f %{SOURCE3} gui/simple-greeter/extensions/password/gdm-password.pam
|
cp -f %{SOURCE3} gui/simple-greeter/extensions/password/gdm-password.pam
|
||||||
cp -f %{SOURCE4} gui/simple-greeter/extensions/smartcard/gdm-smartcard.pam
|
cp -f %{SOURCE4} data/gdm-smartcard.pam
|
||||||
cp -f %{SOURCE5} gui/simple-greeter/extensions/fingerprint/gdm-fingerprint.pam
|
cp -f %{SOURCE5} data/gdm-fingerprint.pam
|
||||||
|
cp -f %{SOURCE11} data/gdm-welcome
|
||||||
cp -f %{SOURCE6} gui/simple-greeter/extensions/smartcard/icons/16x16/gdm-smartcard.png
|
cp -f %{SOURCE6} gui/simple-greeter/extensions/smartcard/icons/16x16/gdm-smartcard.png
|
||||||
cp -f %{SOURCE7} gui/simple-greeter/extensions/smartcard/icons/48x48/gdm-smartcard.png
|
cp -f %{SOURCE7} gui/simple-greeter/extensions/smartcard/icons/48x48/gdm-smartcard.png
|
||||||
cp -f %{SOURCE8} gui/simple-greeter/extensions/fingerprint/icons/16x16/gdm-fingerprint.png
|
cp -f %{SOURCE8} gui/simple-greeter/extensions/fingerprint/icons/16x16/gdm-fingerprint.png
|
||||||
@ -207,9 +210,6 @@ rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
|
|||||||
find $RPM_BUILD_ROOT -name '*.a' -delete
|
find $RPM_BUILD_ROOT -name '*.a' -delete
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -delete
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_includedir}/gdm/simple-greeter/gdm-login-extension.h
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdmsimplegreeter.pc
|
|
||||||
|
|
||||||
%find_lang gdm --with-gnome
|
%find_lang gdm --with-gnome
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
@ -287,13 +287,13 @@ if [ $1 -eq 0 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
%{_libexecdir}/gdm-update-dconf-db gdm %{_datadir}/gdm/upstream-settings 00-upstream-settings
|
dconf update
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
||||||
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
|
|
||||||
%files -f gdm.lang
|
%files -f gdm.lang
|
||||||
%defattr(-, root, root)
|
|
||||||
%doc AUTHORS COPYING NEWS README TODO
|
%doc AUTHORS COPYING NEWS README TODO
|
||||||
|
|
||||||
%dir %{_sysconfdir}/gdm
|
%dir %{_sysconfdir}/gdm
|
||||||
%config(noreplace) %{_sysconfdir}/gdm/custom.conf
|
%config(noreplace) %{_sysconfdir}/gdm/custom.conf
|
||||||
%config %{_sysconfdir}/gdm/Init/*
|
%config %{_sysconfdir}/gdm/Init/*
|
||||||
@ -327,7 +327,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_libexecdir}/gdm-simple-greeter
|
%{_libexecdir}/gdm-simple-greeter
|
||||||
%{_libexecdir}/gdm-simple-slave
|
%{_libexecdir}/gdm-simple-slave
|
||||||
%{_libexecdir}/gdm-xdmcp-chooser-slave
|
%{_libexecdir}/gdm-xdmcp-chooser-slave
|
||||||
%{_libexecdir}/gdm-update-dconf-db
|
|
||||||
%{_sbindir}/gdm
|
%{_sbindir}/gdm
|
||||||
%{_sbindir}/gdm-binary
|
%{_sbindir}/gdm-binary
|
||||||
%{_bindir}/gdmflexiserver
|
%{_bindir}/gdmflexiserver
|
||||||
@ -349,6 +348,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%dir %{_datadir}/gdm/simple-greeter/extensions
|
%dir %{_datadir}/gdm/simple-greeter/extensions
|
||||||
%dir %{_datadir}/gdm/simple-greeter/extensions/password
|
%dir %{_datadir}/gdm/simple-greeter/extensions/password
|
||||||
%{_datadir}/gdm/simple-greeter/extensions/password/page.ui
|
%{_datadir}/gdm/simple-greeter/extensions/password/page.ui
|
||||||
|
%dir %{_datadir}/gdm
|
||||||
%dir %{_datadir}/gdm/greeter
|
%dir %{_datadir}/gdm/greeter
|
||||||
%dir %{_datadir}/gdm/greeter/applications
|
%dir %{_datadir}/gdm/greeter/applications
|
||||||
%dir %{_localstatedir}/log/gdm
|
%dir %{_localstatedir}/log/gdm
|
||||||
@ -366,7 +366,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_sysconfdir}/dconf/db/gdm.d/00-upstream-settings
|
%{_sysconfdir}/dconf/db/gdm.d/00-upstream-settings
|
||||||
%{_sysconfdir}/dconf/db/gdm.d/locks/00-upstream-settings-locks
|
%{_sysconfdir}/dconf/db/gdm.d/locks/00-upstream-settings-locks
|
||||||
%{_sysconfdir}/dconf/profile/gdm
|
%{_sysconfdir}/dconf/profile/gdm
|
||||||
%{_datadir}/gdm/upstream-settings
|
|
||||||
%{_datadir}/icons/hicolor/*/*/*.png
|
%{_datadir}/icons/hicolor/*/*/*.png
|
||||||
%config %{_sysconfdir}/pam.d/gdm-smartcard
|
%config %{_sysconfdir}/pam.d/gdm-smartcard
|
||||||
%dir %{_datadir}/gdm/simple-greeter/extensions/smartcard
|
%dir %{_datadir}/gdm/simple-greeter/extensions/smartcard
|
||||||
@ -385,17 +384,16 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
|
|||||||
%{_includedir}/gdm/greeter/gdm-greeter-sessions.h
|
%{_includedir}/gdm/greeter/gdm-greeter-sessions.h
|
||||||
%{_datadir}/gir-1.0/GdmGreeter-1.0.gir
|
%{_datadir}/gir-1.0/GdmGreeter-1.0.gir
|
||||||
%{_libdir}/pkgconfig/gdmgreeter.pc
|
%{_libdir}/pkgconfig/gdmgreeter.pc
|
||||||
|
%{_includedir}/gdm/simple-greeter/gdm-login-extension.h
|
||||||
|
%{_libdir}/pkgconfig/gdmsimplegreeter.pc
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%{_libdir}/girepository-1.0/GdmGreeter-1.0.typelib
|
%{_libdir}/girepository-1.0/GdmGreeter-1.0.typelib
|
||||||
|
|
||||||
%files devel
|
|
||||||
%{_includedir}/gdm/greeter/gdm-greeter-client.h
|
|
||||||
%{_includedir}/gdm/greeter/gdm-greeter-sessions.h
|
|
||||||
%{_libdir}/pkgconfig/gdmgreeter.pc
|
|
||||||
%{_datadir}/gir-1.0/GdmGreeter-1.0.gir
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 09 2011 Adam Williamson <awilliam@redhat.com> 1:3.2.1.1-8
|
||||||
|
- sync with recent changes on f16 branch
|
||||||
|
|
||||||
* Thu Nov 03 2011 Ray Strode <rstrode@redhat.com> 3.2.1-3
|
* Thu Nov 03 2011 Ray Strode <rstrode@redhat.com> 3.2.1-3
|
||||||
- Drop fprintd-pam dependency and make Harald's laptop
|
- Drop fprintd-pam dependency and make Harald's laptop
|
||||||
more lean and streamlined.
|
more lean and streamlined.
|
||||||
|
Loading…
Reference in New Issue
Block a user