|
|
@ -1,18 +1,12 @@
|
|
|
|
# According to the upstream version 3.3 changelog, libstartup-notification
|
|
|
|
|
|
|
|
# support doesn't work well and so is disabled by default in this release.
|
|
|
|
|
|
|
|
# Should we forcibly build startup-notification support? [Default: No]
|
|
|
|
|
|
|
|
%bcond_with startup_notification
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: openbox
|
|
|
|
Name: openbox
|
|
|
|
Version: 3.3.1
|
|
|
|
Version: 3.4.2
|
|
|
|
Release: 7%{?dist}
|
|
|
|
Release: 1%{?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
|
|
|
|
License: GPL
|
|
|
|
License: GPL
|
|
|
|
URL: http://icculus.org/openbox
|
|
|
|
URL: http://icculus.org/openbox
|
|
|
|
Source0: http://icculus.org/openbox/releases/%{name}-%{version}.tar.gz
|
|
|
|
Source0: http://icculus.org/openbox/releases/%{name}-%{version}.tar.gz
|
|
|
|
Source1: openbox.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
@ -21,14 +15,12 @@ Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: pango-devel
|
|
|
|
%if %{with startup_notification}
|
|
|
|
|
|
|
|
BuildRequires: startup-notification-devel
|
|
|
|
BuildRequires: startup-notification-devel
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
|
|
|
|
BuildRequires: libXcursor-devel
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libXt-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXrandr-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXinerama-devel
|
|
|
|
BuildRequires: libXxf86vm-devel
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Openbox is a window manager designed explicity for standards-compliance and
|
|
|
|
Openbox is a window manager designed explicity for standards-compliance and
|
|
|
@ -49,7 +41,7 @@ Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
# Needs these two for the various #include directives in its headers
|
|
|
|
Requires: pango-devel
|
|
|
|
Requires: libxml2-devel
|
|
|
|
Requires: libxml2-devel
|
|
|
|
Requires: glib2-devel
|
|
|
|
Requires: glib2-devel
|
|
|
|
|
|
|
|
|
|
|
@ -72,7 +64,6 @@ The %{name}-libs package contains shared libraries used by %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
%{?with_startup_notification: --enable-startup-notification} \
|
|
|
|
|
|
|
|
--disable-static
|
|
|
|
--disable-static
|
|
|
|
## Fix RPATH hardcoding.
|
|
|
|
## Fix RPATH hardcoding.
|
|
|
|
sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -ie 's|^hardcode_libdir_flag_spec=.*$|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
@ -84,7 +75,8 @@ make %{?_smp_mflags}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot}
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%clean
|
|
|
@ -94,23 +86,22 @@ rm -rf %{buildroot}
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc AUTHORS CHANGELOG COMPLIANCE COPYING README
|
|
|
|
%doc AUTHORS CHANGELOG COMPLIANCE COPYING README
|
|
|
|
%config(noreplace) /etc/xdg/%{name}/
|
|
|
|
%doc data/*.xsd doc/rc-mouse-focus.xml
|
|
|
|
|
|
|
|
%dir %{_sysconfdir}/xdg/%{name}/
|
|
|
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/xdg/%{name}/*
|
|
|
|
%{_bindir}/gnome-panel-control
|
|
|
|
%{_bindir}/gnome-panel-control
|
|
|
|
%{_bindir}/kdetrayproxy
|
|
|
|
%{_bindir}/%{name}*
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%{_datadir}/themes/*/
|
|
|
|
%{_datadir}/themes/*/
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
%{_datadir}/%{name}/
|
|
|
|
|
|
|
|
%{_datadir}/gnome/wm-properties/
|
|
|
|
%{_datadir}/gnome/wm-properties/
|
|
|
|
%{_datadir}/xsessions/%{name}.desktop
|
|
|
|
%{_datadir}/xsessions/%{name}*.desktop
|
|
|
|
%exclude %{_libdir}/*.la
|
|
|
|
%{_mandir}/man1/%{name}*.1*
|
|
|
|
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%files libs
|
|
|
|
%{_libdir}/libobrender.so.*
|
|
|
|
%{_libdir}/libobrender.so.*
|
|
|
|
%{_libdir}/libobparser.so.*
|
|
|
|
%{_libdir}/libobparser.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_includedir}/%{name}/
|
|
|
|
%{_libdir}/libobrender.so
|
|
|
|
%{_libdir}/libobrender.so
|
|
|
|
%{_libdir}/libobparser.so
|
|
|
|
%{_libdir}/libobparser.so
|
|
|
@ -124,6 +115,9 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Jun 13 2007 Miroslav Lichvar <mlichvar@redhat.com> - 3.4.2-1
|
|
|
|
|
|
|
|
- Update to 3.4.2
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jun 04 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-7
|
|
|
|
* Mon Jun 04 2007 Peter Gordon <peter@thecodergeek.com> - 3.3.1-7
|
|
|
|
- Own %%{_datadir}/gnome/wm-properties instead of depending on gnome-session
|
|
|
|
- Own %%{_datadir}/gnome/wm-properties instead of depending on gnome-session
|
|
|
|
in order to reduce dependency bloat. (Resolves bug 242339; thanks to Miroslav
|
|
|
|
in order to reduce dependency bloat. (Resolves bug 242339; thanks to Miroslav
|
|
|
|