ffcc911
%define _legacy_common_support 1
ffcc911
Oles Pidgornyy f11c8a5
Name:		bspwm
a53b119
Version:	0.9.9
9fee4c1
Release:	5%{?dist}
Oles Pidgornyy f11c8a5
Summary:	A tiling window manager based on binary space partitioning
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
License:	BSD
Oles Pidgornyy f11c8a5
URL:		https://github.com/baskerville/bspwm
Oles Pidgornyy 4e765bc
Source0:	%{url}/archive/%{version}.tar.gz
Oles Pidgornyy f11c8a5
a53b119
BuildRequires:	gcc
Oles Pidgornyy f11c8a5
BuildRequires:	xcb-util-devel
Oles Pidgornyy f11c8a5
BuildRequires:	xcb-util-wm-devel
Oles Pidgornyy 4e765bc
BuildRequires:	xcb-util-keysyms-devel
Oles Pidgornyy f11c8a5
BuildRequires:	desktop-file-utils
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%description
Oles Pidgornyy f11c8a5
bspwm is a tiling window manager that represents windows as the leaves of a
Oles Pidgornyy f11c8a5
full binary tree.
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
It only responds to X events, and the messages it receives on a dedicated
Oles Pidgornyy f11c8a5
socket.
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
bspc is a program that writes messages on bspwm's socket.
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
bspwm doesn't handle any keyboard or pointer inputs: a third party program
Oles Pidgornyy f11c8a5
(e.g. sxhkd) is needed in order to translate keyboard and pointer events to
Oles Pidgornyy f11c8a5
bspc invocations.
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%prep
Oles Pidgornyy f11c8a5
%setup -q
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%build
Oles Pidgornyy 4e765bc
make VERBOSE=1 %{?_smp_mflags} CFLAGS="%{optflags}" \
Oles Pidgornyy 4e765bc
	LDFLAGS="%{?__global_ldflags}"
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%install
Oles Pidgornyy f11c8a5
%make_install PREFIX="%{_prefix}"
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%check
Oles Pidgornyy f11c8a5
desktop-file-validate %{buildroot}/%{_datadir}/xsessions/%{name}.desktop
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%files
Oles Pidgornyy f11c8a5
%license LICENSE
Oles Pidgornyy f11c8a5
%{_bindir}/%{name}
Oles Pidgornyy f11c8a5
%{_bindir}/bspc
Oles Pidgornyy f11c8a5
%{_docdir}/%{name}
Oles Pidgornyy f11c8a5
%{_mandir}/man1/%{name}.1.gz
Oles Pidgornyy f11c8a5
%{_mandir}/man1/bspc.1.gz
Oles Pidgornyy f11c8a5
%{_datadir}/bash-completion/completions/bspc
Oles Pidgornyy f11c8a5
%{_datadir}/zsh/site-functions/_bspc
Oles Pidgornyy 4e765bc
%{_datadir}/fish/vendor_completions.d/bspc.fish
Oles Pidgornyy f11c8a5
%{_datadir}/xsessions/%{name}.desktop
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
%changelog
9fee4c1
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-5
9fee4c1
- Second attempt - Rebuilt for
9fee4c1
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9fee4c1
ffcc911
* Mon Jul 27 2020 Jeff Law <law@redhat.com> - 0.9.9-4
ffcc911
- Enable legacy common support
ffcc911
7756fcd
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-3
7756fcd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
7756fcd
c412d8c
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.9-2
c412d8c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c412d8c
a53b119
* Thu Sep 5 2019 Oles Pidgornyy <pidgornyy@informatik.uni-frankfurt.de> - 0.9.9-1
a53b119
- Update to 0.9.9
a53b119
018ee8d
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-7
018ee8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
018ee8d
d59bc9c
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-6
d59bc9c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
d59bc9c
cf31bc4
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-5
cf31bc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
cf31bc4
6a2d18e
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-4
6a2d18e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
6a2d18e
027afd0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-3
027afd0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
027afd0
af505b2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.2-2
af505b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
af505b2
Oles Pidgornyy 4e765bc
* Sun Jun 18 2017 Oles Pidgornyy <pidgornyy@informatik.uni-frankfurt.de> - 0.9.2-1
Oles Pidgornyy 4e765bc
- Update to 0.9.2
Oles Pidgornyy 4e765bc
3d7e569
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-2
3d7e569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3d7e569
Oles Pidgornyy f11c8a5
* Tue Mar 15 2016 Oles Pidgornyy <pidgornyy@informatik.uni-frankfurt.de> - 0.9.1-1
Oles Pidgornyy f11c8a5
- Update to 0.9.1
Oles Pidgornyy f11c8a5
- Fix compliance to freedesktop specifications
Oles Pidgornyy f11c8a5
Oles Pidgornyy f11c8a5
* Sat Mar 12 2016 Oles Pidgornyy <pidgornyy@informatik.uni-frankfurt.de> - 0.9-1
Oles Pidgornyy f11c8a5
- Initial release