|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: openbox
|
|
|
|
Name: openbox
|
|
|
|
Version: 3.4.7.2
|
|
|
|
Version: 3.4.7.2
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: A highly configurable and standards-compliant X11 window manager
|
|
|
|
Summary: A highly configurable and standards-compliant X11 window manager
|
|
|
|
|
|
|
|
|
|
|
|
Group: User Interface/Desktops
|
|
|
|
Group: User Interface/Desktops
|
|
|
@ -10,16 +10,17 @@ Source0: http://icculus.org/openbox/releases/%{name}-%{version}.tar.gz
|
|
|
|
Source1: http://icculus.org/openbox/tools/setlayout.c
|
|
|
|
Source1: http://icculus.org/openbox/tools/setlayout.c
|
|
|
|
Source2: xdg-menu
|
|
|
|
Source2: xdg-menu
|
|
|
|
Source3: menu.xml
|
|
|
|
Source3: menu.xml
|
|
|
|
|
|
|
|
Source4: openbox.desktop
|
|
|
|
|
|
|
|
|
|
|
|
Patch0: openbox-3.4.7.1-autostartdir.patch
|
|
|
|
Patch0: openbox-3.4.7.1-autostartdir.patch
|
|
|
|
Patch1: openbox-3.4.7.2-gdm.patch
|
|
|
|
Patch1: openbox-3.4.7.2-gdm.patch
|
|
|
|
Patch2: openbox-3.4.7.2-gnomesession.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: startup-notification-devel
|
|
|
|
BuildRequires: startup-notification-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
@ -68,7 +69,6 @@ The %{name}-libs package contains shared libraries used by %{name}.
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .autostartdir
|
|
|
|
%patch0 -p1 -b .autostartdir
|
|
|
|
%patch1 -p1 -b .gdm
|
|
|
|
%patch1 -p1 -b .gdm
|
|
|
|
%patch2 -p1 -b .gnomesession
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -90,9 +90,15 @@ install -p %{SOURCE2} %{buildroot}%{_datadir}/%{name}/xdg-menu
|
|
|
|
sed 's|_XDGMENU_|%{_datadir}/%{name}/xdg-menu|g' < %{SOURCE3} \
|
|
|
|
sed 's|_XDGMENU_|%{_datadir}/%{name}/xdg-menu|g' < %{SOURCE3} \
|
|
|
|
> %{buildroot}%{_sysconfdir}/xdg/%{name}/menu.xml
|
|
|
|
> %{buildroot}%{_sysconfdir}/xdg/%{name}/menu.xml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
desktop-file-install --vendor="" \
|
|
|
|
|
|
|
|
--dir=$RPM_BUILD_ROOT%{_datadir}/applications \
|
|
|
|
|
|
|
|
%{SOURCE4}
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_datadir}/xsessions/%{name}-gnome.desktop
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_bindir}/%{name}-gnome-session
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
@ -109,9 +115,8 @@ rm -rf %{buildroot}
|
|
|
|
%{_bindir}/gdm-control
|
|
|
|
%{_bindir}/gdm-control
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_bindir}/setlayout
|
|
|
|
%{_bindir}/setlayout
|
|
|
|
%dir %{_datadir}/openbox
|
|
|
|
%{_datadir}/applications/*%{name}.desktop
|
|
|
|
%{_datadir}/openbox/xdg-autostart
|
|
|
|
%{_datadir}/%{name}
|
|
|
|
%{_datadir}/openbox/xdg-menu
|
|
|
|
|
|
|
|
%{_datadir}/themes/*/
|
|
|
|
%{_datadir}/themes/*/
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/gnome/wm-properties/
|
|
|
|
%{_datadir}/gnome/wm-properties/
|
|
|
@ -136,6 +141,11 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Oct 02 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-6
|
|
|
|
|
|
|
|
- Drop gnome session script (gnome-session no longer supports $WINDOW_MANAGER)
|
|
|
|
|
|
|
|
- Add application desktop file to allow starting openbox in gnome-session
|
|
|
|
|
|
|
|
when configured in gconf
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 04 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-5
|
|
|
|
* Thu Sep 04 2008 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.7.2-5
|
|
|
|
- Don't use --choose-session option in gnome session script
|
|
|
|
- Don't use --choose-session option in gnome session script
|
|
|
|
|
|
|
|
|
|
|
|