drop gnome subpackages (#964977)

epel9
Miroslav Lichvar 11 years ago
parent d3b0bc3952
commit 371635a8d9

@ -33,6 +33,11 @@ BuildRequires: imlib2-devel
BuildRequires: libpng-devel BuildRequires: libpng-devel
Provides: firstboot(windowmanager) Provides: firstboot(windowmanager)
# gdm-control, gnome-control-center and openbox-gnome were removed in 3.5.2-5
Obsoletes: gdm-control < 3.5.2-5
Obsoletes: gnome-panel-control < 3.5.2-5
Obsoletes: %{name}-gnome < 3.5.2-5
%description %description
Openbox is a window manager designed explicity for standards-compliance and Openbox is a window manager designed explicity for standards-compliance and
speed. It is fast, lightweight, and heavily configurable (using XML for its speed. It is fast, lightweight, and heavily configurable (using XML for its
@ -69,45 +74,6 @@ Group: Development/Libraries
The %{name}-libs package contains shared libraries used by %{name}. The %{name}-libs package contains shared libraries used by %{name}.
%package gnome
Summary: GNOME integration for %{name}
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
Requires: gnome-session
Requires: gnome-panel-control
Requires: gdm-control
BuildArch: noarch
%description gnome
The %{name}-gnome package contains the files needed for using %{name} inside a
GNOME session.
%package -n gnome-panel-control
Summary: Command line utility to control the GNOME panel
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
Requires: gnome-panel
%description -n gnome-panel-control
gnome-panel-control can be used to invoke the GNOME panel run or main menu from
the command line. It is originally a helper utility of openbox since
gnome-panel is no longer managing its own key bindings.
%package -n gdm-control
Summary: Command line utility to control the GNOME Display Manager
Group: User Interface/Desktops
Requires: %{name} = %{version}-%{release}
Requires: gdm
%description -n gdm-control
gdm-control can be used to control the GNOME Display Manager. It can invoke
its power management functions, shut down and reboot a machine or switch users.
It is originally a helper utility of openbox since gdm lacks control over these
features.
%package kde %package kde
Summary: KDE integration for %{name} Summary: KDE integration for %{name}
Group: User Interface/Desktops Group: User Interface/Desktops
@ -150,6 +116,14 @@ install -m644 -D data/gnome-session/openbox-gnome.session \
install -m644 -D data/gnome-session/openbox-gnome-fallback.session \ install -m644 -D data/gnome-session/openbox-gnome-fallback.session \
%{buildroot}%{_datadir}/gnome-session/sessions/openbox-gnome-fallback.session %{buildroot}%{_datadir}/gnome-session/sessions/openbox-gnome-fallback.session
# remove unpackaged files
pushd %{buildroot}
rm ./%{_bindir}/{gdm-control,gnome-panel-control,%{name}-gnome-session}
rm ./%{_datadir}/xsessions/%{name}-gnome.desktop
rm ./%{_datadir}/gnome/wm-properties/openbox.desktop
rm ./%{_datadir}/gnome-session/sessions/openbox-gnome*.session
rm ./%{_mandir}/man1/%{name}-gnome-session*.1*
popd
%find_lang %{name} %find_lang %{name}
@ -186,19 +160,6 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
%{_libdir}/libobt.so %{_libdir}/libobt.so
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/*.pc
%files gnome
%{_bindir}/%{name}-gnome-session
%{_datadir}/xsessions/%{name}-gnome.desktop
%{_datadir}/gnome/wm-properties/openbox.desktop
%{_datadir}/gnome-session/sessions/openbox-gnome*.session
%{_mandir}/man1/%{name}-gnome-session*.1*
%files -n gnome-panel-control
%{_bindir}/gnome-panel-control
%files -n gdm-control
%{_bindir}/gdm-control
%files kde %files kde
%{_bindir}/%{name}-kde-session %{_bindir}/%{name}-kde-session
%{_datadir}/xsessions/%{name}-kde.desktop %{_datadir}/xsessions/%{name}-kde.desktop

Loading…
Cancel
Save