diff --git a/.gitignore b/.gitignore index e69de29..8f68e6a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/0.9.1.tar.gz diff --git a/bspwm.spec b/bspwm.spec new file mode 100644 index 0000000..b54e3b9 --- /dev/null +++ b/bspwm.spec @@ -0,0 +1,65 @@ +Name: bspwm +Version: 0.9.1 +Release: 1%{?dist} +Summary: A tiling window manager based on binary space partitioning +Group: User Interface/Desktops + +License: BSD +URL: https://github.com/baskerville/bspwm +Source0: https://github.com/baskerville/bspwm/archive/%{version}.tar.gz + +BuildRequires: libxcb-devel +BuildRequires: xcb-util-devel +BuildRequires: xcb-util-wm-devel +BuildRequires: desktop-file-utils + + +%description +bspwm is a tiling window manager that represents windows as the leaves of a +full binary tree. + +It only responds to X events, and the messages it receives on a dedicated +socket. + +bspc is a program that writes messages on bspwm's socket. + +bspwm doesn't handle any keyboard or pointer inputs: a third party program +(e.g. sxhkd) is needed in order to translate keyboard and pointer events to +bspc invocations. + + +%prep +%setup -q + + +%build +make VERBOSE=1 %{?_smp_mflags} CFLAGS="%{optflags}" + + +%install +%make_install PREFIX="%{_prefix}" + + +%check +desktop-file-validate %{buildroot}/%{_datadir}/xsessions/%{name}.desktop + + +%files +%license LICENSE +%{_bindir}/%{name} +%{_bindir}/bspc +%{_docdir}/%{name} +%{_mandir}/man1/%{name}.1.gz +%{_mandir}/man1/bspc.1.gz +%{_datadir}/bash-completion/completions/bspc +%{_datadir}/zsh/site-functions/_bspc +%{_datadir}/xsessions/%{name}.desktop + + +%changelog +* Tue Mar 15 2016 Oles Pidgornyy - 0.9.1-1 +- Update to 0.9.1 +- Fix compliance to freedesktop specifications + +* Sat Mar 12 2016 Oles Pidgornyy - 0.9-1 +- Initial release diff --git a/sources b/sources index e69de29..8c61551 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +716849914454dffdf92f56c9f25892ea 0.9.1.tar.gz