1 Summary: A window switcher, application launcher and dmenu replacement
6 Group: X11/Applications
7 Source0: https://github.com/davatorium/rofi/releases/download/%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: b79c0875644deded3404135504b2e658
9 URL: https://github.com/davatorium/rofi
11 BuildRequires: cairo-devel
13 BuildRequires: flex >= 2.5.39
14 BuildRequires: glib2-devel >= 1:2.40
15 BuildRequires: librsvg-devel
16 BuildRequires: libxcb-devel
17 BuildRequires: pango-devel
18 BuildRequires: pkgconfig
19 BuildRequires: startup-notification-devel
20 BuildRequires: xcb-util-devel
21 BuildRequires: xcb-util-wm-devel
22 BuildRequires: xcb-util-xrm-devel
23 BuildRequires: xorg-lib-libxkbcommon-devel
24 BuildRequires: xorg-lib-libxkbcommon-x11-devel
25 Requires: glib2 >= 1:2.40
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Rofi is a dmenu replacement. Rofi, like dmenu, will provide the user
30 with a textual list of options where one or more can be selected. This
31 can either be, running an application, selecting a window or options
32 provided by an external script.
35 Summary: Header files for rofi
36 Group: Development/Libraries
39 Header files for rofi.
44 %{__sed} -i -e '1s,/usr/bin/env bash,/bin/bash,' script/rofi-{sensible-terminal,theme-selector}
48 --disable-silent-rules
53 rm -rf $RPM_BUILD_ROOT
56 DESTDIR=$RPM_BUILD_ROOT
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc AUTHORS Changelog README.md
64 %attr(755,root,root) %{_bindir}/rofi
65 %attr(755,root,root) %{_bindir}/rofi-sensible-terminal
66 %attr(755,root,root) %{_bindir}/rofi-theme-selector
68 %{_mandir}/man1/rofi.1*
69 %{_mandir}/man1/rofi-sensible-terminal.1*
70 %{_mandir}/man1/rofi-theme-selector.1*
71 %{_mandir}/man5/rofi-theme.5*
74 %defattr(644,root,root,755)
76 %{_pkgconfigdir}/rofi.pc