bae53e3
Name:		openbox
836a0fc
Version:	3.3
5c763c9
Release:	3%{?dist}
bae53e3
Summary:	A highly configurable and standards-compliant X11 window manager
bae53e3
bae53e3
Group:		User Interface/Desktops
bae53e3
License:	GPL
bae53e3
URL:		http://icculus.org/openbox
836a0fc
Source0:	http://icculus.org/openbox/releases/%{name}-%{version}.tar.gz
bae53e3
Source1:	openbox.desktop
bae53e3
bae53e3
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
bae53e3
bae53e3
Requires:	%{_datadir}/themes
bae53e3
bae53e3
BuildRequires:	gettext
bae53e3
BuildRequires:	pango-devel
836a0fc
# According to the upstream version 3.3 changelog, libstartup-notification
836a0fc
# support doesn't work well and so is disabled by default in this release. 
836a0fc
# BuildRequires:	startup-notification-devel
bae53e3
BuildRequires:	libxml2-devel
bae53e3
BuildRequires:	libXt-devel
bae53e3
BuildRequires:	libXrandr-devel
bae53e3
BuildRequires:	libXinerama-devel
66896cb
BuildRequires:	libXxf86vm-devel
bae53e3
bae53e3
%description
bae53e3
Openbox is a window manager designed explicity for standards-compliance and
bae53e3
speed. It is fast, lightweight, and heavily configurable (using XML for its
bae53e3
configuration data). It has many features that make it unique among window
bae53e3
managers: window resistance, chainable key bindings, customizable mouse
bae53e3
actions, multi-head/Xinerama support, and dynamically generated "pipe menus."
bae53e3
bae53e3
For a full list of the FreeDesktop.org standards with which it is compliant,
bae53e3
please see the COMPLIANCE file in the included documentation of this package. 
bae53e3
For a graphical configuration editor, you'll need to install the obconf
e062f7c
package. For a graphical menu editor, you'll need to install the obmenu
bae53e3
package.
bae53e3
bae53e3
bae53e3
%package	devel
bae53e3
Summary:	Development files for %{name}
bae53e3
Group:		Development/Libraries
bae53e3
Requires:	%{name} = %{version}-%{release}
bae53e3
Requires:	pkgconfig
bae53e3
# Needs these two for the various #include directives in its headers
bae53e3
Requires:	libxml2-devel
bae53e3
Requires:	glib2-devel
bae53e3
bae53e3
%description	devel
bae53e3
The %{name}-devel package contains libraries and header files for
bae53e3
developing applications that use %{name}.
bae53e3
bae53e3
bae53e3
%prep
836a0fc
%setup -q
bae53e3
bae53e3
bae53e3
%build
bae53e3
%configure	--disable-static
bae53e3
make %{?_smp_mflags}
bae53e3
bae53e3
bae53e3
%install
bae53e3
rm -rf %{buildroot}
bae53e3
make install DESTDIR=%{buildroot}
bae53e3
%find_lang %{name}
bae53e3
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop 
bae53e3
bae53e3
bae53e3
%clean
bae53e3
rm -rf %{buildroot}
bae53e3
bae53e3
bae53e3
%files -f %{name}.lang
bae53e3
%defattr(-,root,root,-)
bae53e3
%doc AUTHORS CHANGELOG COMPLIANCE COPYING README
bae53e3
%config(noreplace)	/etc/xdg/%{name}/
bae53e3
%{_bindir}/gnome-panel-control
bae53e3
%{_bindir}/kdetrayproxy
bae53e3
%{_bindir}/%{name}
bae53e3
%{_datadir}/themes/*/
bae53e3
%{_datadir}/pixmaps/%{name}.png
bae53e3
%{_datadir}/%{name}/
bae53e3
%dir %{_datadir}/gnome/wm-properties
bae53e3
%{_datadir}/gnome/wm-properties/%{name}.desktop
bae53e3
%{_datadir}/xsessions/%{name}.desktop
bae53e3
%{_libdir}/libobrender.so.*
bae53e3
%{_libdir}/libobparser.so.*
bae53e3
%exclude	%{_libdir}/*.la
bae53e3
bae53e3
bae53e3
%files devel
bae53e3
%doc COPYING
bae53e3
%{_includedir}/%{name}/
bae53e3
%{_libdir}/libobrender.so
bae53e3
%{_libdir}/libobparser.so
bae53e3
%{_libdir}/pkgconfig/*.pc
bae53e3
bae53e3
bae53e3
%post -p /sbin/ldconfig
bae53e3
bae53e3
bae53e3
%postun	-p /sbin/ldconfig
bae53e3
bae53e3
bae53e3
%changelog
5c763c9
* Sun Aug 27 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-3
5c763c9
- Mass FC6 rebuild
5c763c9
a0a9447
* Sat Aug 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-2
a0a9447
- Bump release to fix sources tagging issue
a0a9447
836a0fc
* Sat Aug 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-1
836a0fc
- Update to 3.3 final release from upstream
836a0fc
- Remove the slew of versioning macros, as it's overkill for this and just adds
836a0fc
  unneeded complexity to the spec.
836a0fc
66896cb
* Wed Jun 28 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.8.rc2.1
66896cb
- Add missing BuildRequires: libXxf86vm-devel
66896cb
c000a76
* Wed Jun 28 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.8.rc2
c000a76
- Unconditionalize the BuildRequires for modular X.org, since it's branched
c000a76
  for a specific Fedora release. 
c000a76
bae53e3
* Mon Jun 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.7.rc2
bae53e3
- Own the %%{_datadir}/gnome/wm-properties directory (#195292)
bae53e3
bae53e3
* Fri Jun 23 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.6.rc2
bae53e3
- Add %%{_datadir}/themes to Requires (#195292)
bae53e3
bae53e3
* Tue Jun 20 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.5.rc2
bae53e3
- Own all created theme directories (#195292)
bae53e3
- Fix previous review bug IDs in this %%changelog to point to the recreated
bae53e3
  review bug (due to recent bugzilla outage) 
bae53e3
bae53e3
* Sun Jun 18 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.4.rc2
bae53e3
- Don't default to an executable xsession script (#195292)
bae53e3
bae53e3
* Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.3.rc2 
bae53e3
- Fix versioning to conform to the Extras packaging guidelines
bae53e3
bae53e3
* Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.2 
bae53e3
- Add %%{_datadir}/xsessions .desktop file for easy selection of Openbox at
bae53e3
  login screen (#195292)
bae53e3
bae53e3
* Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.1 
bae53e3
- Unorphan, rewriting nearly all of the spec file
bae53e3
- Update to upstream 3.3 RC2
bae53e3
bae53e3
* Sun Jul 27 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.5
bae53e3
- Need to own /etc/X11/gdm/Sessions && /etc/X11/gdm (#440)
bae53e3
- Need to conflict with fluxbox (#422 / #440)
bae53e3
bae53e3
* Tue Jul 22 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.4
bae53e3
- Need to own /usr/share/apps/switchdesk (#422)
bae53e3
bae53e3
* Mon Jul 21 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.3
bae53e3
- More spec revisions (#422); change make and preserve timestamps
bae53e3
bae53e3
* Sun Jul 20 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.2
bae53e3
- Minor spec revisions (#422); add epoch and versions to changelogs
bae53e3
bae53e3
* Sun Jul 06 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.1
bae53e3
- Add switchdesk support
bae53e3
- Add display manager support
bae53e3
- Fix NLS build on Cambridge
bae53e3
- Fedora'ize the spec
bae53e3
bae53e3
* Sun Jun 29 2003 Chris Ricker <kaboom@gatech.edu>
bae53e3
- Rev to 2.3.1 release
bae53e3
- Make go with GCC 3.3
bae53e3
bae53e3
* Tue Mar 18 2003 Chris Ricker <kaboom@gatech.edu>
a0a9447
- Package of 2.3.0 release