You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
165 lines
4.9 KiB
165 lines
4.9 KiB
19 years ago
|
%define ob_version 3.3
|
||
|
%define ob_pre_tag rc2
|
||
|
%define pkg_release 7
|
||
|
%define ob_tarball_version %{ob_version}%{?ob_pre_tag:-%{ob_pre_tag}}
|
||
|
|
||
|
Name: openbox
|
||
|
Version: %{ob_version}
|
||
|
Release: %{?ob_pre_tag:0.}%{pkg_release}%{?ob_pre_tag:.%{ob_pre_tag}}%{?dist}
|
||
|
Summary: A highly configurable and standards-compliant X11 window manager
|
||
|
|
||
|
Group: User Interface/Desktops
|
||
|
License: GPL
|
||
|
URL: http://icculus.org/openbox
|
||
|
Source0: http://icculus.org/openbox/releases/%{name}-%{ob_tarball_version}.tar.gz
|
||
|
Source1: openbox.desktop
|
||
|
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||
|
|
||
|
Requires: %{_datadir}/themes
|
||
|
|
||
|
BuildRequires: gettext
|
||
|
BuildRequires: pango-devel
|
||
|
BuildRequires: startup-notification-devel
|
||
|
BuildRequires: libxml2-devel
|
||
|
|
||
|
# Default to modular X.org if on FC5 or higher...
|
||
|
%if "%{?fedora}" >= "5"
|
||
|
BuildRequires: libXt-devel
|
||
|
BuildRequires: libXrandr-devel
|
||
|
BuildRequires: libXinerama-devel
|
||
|
# ...and monolithic X.org otherwise.
|
||
|
%else
|
||
|
BuildRequires: xorg-x11-devel
|
||
|
%endif
|
||
|
|
||
|
%description
|
||
|
Openbox is a window manager designed explicity for standards-compliance and
|
||
|
speed. It is fast, lightweight, and heavily configurable (using XML for its
|
||
|
configuration data). It has many features that make it unique among window
|
||
|
managers: window resistance, chainable key bindings, customizable mouse
|
||
|
actions, multi-head/Xinerama support, and dynamically generated "pipe menus."
|
||
|
|
||
|
For a full list of the FreeDesktop.org standards with which it is compliant,
|
||
|
please see the COMPLIANCE file in the included documentation of this package.
|
||
|
For a graphical configuration editor, you'll need to install the obconf
|
||
|
package.
|
||
|
|
||
|
|
||
|
%package devel
|
||
|
Summary: Development files for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{version}-%{release}
|
||
|
Requires: pkgconfig
|
||
|
# Needs these two for the various #include directives in its headers
|
||
|
Requires: libxml2-devel
|
||
|
Requires: glib2-devel
|
||
|
|
||
|
%description devel
|
||
|
The %{name}-devel package contains libraries and header files for
|
||
|
developing applications that use %{name}.
|
||
|
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n "%{name}-%{ob_tarball_version}"
|
||
|
|
||
|
|
||
|
%build
|
||
|
%configure --disable-static
|
||
|
make %{?_smp_mflags}
|
||
|
|
||
|
|
||
|
%install
|
||
|
rm -rf %{buildroot}
|
||
|
make install DESTDIR=%{buildroot}
|
||
|
%find_lang %{name}
|
||
|
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/xsessions/%{name}.desktop
|
||
|
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
|
||
|
%files -f %{name}.lang
|
||
|
%defattr(-,root,root,-)
|
||
|
%doc AUTHORS CHANGELOG COMPLIANCE COPYING README
|
||
|
%config(noreplace) /etc/xdg/%{name}/
|
||
|
%{_bindir}/gnome-panel-control
|
||
|
%{_bindir}/kdetrayproxy
|
||
|
%{_bindir}/%{name}
|
||
|
%{_datadir}/themes/*/
|
||
|
%{_datadir}/pixmaps/%{name}.png
|
||
|
%{_datadir}/%{name}/
|
||
|
%dir %{_datadir}/gnome/wm-properties
|
||
|
%{_datadir}/gnome/wm-properties/%{name}.desktop
|
||
|
%{_datadir}/xsessions/%{name}.desktop
|
||
|
%{_libdir}/libobrender.so.*
|
||
|
%{_libdir}/libobparser.so.*
|
||
|
%exclude %{_libdir}/*.la
|
||
|
|
||
|
|
||
|
%files devel
|
||
|
%doc COPYING
|
||
|
%{_includedir}/%{name}/
|
||
|
%{_libdir}/libobrender.so
|
||
|
%{_libdir}/libobparser.so
|
||
|
%{_libdir}/pkgconfig/*.pc
|
||
|
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
|
||
|
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
|
||
|
%changelog
|
||
|
* Mon Jun 26 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.7.rc2
|
||
|
- Own the %%{_datadir}/gnome/wm-properties directory (#195292)
|
||
|
|
||
|
* Fri Jun 23 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.6.rc2
|
||
|
- Add %%{_datadir}/themes to Requires (#195292)
|
||
|
|
||
|
* Tue Jun 20 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.5.rc2
|
||
|
- Own all created theme directories (#195292)
|
||
|
- Fix previous review bug IDs in this %%changelog to point to the recreated
|
||
|
review bug (due to recent bugzilla outage)
|
||
|
|
||
|
* Sun Jun 18 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.4.rc2
|
||
|
- Don't default to an executable xsession script (#195292)
|
||
|
|
||
|
* Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.3.rc2
|
||
|
- Fix versioning to conform to the Extras packaging guidelines
|
||
|
|
||
|
* Mon Jun 12 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.2
|
||
|
- Add %%{_datadir}/xsessions .desktop file for easy selection of Openbox at
|
||
|
login screen (#195292)
|
||
|
|
||
|
* Fri Jun 09 2006 Peter Gordon <peter@thecodergeek.com> - 3.3-0.rc2.1
|
||
|
- Unorphan, rewriting nearly all of the spec file
|
||
|
- Update to upstream 3.3 RC2
|
||
|
|
||
|
* Sun Jul 27 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.5
|
||
|
- Need to own /etc/X11/gdm/Sessions && /etc/X11/gdm (#440)
|
||
|
- Need to conflict with fluxbox (#422 / #440)
|
||
|
|
||
|
* Tue Jul 22 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.4
|
||
|
- Need to own /usr/share/apps/switchdesk (#422)
|
||
|
|
||
|
* Mon Jul 21 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.3
|
||
|
- More spec revisions (#422); change make and preserve timestamps
|
||
|
|
||
|
* Sun Jul 20 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.2
|
||
|
- Minor spec revisions (#422); add epoch and versions to changelogs
|
||
|
|
||
|
* Sun Jul 06 2003 Chris Ricker <kaboom@gatech.edu> 0:2.3.1-0.fdr.1
|
||
|
- Add switchdesk support
|
||
|
- Add display manager support
|
||
|
- Fix NLS build on Cambridge
|
||
|
- Fedora'ize the spec
|
||
|
|
||
|
* Sun Jun 29 2003 Chris Ricker <kaboom@gatech.edu>
|
||
|
- Rev to 2.3.1 release
|
||
|
- Make go with GCC 3.3
|
||
|
|
||
|
* Tue Mar 18 2003 Chris Ricker <kaboom@gatech.edu>
|
||
|
- Package of 2.3.0 release
|