This commit is contained in:
parent
d46550acf8
commit
612f87d215
@ -125,7 +125,7 @@ translation-update-upstream
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
# install startup script and xsession file
|
# install startup script and xsession file
|
||||||
install -d -m755 %{buildroot}%{_bindir}
|
install -d -m755 %{buildroot}%{_bindir}
|
||||||
install -m755 %{SOURCE1} %{buildroot}%{_bindir}/gnome
|
install -m755 %{SOURCE1} %{buildroot}%{_bindir}/gnome
|
||||||
@ -157,7 +157,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
--remove default-xsession.desktop %{_datadir}/xsessions/gnome.desktop
|
--remove default-xsession.desktop %{_datadir}/xsessions/gnome.desktop
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_bindir}/gnome
|
%{_bindir}/gnome
|
||||||
%{_datadir}/xsessions/default.desktop
|
%{_datadir}/xsessions/default.desktop
|
||||||
%{_datadir}/xsessions/gnome.desktop
|
%{_datadir}/xsessions/gnome.desktop
|
||||||
@ -165,7 +164,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
|
%ghost %{_sysconfdir}/alternatives/default-xsession.desktop
|
||||||
|
|
||||||
%files default-session
|
%files default-session
|
||||||
%defattr (-, root, root)
|
|
||||||
%{_datadir}/gnome-session/sessions/gnome.session
|
%{_datadir}/gnome-session/sessions/gnome.session
|
||||||
%{_datadir}/gnome-session/sessions/gnome-dummy.session
|
%{_datadir}/gnome-session/sessions/gnome-dummy.session
|
||||||
|
|
||||||
@ -179,7 +177,6 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
--remove default-waylandsession.desktop %{_datadir}/wayland-sessions/gnome.desktop
|
--remove default-waylandsession.desktop %{_datadir}/wayland-sessions/gnome.desktop
|
||||||
|
|
||||||
%files wayland
|
%files wayland
|
||||||
%defattr (-, root, root)
|
|
||||||
%dir %{_datadir}/wayland-sessions
|
%dir %{_datadir}/wayland-sessions
|
||||||
%{_datadir}/wayland-sessions/default.desktop
|
%{_datadir}/wayland-sessions/default.desktop
|
||||||
%{_datadir}/wayland-sessions/gnome.desktop
|
%{_datadir}/wayland-sessions/gnome.desktop
|
||||||
@ -189,8 +186,8 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files core
|
%files core
|
||||||
%defattr (-, root, root)
|
%license COPYING
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%{_bindir}/gnome-session
|
%{_bindir}/gnome-session
|
||||||
%{_bindir}/gnome-session-inhibit
|
%{_bindir}/gnome-session-inhibit
|
||||||
%{_bindir}/gnome-session-quit
|
%{_bindir}/gnome-session-quit
|
||||||
@ -210,6 +207,5 @@ ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop %{buildroot}%{_
|
|||||||
%{_datadir}/gnome-session/hardware-compatibility
|
%{_datadir}/gnome-session/hardware-compatibility
|
||||||
|
|
||||||
%files lang -f %{name}-3.0.lang
|
%files lang -f %{name}-3.0.lang
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user