openbox/openbox.spec
Silvan Calarco e4130e1c50 replace requirement for python-xdg0 with python-pyxdg-py3
apply patches [release 3.6.1-3mamba;Mon Apr 01 2024]
2024-04-01 20:26:23 +02:00

192 lines
7.4 KiB
RPMSpec

Name: openbox
Version: 3.6.1
Release: 3mamba
Summary: A highly configurable, next generation window manager with extensive standards support
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://openbox.org/wiki/Main_Page
Source: http://openbox.org/dist/openbox/openbox-%{version}.tar.gz
Patch0: openbox-3.5.0-title-matching.patch
Patch1: openbox-3.5.0-which-2.20.patch
Patch2: openbox-3.5.1-kde-paths.patch
Patch3: openbox-3.5.1-python3.patch
Patch4: openbox-3.5.1-debian.patch
Patch5: openbox-3.6.1-undecorated_maximized_no_border.patch
Patch6: openbox-3.6.1-glib-2.78.4.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXcursor-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXinerama-devel
BuildRequires: libXrandr-devel
BuildRequires: libXrender-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libimlib2-devel
BuildRequires: libpango-devel
BuildRequires: libpcre-devel
BuildRequires: librsvg-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: python-pyxdg-py3
Requires: python-pyxdg-py3
%description
Openbox is a highly configurable, next generation window manager with extensive standards support.
The *box visual style is well known for its minimalistic appearance. Openbox uses the *box visual style, while providing a greater number of options for theme developers than previous *box implementations. The theme documentation describes the full range of options found in Openbox themes.
Openbox lets you bring the latest applications outside of a full desktop environment. Most modern applications have been written with GNOME and KDE in mind. With support for the latest freedesktop.org standards, as well as careful adherence to previous standards, Openbox provides an environment where applications work the way they were designed to.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Openbox is a highly configurable, next generation window manager with extensive standards support.
The *box visual style is well known for its minimalistic appearance. Openbox uses the *box visual style, while providing a greater number of options for theme developers than previous *box implementations. The theme documentation describes the full range of options found in Openbox themes.
Openbox lets you bring the latest applications outside of a full desktop environment. Most modern applications have been written with GNOME and KDE in mind. With support for the latest freedesktop.org standards, as well as careful adherence to previous standards, Openbox provides an environment where applications work the way they were designed to.
This package contains static libraries and header files needed for development.
%package xsessions
Summary: X session files for %{name}
Group: System/X11
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description xsessions
Openbox is a highly configurable, next generation window manager with extensive standards support.
The *box visual style is well known for its minimalistic appearance. Openbox uses the *box visual style, while providing a greater number of options for theme developers than previous *box implementations. The theme documentation describes the full range of options found in Openbox themes.
Openbox lets you bring the latest applications outside of a full desktop environment. Most modern applications have been written with GNOME and KDE in mind. With support for the latest freedesktop.org standards, as well as careful adherence to previous standards, Openbox provides an environment where applications work the way they were designed to.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%patch 0 -p1
%patch 1 -p1
%patch 2 -p1
%patch 3 -p1
%patch 4 -p1
%patch 5 -p1 -b .undecorated_maximized_no_border
%patch 6 -p1 -b .glib-2.78.4
autoreconf -fi
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/openbox/*
%{_bindir}/gnome-panel-control
%{_bindir}/gdm-control
%{_bindir}/obxprop
%{_bindir}/openbox
%{_bindir}/openbox-gnome-session
%{_bindir}/openbox-kde-session
%{_bindir}/openbox-session
%{_libdir}/libobt.so.*
%{_libdir}/libobrender.so.*
%{_libexecdir}/openbox-autostart
%{_libexecdir}/openbox-xdg-autostart
%{_datadir}/applications/openbox.desktop
%{_datadir}/pixmaps/openbox.png
%{_datadir}/themes/Artwiz-boxed
%{_datadir}/themes/Bear2
%{_datadir}/themes/Clearlooks
%{_datadir}/themes/Clearlooks-Olive
%{_datadir}/themes/Clearlooks-3.4
%{_datadir}/themes/Mikachu
%{_datadir}/themes/Natura
%{_datadir}/themes/Onyx
%{_datadir}/themes/Onyx-Citrus
%{_datadir}/themes/Orang
%{_datadir}/themes/Syscrash
%{_docdir}/openbox
%{_mandir}/man1/openbox*.1*
%{_mandir}/man1/obxprop.1*
%doc AUTHORS COPYING
%files xsessions
%defattr(-,root,root)
%{_datadir}/gnome/wm-properties/openbox.desktop
%{_datadir}/gnome-session/sessions/openbox-gnome-fallback.session
%{_datadir}/gnome-session/sessions/openbox-gnome.session
%{_datadir}/xsessions/openbox-gnome.desktop
%{_datadir}/xsessions/openbox-kde.desktop
%{_datadir}/xsessions/openbox.desktop
%files devel
%defattr(-,root,root)
%dir %{_includedir}
%{_libdir}/libobt.a
%{_libdir}/libobt.so
%{_libdir}/libobrender.a
%{_libdir}/libobrender.so
%{_includedir}/openbox
%{_libdir}/pkgconfig/*.pc
%doc README
%changelog
* Mon Apr 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-3mamba
- replace requirement for python-xdg0 with python-pyxdg-py3
- apply patches
* Thu Oct 01 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-2mamba
- rebuilt
* Wed Jul 01 2015 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Mon Jun 01 2015 Automatic Build System <autodist@mambasoft.it> 3.6-1mamba
- automatic version update by autodist
* Fri Jul 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.5.2-2mamba
- added package openbox-xsessions
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 3.5.2-1mamba
- automatic version update by autodist
* Tue Aug 02 2011 Automatic Build System <autodist@mambasoft.it> 3.5.0-1mamba
- automatic update by autodist
* Sat May 15 2010 Automatic Build System <autodist@mambasoft.it> 3.4.11.2-1mamba
- automatic update to 3.4.11.2 by autodist
* Mon Mar 29 2010 Automatic Build System <autodist@mambasoft.it> 3.4.11.1-1mamba
- automatic update to 3.4.11.1 by autodist
* Sun Feb 14 2010 Automatic Build System <autodist@mambasoft.it> 3.4.11-1mamba
- automatic update to 3.4.11 by autodist
* Sat Jan 30 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.10-1mamba
- package created by autospec